diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 5e84a6a94..99d965cea 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -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: [
@@ -131,97 +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: `
-
-
- 16, avenue Curti
- 94100 Saint-Maur-des-Fossés
- France
-
-
- `,
- },
- ],
- },
- ],
-
- copyright: copyright,
- },
-
-
- colorMode: {
- defaultMode: 'light',
- disableSwitch: true,
- respectPrefersColorScheme: false,
-
+ colorMode: {
+ defaultMode: "light",
+ disableSwitch: true,
+ respectPrefersColorScheme: false,
},
prism: {
diff --git a/src/components/footer/Footer.tsx b/src/components/footer/Footer.tsx
new file mode 100644
index 000000000..9d6cfe25d
--- /dev/null
+++ b/src/components/footer/Footer.tsx
@@ -0,0 +1,106 @@
+import Link from "@docusaurus/Link";
+import styles from "./styles.module.css";
+import GHPicture from "@site/static/img/socialmedias/GH.svg";
+import LinkedInPicture from "@site/static/img/socialmedias/LinkedIn.svg";
+import XPicture from "@site/static/img/socialmedias/X.svg";
+
+export function SocialMediasQuantStack() {
+ return (
+
+
Follow us on
+
+ {}
+
+ {}
+
+ {}
+
+
+ );
+}
+
+export default function Footer() {
+ return (
+
+
+
+
+
+
+
+
+ Menu
+
+
+
+
+ -
+ Home
+
+
+ -
+ Projects
+
+ -
+ About us
+
+
+
+
+
+ -
+ Services
+
+ -
+ Careers
+
+ -
+ Blog
+
+
+
+
+
+
+
+
+
+
+ QuantStack office
+ 16, avenue Curti
+ 94100 Saint-Maur-des-Fossés
+ France
+
+
+
+
+
+
+
+
+
+ QuantStack office
+ 16, avenue Curti
+ 94100 Saint-Maur-des-Fossés
+ France
+
+
+
+
+
+
+
+ Copyright © 2024 · QuantStack website · Built with Docusaurus
+
+
+
+ );
+}
diff --git a/src/components/footer/styles.module.css b/src/components/footer/styles.module.css
new file mode 100644
index 000000000..6b0cc7760
--- /dev/null
+++ b/src/components/footer/styles.module.css
@@ -0,0 +1,36 @@
+.footer_container {
+ background-color: var(--ifm-color-primary-p1);
+ padding: var(--ifm-spacing-xl) var(--ifm-spacing-2xl) 0 var(--ifm-spacing-2xl);
+}
+
+.copyright_container {
+ text-align: center;
+ padding-bottom: var(--ifm-spacing-lg);
+}
+
+@media only screen and (max-width: 996px) {
+ /*Mobile*/
+ .menu_container {
+ display: none;
+ }
+
+ .col_social_media_desktop {
+ display: none;
+ }
+
+ .col_address_desktop {
+ display: none;
+ }
+}
+
+@media only screen and (min-width: 996px) {
+ /*Desktop*/
+
+ .col_social_media_mobile {
+ display: none;
+ }
+
+ .col_social_media_and_address_mobile {
+ display: none;
+ }
+}
diff --git a/src/components/home/styles.module.css b/src/components/home/styles.module.css
index dd56629a1..0021a9d68 100644
--- a/src/components/home/styles.module.css
+++ b/src/components/home/styles.module.css
@@ -1,3 +1,4 @@
+
@media only screen and (max-width: 996px) {
/*Mobile*/
.link_to {
diff --git a/src/css/custom.css b/src/css/custom.css
index 600c375fe..5eeaa778b 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -69,6 +69,11 @@
justify-content: center;
}
+.flex-horizontally-centered {
+ display: flex;
+ justify-content: center;
+}
+
.horizontally-centered {
justify-content: center;
}
@@ -95,10 +100,6 @@ ul {
}
/***footer*****/
-.address {
- color: var(--ifm-text-color-footer);
-}
-
.footer__item {
color: var(--ifm-text-color-footer);
}
@@ -148,10 +149,8 @@ ul {
.footer-astronaut {
display: flex;
- text-align: left;
- margin-right: var(--ifm-spacing-lg);
- width: 200px;
- height: 200px;
+ width: 35px;
+ height: 35px;
padding: 10px;
}
diff --git a/src/pages/about.tsx b/src/pages/about.tsx
index 95998afb9..aa64f34a8 100644
--- a/src/pages/about.tsx
+++ b/src/pages/about.tsx
@@ -2,12 +2,14 @@ import Layout from "@theme/Layout";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import {About} from "../components/about";
import BrowserOnly from "@docusaurus/BrowserOnly";
+import Footer from "../components/footer/Footer";
export default function AboutPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
{() => }
+
);
}
diff --git a/src/pages/blog.tsx b/src/pages/blog.tsx
index 8073ed3a7..78d9761e6 100644
--- a/src/pages/blog.tsx
+++ b/src/pages/blog.tsx
@@ -2,6 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import BlogsComponent from "../components/blog";
import blogpostDetails from "@site/src/components/blog/blogpostsDetails.json";
+import Footer from "../components/footer/Footer";
export default function BlogPage(): JSX.Element {
@@ -9,6 +10,7 @@ export default function BlogPage(): JSX.Element {
return (
+
);
}
diff --git a/src/pages/careers.tsx b/src/pages/careers.tsx
index 62d03475d..2075918ae 100644
--- a/src/pages/careers.tsx
+++ b/src/pages/careers.tsx
@@ -1,6 +1,7 @@
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import Careers from '../components/careers';
+import Footer from "../components/footer/Footer";
export default function CareersPage(): JSX.Element {
@@ -8,6 +9,7 @@ export default function CareersPage(): JSX.Element {
return (
+
);
}
diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx
index b39ec6d9a..1fd3daf8d 100644
--- a/src/pages/contact.tsx
+++ b/src/pages/contact.tsx
@@ -2,12 +2,14 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Contact from "@site/src/components/contact";
import BrowserOnly from "@docusaurus/BrowserOnly";
+import Footer from "../components/footer/Footer";
export default function ContactPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
{() => }
+
);
}
diff --git a/src/pages/home.tsx b/src/pages/home.tsx
index bb006d7da..11a7a04c0 100644
--- a/src/pages/home.tsx
+++ b/src/pages/home.tsx
@@ -2,6 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Home from "../components/home/Home";
import BrowserOnly from "@docusaurus/BrowserOnly";
+import Footer from "../components/footer/Footer";
export default function HomePage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
@@ -9,6 +10,7 @@ export default function HomePage(): JSX.Element {
{() => }
+
);
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 3ac761a41..338a6dde5 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -2,12 +2,15 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Home from "../components/home/Home";
import BrowserOnly from "@docusaurus/BrowserOnly";
+import Footer from "../components/footer/Footer";
export default function QSWebsite(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
{() => }
+
);
}
+
diff --git a/src/pages/projects.tsx b/src/pages/projects.tsx
index 70d22f69f..b2e625c9d 100644
--- a/src/pages/projects.tsx
+++ b/src/pages/projects.tsx
@@ -2,14 +2,14 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Projects from "@site/src/components/projects";
import BrowserOnly from "@docusaurus/BrowserOnly";
+import Footer from "../components/footer/Footer";
export default function ProjectsPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
-
- {() => }
-
+ {() => }
+
);
}
diff --git a/src/pages/services.tsx b/src/pages/services.tsx
index b331a686c..d3e5bdc81 100644
--- a/src/pages/services.tsx
+++ b/src/pages/services.tsx
@@ -2,6 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Services from "../components/services";
import BrowserOnly from "@docusaurus/BrowserOnly";
+import Footer from "../components/footer/Footer";
export default function ServicesPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
@@ -10,6 +11,7 @@ export default function ServicesPage(): JSX.Element {
{() => }
+
);
}