diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 918ae9e8c..5e84a6a94 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -215,6 +215,7 @@ const config: Config = { copyright: copyright, }, + colorMode: { defaultMode: 'light', diff --git a/src/components/home/Hero/index.tsx b/src/components/home/Hero/index.tsx index 6cfe5c83f..a924a76c7 100644 --- a/src/components/home/Hero/index.tsx +++ b/src/components/home/Hero/index.tsx @@ -1,10 +1,49 @@ import styles from "./styles.module.css"; import SimpleSlider from "./LogosTableBy8"; import Astronaut from "/img/quantstack/astronaut.svg"; +import CiteDesSciencesUrl from "@site/static/img/quantstack/geode-cropped-with-white-rectangle.png"; +import LogoPyDataParisUrl from "@site/static/img/quantstack/PyData_logo.png"; +import Link from "@docusaurus/Link"; + +export function PydataParis() { + return ( +
+ + {"Banner + + +

+ Join QuantStack at PyData Paris +

+ + +
+ {"Logo +
+ +

+ September 25-26 2024 +
+ Cité des Sciences, Paris, France +
+

+
+ ); +} export function Hero() { return (
+
diff --git a/src/components/home/Hero/styles.module.css b/src/components/home/Hero/styles.module.css index 7ddf32839..b0f4a97a8 100644 --- a/src/components/home/Hero/styles.module.css +++ b/src/components/home/Hero/styles.module.css @@ -1,9 +1,85 @@ -@media only screen and (max-width: 996px) { +.pydata_image { + filter: grayscale(0.8); + width: 100%; + height: auto; + display: block; + opacity: calc(0.4); +} + +.pydata_banner { + background-color: white; + position: relative; +} + +@media only screen and (max-width: 530px) { + /*Small mobile screens*/ + .logos_carousel { + display: none; + } + + .pydata_header { + color: var(--ifm-color-primary-p2); + font-family: var(--ifm-font-family-bebas-neue); + font-size: var(--ifm-font-size-normal); + font-weight: 600; + position: absolute; + top: 10%; + left: 5%; + text-align: start; + } + + .pydata_logo { + position: absolute; + top: 32%; + left: 5%; + width: 10% + } + + .pydata_informations { + color: grey; + font-size: 12px; + font-weight: 600; + position: absolute; + top: 53%; + left: 5%; + text-align: start; + } +} + +@media only screen and (min-width: 530px) and (max-width: 996px) { /*Mobile*/ .logos_carousel { display: none; } + + .pydata_header { + color: var(--ifm-color-primary-p2); + font-family: var(--ifm-font-family-bebas-neue); + font-size: var(--ifm-font-size-secondary-title); + font-weight: 600; + position: absolute; + top: 10%; + left: 10%; + } + + .pydata_logo { + position: absolute; + top: 28%; + left: 10%; + width: 12% + } + + .pydata_informations { + color: grey; + font-size: var(--ifm-font-size-small); + font-weight: 600; + position: absolute; + top: 55%; + left: 10%; + text-align: start; + } } + .hero_container { background-color: var(--ifm-color-primary-p0); padding-bottom: var(--ifm-spacing-3xl); @@ -34,3 +110,34 @@ .sub_header { text-align: left; } + +@media only screen and (min-width: 996px) { + /*Desktop*/ + .pydata_header { + color: var(--ifm-color-primary-p2); + font-family: var(--ifm-font-family-bebas-neue); + font-size: var(--ifm-font-size-main-title); + font-weight: 600; + position: absolute; + top: 10%; + left: 10%; + text-align: start; + } + + .pydata_logo { + position: absolute; + top: 35%; + left: 10%; + width: 12% + } + + .pydata_informations { + color: grey; + font-size: var(--ifm-font-size-medium); + font-weight: 600; + position: absolute; + top: 60%; + left: 10%; + text-align: start; + } +} diff --git a/static/img/quantstack/PyData_logo.png b/static/img/quantstack/PyData_logo.png new file mode 100644 index 000000000..231d6f59a Binary files /dev/null and b/static/img/quantstack/PyData_logo.png differ diff --git a/static/img/quantstack/geode-cropped-with-white-rectangle.png b/static/img/quantstack/geode-cropped-with-white-rectangle.png new file mode 100644 index 000000000..9e78924db Binary files /dev/null and b/static/img/quantstack/geode-cropped-with-white-rectangle.png differ diff --git a/static/img/quantstack/geode-cropped.png b/static/img/quantstack/geode-cropped.png new file mode 100644 index 000000000..46001dc98 Binary files /dev/null and b/static/img/quantstack/geode-cropped.png differ diff --git a/static/img/quantstack/geode.png b/static/img/quantstack/geode.png new file mode 100644 index 000000000..c7d39ab84 Binary files /dev/null and b/static/img/quantstack/geode.png differ