Skip to content

Commit

Permalink
Try to fix the popup background and its content opened state.
Browse files Browse the repository at this point in the history
Update static.yml and docusaurus.config.ts files.
  • Loading branch information
HaudinFlorence committed Aug 29, 2024
1 parent e236361 commit 1344580
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 96 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/get_infos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Retrieve_Branch_Name
on: push
- branches: "*"

jobs:
retrieve-branch:
runs-on: ubuntu-latest
- name: Checkout Repository
- uses: actions/checkout@v2

- name: Display Branch Name
- run: echo "Current Branch: ${{github.ref}} "

6 changes: 3 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
branches: "open_the_popup_portrait_on_a_specific_page"
pull_request:
branches:
- '*'
- "open_the_popup_portrait_on_a_specific_page"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages

Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:

deploy:
needs: build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/open_the_popup_portrait_on_a_specific_page'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
100 changes: 7 additions & 93 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const config: Config = {
url: "https://quantstack.net/",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/",
baseUrl: "/quantstack.github.io/",

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: "/QuantStack/", // Usually your GitHub org/user name.
organizationName: "/HaudinFlorence/", // Usually your GitHub org/user name.
projectName: "quantstack.github.io", // Usually your repo name.

onBrokenLinks: "throw",
Expand Down Expand Up @@ -64,7 +64,7 @@ const config: Config = {
title: "",
logo: {
alt: "QuantStack Logo",
src: "img/quantstack/logo-website.svg"
src: "img/quantstack/logo-website.svg",
},

items: [
Expand Down Expand Up @@ -131,96 +131,10 @@ const config: Config = {
],
},

footer: {
links: [
{
title: " ",
items: [
{
label: " ",
className: "astronaut-footer",
href: "/home",
},
],
},

{
title: "Follow QuantStack on",
items: [
{
label: "GitHub",
className: "github-icon",
href: "https://github.com/QuantStack",
},
{
label: "LinkedIn",
className: "linkedin-icon",
href: "https://www.linkedin.com/company/quantstack/mycompany/",
},
{
label: "X",
className: "x-icon",
href: "https://twitter.com/QuantStack",
},
],
},
{
title: "Menu ",
items: [
{
label: "Home",
href: "/home/",
},
{
label: "Projects",
href: "/projects/",
},
{
label: "Services",
href: "/services/",
},
{
label: "About",
href: "/about/",
},
{
label: "Careers",
href: "/careers/",
},
{
label: "Blog",
href: "/blog/",
},
],
},


{
title: "QuantStack office ",
items: [
{
html: `
<div class="div .address">
16, avenue Curti <br/>
94100 Saint-Maur-des-Fossés <br/>
France
</div>
`,
},
],
},
],

copyright: copyright,
},

colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false,

colorMode: {
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: false,
},

prism: {
Expand Down
1 change: 1 addition & 0 deletions src/components/about/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ div .join_the_team_text {
.large_portrait_card {
width: 1000px;
padding: var(--ifm-spacing-xl) var(--ifm-spacing-2xl);
background-color: orange;
}

.subteam_container {
Expand Down

0 comments on commit 1344580

Please sign in to comment.