Skip to content

Commit a8f934f

Browse files
Merge pull request #157 from HaudinFlorence/remove_pydata_banner
Remove the pydata banner.
2 parents a290367 + 2912c67 commit a8f934f

File tree

6 files changed

+20
-162
lines changed

6 files changed

+20
-162
lines changed

src/components/home/Hero/index.tsx

-39
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,10 @@
11
import styles from "./styles.module.css";
22
import SimpleSlider from "./LogosTableBy8";
33
import Astronaut from "/img/quantstack/astronaut.svg";
4-
import CiteDesSciencesUrl from "@site/static/img/quantstack/geode-cropped-with-white-rectangle.png";
5-
import LogoPyDataParisUrl from "@site/static/img/quantstack/PyData_logo.png";
6-
import Link from "@docusaurus/Link";
7-
8-
export function PydataParis() {
9-
return (
10-
<div className={styles.pydata_banner}>
11-
<Link href={"https://pydata.org/paris2024"}>
12-
<img
13-
className={styles.pydata_image}
14-
src={CiteDesSciencesUrl}
15-
alt={"Banner to promote Pydata Paris."}
16-
width={"100%"}
17-
/>
18-
</Link>
19-
<Link href={"https://pydata.org/paris2024"}>
20-
<p className={styles.pydata_header}>
21-
Join QuantStack at PyData Paris
22-
</p>
23-
</Link>
24-
<Link href={"https://pydata.org/paris2024"}>
25-
<div className={styles.pydata_logo_container}>
26-
<img
27-
className={styles.pydata_logo}
28-
src={LogoPyDataParisUrl}
29-
alt={"Logo of PyData Paris Conference."}
30-
/>
31-
</div>
32-
</Link>
33-
<p className={styles.pydata_informations}>
34-
September 25-26 2024
35-
<br />
36-
Cité des Sciences, Paris, France
37-
<br />
38-
</p>
39-
</div>
40-
);
41-
}
424

435
export function Hero() {
446
return (
457
<div className={styles.hero_container}>
46-
<PydataParis />
478
<div className="main-container-with-margins">
489
<div className="container upper-container-with-margin-top">
4910
<div className={"row row--no-gutters flex-full-centered"}>
+20-123
Original file line numberDiff line numberDiff line change
@@ -1,143 +1,40 @@
1-
.pydata_image {
2-
filter: grayscale(0.8);
3-
width: 100%;
4-
height: auto;
5-
display: block;
6-
opacity: calc(0.4);
1+
.h2_custom {
2+
color: var(--ifm-color-blue-jupyter);
73
}
84

9-
.pydata_banner {
10-
background-color: white;
11-
position: relative;
5+
.sub_header {
6+
text-align: left;
127
}
138

14-
@media only screen and (max-width: 530px) {
15-
/*Small mobile screens*/
16-
.logos_carousel {
17-
display: none;
18-
}
19-
20-
.pydata_header {
21-
color: var(--ifm-color-primary-p2);
22-
font-family: var(--ifm-font-family-bebas-neue);
23-
font-size: var(--ifm-font-size-normal);
24-
font-weight: 600;
25-
position: absolute;
26-
top: 10%;
27-
left: 5%;
28-
text-align: start;
29-
}
30-
31-
.pydata_logo {
32-
position: absolute;
33-
top: 32%;
34-
left: 5%;
35-
width: 10%
36-
}
37-
38-
.pydata_informations {
39-
color: gray;
40-
font-size: 12px;
41-
font-weight: 600;
42-
position: absolute;
43-
top: 53%;
44-
left: 5%;
45-
text-align: start;
46-
}
9+
.hero_container {
10+
background-color: var(--ifm-color-primary-p0);
11+
padding-bottom: var(--ifm-spacing-3xl);
4712
}
4813

49-
@media only screen and (min-width: 530px) and (max-width: 996px) {
14+
@media only screen and (max-width: 996px) {
5015
/*Mobile*/
5116
.logos_carousel {
5217
display: none;
5318
}
54-
55-
.pydata_header {
56-
color: var(--ifm-color-primary-p2);
57-
font-family: var(--ifm-font-family-bebas-neue);
58-
font-size: var(--ifm-font-size-secondary-title);
59-
font-weight: 600;
60-
position: absolute;
61-
top: 10%;
62-
left: 10%;
63-
}
64-
65-
.pydata_logo {
66-
position: absolute;
67-
top: 28%;
68-
left: 10%;
69-
width: 12%
70-
}
71-
72-
.pydata_informations {
73-
color: gray;
74-
font-size: var(--ifm-font-size-small);
75-
font-weight: 600;
76-
position: absolute;
77-
top: 55%;
78-
left: 10%;
79-
text-align: start;
80-
}
81-
}
82-
83-
.hero_container {
84-
background-color: var(--ifm-color-primary-p0);
85-
padding-bottom: var(--ifm-spacing-3xl);
86-
}
87-
88-
.table_with_8_customers {
89-
margin-bottom: var(--ifm-spacing-xl);
90-
}
91-
92-
.customer_logo {
93-
filter: grayscale(1);
94-
width: 100px;
95-
}
96-
97-
.worked_with {
98-
font-size: 24px;
99-
font-weight: 200;
100-
font-family: var(--ifm-font-family-rubik-one);
101-
color: var(--ifm-color-primary-p2);
102-
text-align: center;
103-
margin: var(--ifm-spacing-2xl) 0;
104-
}
105-
106-
.h2_custom {
107-
color: var(--ifm-color-blue-jupyter);
108-
}
109-
110-
.sub_header {
111-
text-align: left;
11219
}
11320

11421
@media only screen and (min-width: 996px) {
11522
/*Desktop*/
116-
.pydata_header {
117-
color: var(--ifm-color-primary-p2);
118-
font-family: var(--ifm-font-family-bebas-neue);
119-
font-size: var(--ifm-font-size-main-title);
120-
font-weight: 600;
121-
position: absolute;
122-
top: 10%;
123-
left: 10%;
124-
text-align: start;
23+
.table_with_8_customers {
24+
margin-bottom: var(--ifm-spacing-xl);
12525
}
12626

127-
.pydata_logo {
128-
position: absolute;
129-
top: 35%;
130-
left: 10%;
131-
width: 12%
27+
.customer_logo {
28+
filter: grayscale(1);
29+
width: 100px;
13230
}
13331

134-
.pydata_informations {
135-
color: gray;
136-
font-size: var(--ifm-font-size-medium);
137-
font-weight: 600;
138-
position: absolute;
139-
top: 60%;
140-
left: 10%;
141-
text-align: start;
32+
.worked_with {
33+
font-size: 24px;
34+
font-weight: 200;
35+
font-family: var(--ifm-font-family-rubik-one);
36+
color: var(--ifm-color-primary-p2);
37+
text-align: center;
38+
margin: var(--ifm-spacing-2xl) 0;
14239
}
14340
}

static/img/quantstack/PyData_logo.png

-109 KB
Binary file not shown.
Binary file not shown.
-362 KB
Binary file not shown.

static/img/quantstack/geode.png

-675 KB
Binary file not shown.

0 commit comments

Comments
 (0)