File tree Expand file tree Collapse file tree 4 files changed +78
-0
lines changed Expand file tree Collapse file tree 4 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 11import styles from "./styles.module.css" ;
22import SimpleSlider from "./LogosTableBy8" ;
33import Astronaut from "/img/quantstack/astronaut.svg" ;
4+ import CiteDesSciencesUrl from "@site/static/img/quantstack/geode-cropped.png" ;
5+
6+ export function PydataParis ( ) {
7+ return (
8+ < div className = { styles . pydata_banner } >
9+ < img
10+ className = { styles . pydata_image }
11+ src = { CiteDesSciencesUrl }
12+ alt = { "Banner to promote Pydata Paris." }
13+ width = { "100%" }
14+ />
15+ < p className = { styles . pydata_header } > Join QuantStack at PyData Paris</ p >
16+ < p className = { styles . pydata_informations } >
17+ September 25-26 2024
18+ < br />
19+ Cité des Sciences, Paris, France
20+ < br />
21+ < a > https://pydata.org/paris2024</ a >
22+ </ p >
23+ </ div >
24+ ) ;
25+ }
426
527export function Hero ( ) {
628 return (
729 < div className = { styles . hero_container } >
30+ < PydataParis />
831 < div className = "main-container-with-margins" >
932 < div className = "container upper-container-with-margin-top" >
1033 < div className = { "row row--no-gutters flex-full-centered" } >
Original file line number Diff line number Diff line change 1+ .pydata_image {
2+ height : 100% ;
3+ filter : grayscale (0.8 );
4+ }
5+
6+ .pydata_banner {
7+ position : relative;
8+ }
9+
110@media only screen and (max-width : 996px ) {
211 /*Mobile*/
312 .logos_carousel {
413 display : none;
514 }
15+
16+ .pydata_header {
17+ position : absolute;
18+ top : 20% ;
19+ left : 17% ;
20+ color : var (--ifm-color-primary-p1 );
21+ font-size : 16px ;
22+ }
23+
24+ .pydata_informations {
25+ text-align : center;
26+ position : absolute;
27+ top : 40% ;
28+ left : 25% ;
29+ color : white;
30+ font-size : 12px ;
31+ }
32+
33+ a {
34+ color : var (--ifm-color-primary-p1 );
35+ }
636}
37+
738.hero_container {
839 background-color : var (--ifm-color-primary-p0 );
940 padding-bottom : var (--ifm-spacing-3xl );
3465.sub_header {
3566 text-align : left;
3667}
68+
69+ @media only screen and (min-width : 996px ) {
70+ /*Desktop*/
71+ .pydata_header {
72+ position : absolute;
73+ top : 18% ;
74+ left : 37% ;
75+ color : var (--ifm-color-primary-p1 );
76+ font-size : 32px ;
77+ }
78+
79+ .pydata_informations {
80+ text-align : center;
81+ position : absolute;
82+ top : 40% ;
83+ left : 40% ;
84+ color : white;
85+ font-size : 24px ;
86+ }
87+
88+ a {
89+ color : var (--ifm-color-primary-p1 );
90+ }
91+ }
You can’t perform that action at this time.
0 commit comments