Skip to content

Commit 7cff4fc

Browse files
Merge pull request #289 from HaudinFlorence/follow-up-PR288
Fix logos carousel width
2 parents b378825 + 77fe02e commit 7cff4fc

File tree

12 files changed

+26
-33
lines changed

12 files changed

+26
-33
lines changed

src/components/home/Hero/LogosTableBy8.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,27 +46,27 @@ export default function SimpleSlider() {
4646
autoplay: true,
4747
};
4848
return (
49-
<Slider {...settings}>
50-
<div>
51-
<LogosTable1 />
52-
</div>
53-
<div>
54-
<LogosTable2 />
55-
</div>
56-
<div>
57-
<LogosTable3 />
58-
</div>
59-
<div>
60-
<LogosTable4 />
61-
</div>
62-
</Slider>
49+
<Slider {...settings} style={{maxWidth:"1500px", justifyContent: "center"}}>
50+
<div>
51+
<LogosTable1 />
52+
</div>
53+
<div>
54+
<LogosTable2 />
55+
</div>
56+
<div>
57+
<LogosTable3 />
58+
</div>
59+
<div>
60+
<LogosTable4 />
61+
</div>
62+
</Slider>
6363
);
6464
}
6565

6666
export function LogosTable1() {
6767
return (
6868
<div className={"container" + " " + styles.table_with_8_customers}>
69-
<div className="row-max-width row--no-gutters">
69+
<div className="row row--no-gutters">
7070
<div className={"col col--3 flex-full-centered"}>
7171
<img
7272
src={BloombergLogoUrl}

src/components/home/Hero/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ export function Hero() {
4545
<div className="main-container-with-margins">
4646
<div className={"container" + " " + styles.logos_carousel}>
4747
<div className="row">
48-
<div className="col col--8 col--offset-2">
48+
<div className="col col--12 col">
4949
<div className={styles.worked_with}> We have worked with </div>
5050
</div>
5151
</div>
52-
<div className="row">
53-
<div className="col col--8 col--offset-2">
52+
<div className="row" >
53+
<div className="col col--12" style={{display:"flex", justifyContent: "center"}}>
5454
<SimpleSlider />
5555
</div>
5656
</div>

src/components/home/Hero/styles.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@
192192
}
193193

194194
@media only screen and (min-width: 1511px) {
195-
196195
/* Desktop : large screen*/
197196
.table_with_8_customers {
198197
margin-bottom: var(--ifm-spacing-xl);

src/components/home/ProjectsOverview/Computing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import XTensorXSIMDPicture from "@site/static/img/projects/xtensor_xsimd.svg";
55
export default function ComputingProjects() {
66
return (
77
<div className={styles.container_projects}>
8-
<div className={styles.row_projects}>
8+
<div className="row-max-width">
99
<div
1010
className={"col col--6" + " " + styles.col_project_overview_with_padding}
1111
>

src/components/home/ProjectsOverview/DataAnalysis.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ApacheArrowPicture from "@site/static/img/projects/apache_arrow.svg";
55
export default function DataAnalysisProjects() {
66
return (
77
<div className={styles.container_projects + " "+ styles.project_light_yellow} style={{paddingBottom : "0px"}}>
8-
<div className={styles.row_projects}>
8+
<div className="row-max-width">
99
<div
1010
className={"col col--6" + " " + styles.col_project_overview_with_padding}
1111
>

src/components/home/ProjectsOverview/Jupyter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function JupyterProject() {
1010
marginTop: "var(--ifm-spacing-4xl)",
1111
}}
1212
>
13-
<div className={styles.row_projects}>
13+
<div className="row-max-width">
1414
<div className={"col col--6" + " " + styles.col_project_overview_with_padding}>
1515
<h1 className="padding-none">Jupyter project </h1>
1616
<h2 className={styles.h2_custom}>We strive to sustain the project in the long term.</h2>

src/components/home/ProjectsOverview/Robotics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import RoboticsPictureUrl from "@site/static/img/projects/robotics.png";
55
export default function RoboticsProjects() {
66
return (
77
<div className={styles.container_projects + " "+ styles.project_light_yellow}>
8-
<div className={styles.row_projects}>
8+
<div className="row-max-width">
99
<div
1010
className={
1111
"col col--6" + " " + styles.col_project_overview_with_padding

src/components/home/ProjectsOverview/RoboticsReverse.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import RoboticsPictureUrl from "@site/static/img/projects/robotics.png";
55
export default function RoboticsProjects() {
66
return (
77
<div className={styles.container_projects}>
8-
<div className={styles.row_projects}>
8+
<div className="row-max-width">
99
<div
1010
className={
1111
"col col--6 flex-full-centered" +

src/components/home/ProjectsOverview/SpecialProjects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import SpecialProjectsPictureUrl from "@site/static/img/projects/special_project
55
export default function SpecialProjects() {
66
return (
77
<div className={styles.container_projects + " " + styles.project_yellow}>
8-
<div className={styles.row_projects}>
8+
<div className="row-max-width">
99
<div className={"col col--6" + " " + styles.col_project_overview_with_padding}>
1010
<h1 className="padding-none">Special projects</h1>
1111
<h2 className={styles.h2_custom}>

src/components/home/ProjectsOverview/SupplyChain.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import MambaPictureUrl from "@site/static/img/projects/mamba_console.png";
55
export default function SupplyChainProjects() {
66
return (
77
<div className={styles.container_projects + " " + styles.project_light_yellow}>
8-
<div className={styles.row_projects}>
8+
<div className="row-max-width">
99
<div
1010
className={
1111
"col col--6" +

0 commit comments

Comments
 (0)