Skip to content

Commit 0f901b4

Browse files
HaudinFlorenceSylvainCorlay
authored andcommitted
Try to add colors on the background of the home page.
1 parent c982f1e commit 0f901b4

File tree

9 files changed

+160
-10
lines changed

9 files changed

+160
-10
lines changed

src/components/home/Hero/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Astronaut from "/img/quantstack/astronaut.svg";
44

55
export function Hero() {
66
return (
7-
<div>
7+
<div className={styles.hero_container}>
88
<div className="main-container-with-margins">
99
<div className="container upper-container-with-margin-top">
1010
<div className={"row row--no-gutters flex-full-centered"}>

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
display: none;
55
}
66
}
7+
.hero_container {
8+
background-color: var(--ifm-color-primary-p0);
9+
}
710

811
.table_with_8_customers {
912
margin-bottom: var(--ifm-spacing-xl);
@@ -29,4 +32,4 @@
2932

3033
.sub_header {
3134
text-align: left;
32-
}
35+
}

src/components/home/ProjectsOverview/Robotics.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import RoboticsPictureUrl from "@site/static/img/projects/robotics.png";
44

55
export default function RoboticsProjects() {
66
return (
7-
<div className={"container"}>
7+
<div className={"container" + " "+ styles.project_light_yellow}>
88
<div className={"row"}>
99
<div
1010
className={

src/components/home/ProjectsOverview/SpecialProjects.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import SpecialProjectsPictureUrl from "@site/static/img/projects/jupytercad.png"
44

55
export default function SpecialProjects() {
66
return (
7-
<div className={"container"}>
7+
<div className={"container" + " " + styles.project_yellow}>
88
<div className="row">
99
<div className={"col col--5 col--offset-1" + " " + styles.col_project_overview_with_padding}>
1010
<h1 className="padding-none">Special projects</h1>

src/components/home/ProjectsOverview/SupplyChain.tsx

+9-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ import MambaPictureUrl from "@site/static/img/projects/mamba_console.png";
44

55
export default function SupplyChainProjects() {
66
return (
7-
<div className={"container"}>
7+
<div className={"container" + " " + styles.project_light_yellow}>
88
<div className={"row"}>
9-
109
<div
1110
className={
12-
"col col--5 col--offset-1" + " " + styles.col_project_overview_with_padding
11+
"col col--5 col--offset-1" +
12+
" " +
13+
styles.col_project_overview_with_padding
1314
}
1415
>
1516
<h1 className="padding-none">Software supply chain </h1>
@@ -26,7 +27,11 @@ export default function SupplyChainProjects() {
2627
styles.col_project_overview_with_padding
2728
}
2829
>
29-
<img src={MambaPictureUrl} width={"486px"} alt={"Picture showing a terminal in which mamba commands are run."} />
30+
<img
31+
src={MambaPictureUrl}
32+
width={"486px"}
33+
alt={"Picture showing a terminal in which mamba commands are run."}
34+
/>
3035
</div>
3136
</div>
3237
</div>

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

+9
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,12 @@
1515
.col_project_overview_with_padding {
1616
padding: var(--ifm-spacing-4xl) var(--ifm-spacing-3xl);
1717
}
18+
19+
20+
.project_yellow {
21+
background-color: var(--ifm-color-primary-p1);
22+
}
23+
24+
.project_light_yellow {
25+
background-color: var(--ifm-color-primary-p0);
26+
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ div .topics_header {
5151

5252
.whatwedo_container {
5353
background-color: var(--ifm-color-primary-p1);
54-
padding: var(--ifm-spacing-2xl) var(--ifm-spacing-2xl) 0
54+
padding: var(--ifm-spacing-4xl) var(--ifm-spacing-2xl) 0
5555
var(--ifm-spacing-2xl);
56-
margin-top: var(--ifm-spacing-3xl);
56+
/*margin-top: var(--ifm-spacing-3xl);*/
5757
}
5858

5959
.topics_card {

src/css/custom.css

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
--ifm-color-grey-condaforge: #7a7865;
1212
--ifm-color-orange-light: #fef9ec;
1313
--ifm-color-indigo-i1: rgb(79, 82, 255);
14+
--ifm-color-primary-p0: #FFFBD7;
1415
--ifm-color-primary-p1: #f6f195;
1516
--ifm-color-primary-p2: #1c1c16;
1617
--ifm-text-color-on-primary-p1: #1e1c00;
+132
Loading

0 commit comments

Comments
 (0)