File tree 4 files changed +78
-0
lines changed 4 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1
1
import styles from "./styles.module.css" ;
2
2
import SimpleSlider from "./LogosTableBy8" ;
3
3
import 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
+ }
4
26
5
27
export function Hero ( ) {
6
28
return (
7
29
< div className = { styles . hero_container } >
30
+ < PydataParis />
8
31
< div className = "main-container-with-margins" >
9
32
< div className = "container upper-container-with-margin-top" >
10
33
< 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
+
1
10
@media only screen and (max-width : 996px ) {
2
11
/*Mobile*/
3
12
.logos_carousel {
4
13
display : none;
5
14
}
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
+ }
6
36
}
37
+
7
38
.hero_container {
8
39
background-color : var (--ifm-color-primary-p0 );
9
40
padding-bottom : var (--ifm-spacing-3xl );
34
65
.sub_header {
35
66
text-align : left;
36
67
}
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