Pārlūkot izejas kodu

a-propos: redesign | màj de package.json

Lou 2 gadus atpakaļ
vecāks
revīzija
35b33a487b

+ 7
- 7
package.json Parādīt failu

@@ -16,19 +16,19 @@
16 16
 	},
17 17
 	"dependencies": {
18 18
 		"emailjs-com": "^3.2.0",
19
-		"gatsby": "^3.2.0",
20
-		"gatsby-plugin-react-helmet": "^3.10.0",
21
-		"gatsby-plugin-sass": "^3.2.0",
22
-		"gatsby-source-filesystem": "^2.11.1",
23
-		"gatsby-transformer-remark": "^4.8.0",
19
+		"gatsby": "^4.0",
20
+		"gatsby-plugin-react-helmet": "^5.3.0",
21
+		"gatsby-plugin-sass": "^5.3.0",
22
+		"gatsby-source-filesystem": "^4.3.0",
23
+		"gatsby-transformer-remark": "^5.3.0",
24 24
 		"react": "^17.0.1",
25 25
 		"react-dom": "^17.0.1",
26 26
 		"react-helmet": "^6.1.0",
27 27
 		"react-intersection-observer": "^8.32.0",
28
-		"react-toastify": "^7.0.4",
28
+		"react-toastify": "^8.1.0",
29 29
 		"sass": "^1.37.5"
30 30
 	},
31 31
 	"devDependencies": {
32
-		"gatsby-plugin-manifest": "^2.12.1"
32
+		"gatsby-plugin-manifest": "^4.3.0"
33 33
 	}
34 34
 }

+ 25
- 0
src/components/btnMailto/index.jsx Parādīt failu

@@ -0,0 +1,25 @@
1
+import React from "react";
2
+import { Link } from "gatsby";
3
+
4
+import "./index.scss";
5
+// import "../../scss/main.scss";
6
+
7
+const BtnMailto = ({ mail, label }) => {
8
+	const handleMailto = (x) => {
9
+		return `mailto:${x}`;
10
+	};
11
+	return (
12
+		<Link
13
+			to="#"
14
+			onClick={(e) => {
15
+				window.location = handleMailto(mail);
16
+				e.preventDefault();
17
+			}}
18
+			className="btn-mailto"
19
+		>
20
+			{label}
21
+		</Link>
22
+	);
23
+};
24
+
25
+export default BtnMailto;

+ 26
- 0
src/components/btnMailto/index.scss Parādīt failu

@@ -0,0 +1,26 @@
1
+@use "../../scss/abstracts/colors" as *;
2
+
3
+@font-face {
4
+	font-family: Raleway-Semibold;
5
+	src: url(../../fonts/Raleway-SemiBold.ttf);
6
+}
7
+
8
+.btn-mailto {
9
+	font-family: Raleway-Semibold;
10
+	font-size: 1em;
11
+	color: $light;
12
+	background: $primary;
13
+	border: none;
14
+	border-radius: 0.15rem;
15
+	padding: 0.55em 1.4em;
16
+	font-weight: 900;
17
+	font-variant: small-caps;
18
+	transition: all 300ms ease-in-out;
19
+}
20
+
21
+.btn-mailto:hover {
22
+	cursor: pointer;
23
+	background: $primary;
24
+	border: 1px solid $primary;
25
+	box-shadow: 0 0 2px 1px $primary;
26
+}

+ 0
- 10
src/components/header/index.scss Parādīt failu

@@ -7,7 +7,6 @@
7 7
 }
8 8
 
9 9
 header {
10
-	// width: 100vw;
11 10
 	width: calc(100vw - 16px); // HOW TO HANDLE THIS ANOTHER WAY ?
12 11
 	height: 100vh;
13 12
 	display: flex;
@@ -20,13 +19,11 @@ header {
20 19
 		justify-content: center;
21 20
 		align-items: center;
22 21
 		justify-content: space-evenly;
23
-		// padding-bottom: 10rem;
24 22
 		width: 100%;
25 23
 		height: 100vh;
26 24
 		text-align: center;
27 25
 
28 26
 		.hero-container {
29
-			// margin: 17rem auto auto auto;
30 27
 			max-width: 100vw;
31 28
 
32 29
 			.hero-logo {
@@ -35,7 +32,6 @@ header {
35 32
 			}
36 33
 
37 34
 			h1 {
38
-				// width: 30rem;
39 35
 				font-size: 2.5rem;
40 36
 				font-family: CutiveMono;
41 37
 				color: $dark;
@@ -69,7 +65,6 @@ header {
69 65
 			}
70 66
 		}
71 67
 		.robot-face-container {
72
-			// padding-top: 4rem;
73 68
 			margin-bottom: 0;
74 69
 			width: fit-content;
75 70
 			height: fit-content;
@@ -86,7 +81,6 @@ header {
86 81
 		.hero {
87 82
 			display: flex;
88 83
 			flex-direction: row;
89
-			// padding-top: 10rem;
90 84
 
91 85
 			.hero-container {
92 86
 				display: flex;
@@ -105,10 +99,6 @@ header {
105 99
 				margin: 0;
106 100
 				padding-left: 2rem;
107 101
 				margin-right: 2rem;
108
-
109
-				img {
110
-					// width: 70%;
111
-				}
112 102
 			}
113 103
 		}
114 104
 	}

+ 7
- 2
src/components/navbar/index.scss Parādīt failu

@@ -1,11 +1,15 @@
1 1
 @use "../../scss/abstracts/colors" as *;
2
-// @use "../../scss/abstracts/fonts" as *;
3 2
 
4 3
 @font-face {
5 4
 	font-family: CutiveMono;
6 5
 	src: url(../../fonts/CutiveMono-Regular.ttf);
7 6
 }
8 7
 
8
+@font-face {
9
+	font-family: Raleway-Semibold;
10
+	src: url(../../fonts/Raleway-SemiBold.ttf);
11
+}
12
+
9 13
 #navbar-container {
10 14
 	clear: both;
11 15
 	display: block;
@@ -58,6 +62,7 @@ nav {
58 62
 		padding-left: 99px;
59 63
 
60 64
 		button {
65
+			font-family: Raleway-Semibold;
61 66
 			background: $primary;
62 67
 			color: white;
63 68
 			border: none;
@@ -65,7 +70,7 @@ nav {
65 70
 		}
66 71
 
67 72
 		&:hover,
68
-		&:focus {
73
+		&:focus-visible {
69 74
 			button {
70 75
 				border: none;
71 76
 				box-shadow: 0 0 2px 1px $primary;

+ 18
- 0
src/components/teamCard/index.jsx Parādīt failu

@@ -0,0 +1,18 @@
1
+import React from "react";
2
+
3
+import "./index.scss";
4
+import BtnMailto from "../btnMailto";
5
+
6
+const TeamCard = ({ name, mail, description }) => {
7
+	return (
8
+		<div className="team-card">
9
+			<div className="member-details">
10
+				<h1 className="member-name">{name}</h1>
11
+				<h2 className="member-description">{description}</h2>
12
+			</div>
13
+			<BtnMailto label="Lui ecrire" mail={mail} />
14
+		</div>
15
+	);
16
+};
17
+
18
+export default TeamCard;

+ 51
- 0
src/components/teamCard/index.scss Parādīt failu

@@ -0,0 +1,51 @@
1
+@use "../../scss/abstracts/colors" as *;
2
+
3
+@font-face {
4
+	font-family: "Source Serif Pro Bold";
5
+	src: url(../../fonts/SourceSerifPro-Bold.ttf);
6
+}
7
+
8
+.team-card {
9
+	position: relative;
10
+	z-index: -2;
11
+	width: 250px;
12
+	height: 150px;
13
+	text-align: center;
14
+	margin: 1.5rem 1.5rem;
15
+	padding: 1.5rem;
16
+	border: 2px solid $primary;
17
+	box-shadow: 0px 0px 9px 1px rgba($primary, $alpha: 0.2);
18
+	background-color: white;
19
+
20
+	img.member-picture {
21
+		position: absolute;
22
+		top: -70px;
23
+		left: 60px;
24
+		height: 130px;
25
+		width: 130px;
26
+		margin-bottom: -100px;
27
+		border-radius: 100%;
28
+		border: 1px solid transparent;
29
+		object-fit: contain;
30
+		z-index: -1;
31
+	}
32
+
33
+	.member-details {
34
+		display: flex;
35
+		flex-direction: column;
36
+		background-image: linear-gradient(transparent, white);
37
+		margin-bottom: 1rem;
38
+
39
+		.member-name {
40
+			font-family: "Source Serif Pro Bold";
41
+			font-size: 1.7rem;
42
+			color: $primary-darker;
43
+			margin: 0;
44
+		}
45
+
46
+		.member-description {
47
+			font-size: 1rem;
48
+			margin: 0;
49
+		}
50
+	}
51
+}

Binārs
src/images/brooke.jpg Parādīt failu


+ 1
- 0
src/images/undraw_programmer.svg
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 52
- 24
src/pages/a-propos.jsx Parādīt failu

@@ -2,37 +2,65 @@ import React from "react";
2 2
 
3 3
 import Layout from "../components/layout/index";
4 4
 import Seo from "../components/seo";
5
+import TeamCard from "../components/teamCard";
5 6
 import "../scss/a-propos.scss";
7
+import Aproposillustration from "../images/undraw_programmer.svg";
6 8
 
7 9
 const Apropos = () => {
8 10
 	return (
9 11
 		<Layout>
10 12
 			<Seo title="À notre propos"></Seo>
11 13
 			<div className="page-content">
12
-				<h2 className="page-title">À notre propos</h2>
13
-				<section className="page-section">
14
-					<p className="section-paragraph">
15
-						La CLI est une association de travailleuses et travailleurs du
16
-						numériques basée à Strasbourg. Nous sommes sensibles à l'éthique du
17
-						libre et à la qualité du travail.
18
-					</p>
19
-					<p className="section-paragraph">
20
-						Les enjeux majeurs contemporain sont en lien étroit avec le
21
-						numérique. Il s'agit par exemple du respect des données privées,
22
-						réduction de la fracture numérique, accessibilité, impact
23
-						écologique. La CLI et ses membres à titre individuel s'engagent à en
24
-						prendre conscience et à ainsi orienter leur manière de produire.
25
-						Nous croyons que le croissement de nos démarches nous enrichis
26
-						collectivement, notamment sur ces thématiques.
27
-					</p>
28
-					<p className="section-paragraph">
29
-						L'objectif de l'association est de fournir un cadre horizontal et
30
-						convivial pour permettre l'émergence de prestations collectives et
31
-						plus vertueuses, grâce à la libre association des unes avec les
32
-						autres. Cette organisation permet la mise à l'échelle de nos moyens
33
-						de production : important ou plus modeste, votre projet sera bien
34
-						traité par nos équipes.
35
-					</p>
14
+				<section className="a-propos">
15
+					<div className="a-propos-left">
16
+						<h2 className="a-propos-left-title">À notre propos</h2>
17
+						<p className="a-propos-paragraph">
18
+							La CLI est une association de travailleuses et travailleurs du
19
+							numériques basée à Strasbourg. Nous sommes sensibles à l'éthique du
20
+							libre et à la qualité du travail.
21
+						</p>
22
+						<p className="a-propos-paragraph">
23
+							Les enjeux majeurs contemporain sont en lien étroit avec le numérique.
24
+							Il s'agit par exemple du respect des données privées, réduction de la
25
+							fracture numérique, accessibilité, impact écologique. La CLI et ses
26
+							membres à titre individuel s'engagent à en prendre conscience et à ainsi
27
+							orienter leur manière de produire. Nous croyons que le croissement de
28
+							nos démarches nous enrichis collectivement, notamment sur ces
29
+							thématiques.
30
+						</p>
31
+						<p className="a-propos-paragraph">
32
+							L'objectif de l'association est de fournir un cadre horizontal et
33
+							convivial pour permettre l'émergence de prestations collectives et plus
34
+							vertueuses, grâce à la libre association des unes avec les autres. Cette
35
+							organisation permet la mise à l'échelle de nos moyens de production :
36
+							important ou plus modeste, votre projet sera bien traité par nos
37
+							équipes.
38
+						</p>
39
+					</div>
40
+					<div className="a-propos-right">
41
+						<img
42
+							src={Aproposillustration}
43
+							alt="illustration"
44
+							className="a-propos-illustration"
45
+						/>
46
+					</div>
47
+				</section>
48
+				<section className="team">
49
+					<h2 className="team-title">L'équipe</h2>
50
+					<div className="team-card-group">
51
+						<TeamCard
52
+							name="Justin"
53
+							mail="jules@cli.coop"
54
+							description="Développeur, formateur"
55
+						/>
56
+						<TeamCard name="Lou" mail="lou@cli.coop" description="Développeuse" />
57
+						<TeamCard
58
+							name="Aleks"
59
+							mail="alex@cli.coop"
60
+							description="Développeur, formateur"
61
+						/>
62
+						<TeamCard name="Julien" mail="julien@cli.coop" description="Gestionnaire" />
63
+					</div>
36 64
 				</section>
37 65
 			</div>
38 66
 		</Layout>

+ 0
- 54
src/pages/index.jsx Parādīt failu

@@ -1,5 +1,4 @@
1 1
 import React from "react";
2
-import { Link } from "gatsby";
3 2
 
4 3
 import Layout from "../components/layout/index";
5 4
 import Seo from "../components/seo";
@@ -7,7 +6,6 @@ import ParallaxContainer from "../components/parallaxContainer";
7 6
 import RealisationCard from "../components/realisationCard";
8 7
 import ContactForm from "../components/contactForm";
9 8
 import "../scss/index.scss";
10
-import Brooke from "../images/brooke.jpg";
11 9
 import Header from "../components/header";
12 10
 
13 11
 const IndexPage = () => {
@@ -71,58 +69,6 @@ const IndexPage = () => {
71 69
 						</div>
72 70
 					</div>
73 71
 				</section>
74
-
75
-				<section className="team index-section">
76
-					<div className="parallax-team">
77
-						<i className="parallax-object-2">
78
-							<svg
79
-								viewBox="0 0 551 142"
80
-								fill="none"
81
-								xmlns="http://www.w3.org/2000/svg"
82
-							>
83
-								<path
84
-									d="M3.57628e-07 0.499997H20.1V84.8C20.1 88.5 20.7 90.95 21.9 92.15C23.1 93.35 24.75 93.95 26.85 93.95C28.45 93.95 30.1 93.75 31.8 93.35C33.5 92.95 35 92.45 36.3 91.85L39 107.15C36.3 108.45 33.15 109.45 29.55 110.15C25.95 110.85 22.7 111.2 19.8 111.2C13.5 111.2 8.6 109.55 5.1 106.25C1.7 102.85 3.57628e-07 98.05 3.57628e-07 91.85V0.499997ZM40.0289 39.05L43.4789 20.75H37.4789V0.499997H57.5789V21.05L52.3289 39.05H40.0289ZM98.5629 111.5C90.0629 111.5 82.7129 109.65 76.5129 105.95C70.4129 102.25 65.6629 97.35 62.2629 91.25C58.8629 85.05 57.1629 78.35 57.1629 71.15C57.1629 63.75 58.8129 56.95 62.1129 50.75C65.5129 44.45 70.3129 39.45 76.5129 35.75C82.7129 31.95 90.1129 30.05 98.7129 30.05C107.313 30.05 114.663 31.95 120.763 35.75C126.863 39.45 131.513 44.4 134.713 50.6C138.013 56.7 139.663 63.3 139.663 70.4C139.663 73 139.513 75.25 139.213 77.15H78.4629C78.9629 83.25 81.2129 88.05 85.2129 91.55C89.3129 95.05 94.0129 96.8 99.3129 96.8C103.313 96.8 107.063 95.85 110.563 93.95C114.163 91.95 116.613 89.35 117.913 86.15L135.163 90.95C132.263 96.95 127.613 101.9 121.213 105.8C114.813 109.6 107.263 111.5 98.5629 111.5ZM78.0129 64.4H119.113C118.513 58.5 116.263 53.75 112.363 50.15C108.563 46.45 103.913 44.6 98.4129 44.6C93.0129 44.6 88.3629 46.45 84.4629 50.15C80.6629 53.75 78.5129 58.5 78.0129 64.4ZM105.013 22.25L92.1129 18.35L100.213 0.499997H118.963L105.013 22.25ZM181.608 111.5C174.908 111.5 168.958 109.65 163.758 105.95C158.558 102.25 154.508 97.3 151.608 91.1C148.708 84.9 147.258 78.05 147.258 70.55C147.258 63.05 148.858 56.25 152.058 50.15C155.258 43.95 159.608 39.05 165.108 35.45C170.708 31.85 177.008 30.05 184.008 30.05C190.008 30.05 195.308 31.45 199.908 34.25C204.508 36.95 208.258 40.55 211.158 45.05V31.4H228.708V141.95H208.608V96.2C202.608 106.4 193.608 111.5 181.608 111.5ZM189.108 94.4C193.408 94.4 197.158 93.2 200.358 90.8C203.658 88.4 206.408 85.3 208.608 81.5V62.9C207.908 59.9 206.508 57.25 204.408 54.95C202.308 52.55 199.858 50.65 197.058 49.25C194.358 47.85 191.608 47.15 188.808 47.15C184.708 47.15 181.058 48.3 177.858 50.6C174.758 52.8 172.308 55.75 170.508 59.45C168.708 63.05 167.808 66.95 167.808 71.15C167.808 75.45 168.708 79.4 170.508 83C172.308 86.5 174.808 89.3 178.008 91.4C181.208 93.4 184.908 94.4 189.108 94.4ZM246.226 80.6V31.4H266.326V76.25C266.326 88.35 270.676 94.4 279.376 94.4C283.276 94.4 287.026 93.25 290.626 90.95C294.326 88.55 297.326 84.95 299.626 80.15V31.4H319.726V87.5C319.726 89.7 320.076 91.25 320.776 92.15C321.476 92.95 322.726 93.45 324.526 93.65V110C322.526 110.4 320.826 110.65 319.426 110.75C318.126 110.85 316.926 110.9 315.826 110.9C312.226 110.9 309.276 110.1 306.976 108.5C304.776 106.8 303.476 104.5 303.076 101.6L302.626 95.3C299.126 100.7 294.626 104.75 289.126 107.45C283.626 110.15 277.576 111.5 270.976 111.5C262.876 111.5 256.726 108.9 252.526 103.7C248.326 98.4 246.226 90.7 246.226 80.6ZM339.701 20.45V0.499997H359.801V20.45H339.701ZM339.701 110V31.4H359.801V110H339.701ZM425.033 111.5C418.833 111.5 413.433 110.1 408.833 107.3C404.233 104.5 400.633 100.8 398.033 96.2V141.95H377.933V31.4H395.483V44.9C398.383 40.3 402.133 36.7 406.733 34.1C411.433 31.4 416.733 30.05 422.633 30.05C429.733 30.05 436.033 31.9 441.533 35.6C447.033 39.2 451.383 44.1 454.583 50.3C457.783 56.4 459.383 63.15 459.383 70.55C459.383 78.25 457.883 85.2 454.883 91.4C451.983 97.5 447.933 102.4 442.733 106.1C437.633 109.7 431.733 111.5 425.033 111.5ZM418.283 94.4C422.383 94.4 425.933 93.3 428.933 91.1C432.033 88.8 434.433 85.85 436.133 82.25C437.933 78.55 438.833 74.65 438.833 70.55C438.833 66.15 437.883 62.2 435.983 58.7C434.083 55.1 431.483 52.3 428.183 50.3C424.983 48.2 421.283 47.15 417.083 47.15C413.283 47.15 409.483 48.4 405.683 50.9C401.883 53.4 399.333 56.55 398.033 60.35V78.8C399.833 83.2 402.583 86.9 406.283 89.9C409.983 92.9 413.983 94.4 418.283 94.4ZM509.452 111.5C500.952 111.5 493.602 109.65 487.402 105.95C481.302 102.25 476.552 97.35 473.152 91.25C469.752 85.05 468.052 78.35 468.052 71.15C468.052 63.75 469.702 56.95 473.002 50.75C476.402 44.45 481.202 39.45 487.402 35.75C493.602 31.95 501.002 30.05 509.602 30.05C518.202 30.05 525.552 31.95 531.652 35.75C537.752 39.45 542.402 44.4 545.602 50.6C548.902 56.7 550.552 63.3 550.552 70.4C550.552 73 550.402 75.25 550.102 77.15H489.352C489.852 83.25 492.102 88.05 496.102 91.55C500.202 95.05 504.902 96.8 510.202 96.8C514.202 96.8 517.952 95.85 521.452 93.95C525.052 91.95 527.502 89.35 528.802 86.15L546.052 90.95C543.152 96.95 538.502 101.9 532.102 105.8C525.702 109.6 518.152 111.5 509.452 111.5ZM488.902 64.4H530.002C529.402 58.5 527.152 53.75 523.252 50.15C519.452 46.45 514.802 44.6 509.302 44.6C503.902 44.6 499.252 46.45 495.352 50.15C491.552 53.75 489.402 58.5 488.902 64.4Z"
85
-									fill="#A6D0D9"
86
-								/>
87
-							</svg>
88
-						</i>
89
-					</div>
90
-					<div className="team-card-group">
91
-						<div className="team-card">
92
-							<img src={Brooke} alt="member" className="member-picture" />
93
-							<div className="member-details">
94
-								<h1 className="member-name">***</h1>
95
-								<h2 className="member-email">***@cli.coop</h2>
96
-								<h2 className="member-description">Développeur, formateur</h2>
97
-							</div>
98
-						</div>
99
-						<div className="team-card">
100
-							<img src={Brooke} alt="member" className="member-picture" />
101
-							<div className="member-details">
102
-								<h1 className="member-name">Lou</h1>
103
-								<h2 className="member-email">lou@cli.coop</h2>
104
-								<h2 className="member-description">Développeuse, formatrice</h2>
105
-							</div>
106
-						</div>
107
-						<div className="team-card">
108
-							<img src={Brooke} alt="member" className="member-picture" />
109
-							<div className="member-details">
110
-								<h1 className="member-name">Julien</h1>
111
-								<h2 className="member-email">julien@cli.coop</h2>
112
-								<h2 className="member-description">Administratif</h2>
113
-							</div>
114
-						</div>
115
-						<div className="team-card">
116
-							<img src={Brooke} alt="member" className="member-picture" />
117
-							<div className="member-details">
118
-								<h1 className="member-name">Alex</h1>
119
-								<h2 className="member-email">alex@cli.coop</h2>
120
-								<h2 className="member-description">Développeur, formateur</h2>
121
-							</div>
122
-						</div>
123
-					</div>
124
-				</section>
125
-
126 72
 				<section className="realisation index-section">
127 73
 					<div className="parallax-realisation">
128 74
 						<i className="parallax-object-3">

+ 94
- 0
src/scss/a-propos.scss Parādīt failu

@@ -0,0 +1,94 @@
1
+@use "../scss/abstracts/colors" as *;
2
+
3
+@font-face {
4
+	font-family: CutiveMono;
5
+	src: url(../fonts/CutiveMono-Regular.ttf);
6
+}
7
+
8
+.a-propos {
9
+	position: relative;
10
+	margin-top: 6rem;
11
+	margin-left: auto;
12
+	margin-right: auto;
13
+	justify-content: center;
14
+	display: grid;
15
+	width: 80%;
16
+	text-align: justify;
17
+	justify-self: center;
18
+}
19
+
20
+.a-propos-left {
21
+	margin-top: 5rem;
22
+	line-height: 1.5em;
23
+}
24
+.a-propos-left-title {
25
+	font-family: CutiveMono;
26
+	font-variant: small-caps;
27
+	font-size: 2rem;
28
+	color: $dark;
29
+	text-shadow: 0 0 1px $dark;
30
+	text-align: center;
31
+}
32
+
33
+.a-propos-right {
34
+	position: absolute;
35
+	top: 0;
36
+	left: 50%;
37
+	transform: translate(-50%);
38
+	z-index: -1;
39
+}
40
+
41
+.a-propos-illustration {
42
+	height: 6rem;
43
+	width: 6rem;
44
+}
45
+.team {
46
+	position: relative;
47
+	align-content: center;
48
+	margin-left: auto;
49
+	margin-right: auto;
50
+}
51
+
52
+.team-title {
53
+	font-family: CutiveMono;
54
+	font-variant: small-caps;
55
+	font-size: 2rem;
56
+	color: $dark;
57
+	text-shadow: 0 0 1px $dark;
58
+	text-align: center;
59
+}
60
+
61
+.team-card-group {
62
+	display: flex;
63
+	flex-wrap: wrap;
64
+	justify-content: center;
65
+	// z-index: 0;
66
+}
67
+
68
+@media screen and (min-width: 1200px) {
69
+	.a-propos {
70
+		grid-template-columns: 2fr 1fr;
71
+		gap: 2rem;
72
+		margin: 4rem auto 0 auto;
73
+		align-items: center;
74
+	}
75
+
76
+	.a-propos-left {
77
+		margin-top: 0;
78
+		margin-right: 2rem;
79
+		grid-column: 1;
80
+		width: 80%;
81
+		text-align: justify;
82
+		justify-self: center;
83
+	}
84
+
85
+	.a-propos-right {
86
+		position: relative;
87
+		z-index: 0;
88
+	}
89
+
90
+	.a-propos-illustration {
91
+		width: 100%;
92
+		height: 15rem;
93
+	}
94
+}

+ 1
- 76
src/scss/index.scss Parādīt failu

@@ -1,5 +1,4 @@
1 1
 @use "./abstracts/colors" as *;
2
-// @use "./abstracts/fonts" as *;
3 2
 
4 3
 @font-face {
5 4
 	font-family: "Source Serif Pro Bold";
@@ -114,7 +113,7 @@
114 113
 	height: 200px;
115 114
 	max-width: 22rem;
116 115
 	background-color: white;
117
-	border: 1px solid $primary;
116
+	border: 2px solid $primary;
118 117
 	box-shadow: 0px 0px 9px 1px rgba($primary, $alpha: 0.2);
119 118
 
120 119
 	.ethic-card-title {
@@ -132,80 +131,6 @@
132 131
 	}
133 132
 }
134 133
 
135
-.team {
136
-	position: relative;
137
-}
138
-
139
-.team:before {
140
-	content: "";
141
-	display: block;
142
-	position: absolute;
143
-	right: 0;
144
-	top: 0;
145
-	width: 100%;
146
-	height: 100%;
147
-	background-image: url(../images/background-index.svg);
148
-	background-position: 50% 0;
149
-	background-size: cover;
150
-	opacity: 40%;
151
-	transform: rotate(0.5turn);
152
-	z-index: -10;
153
-}
154
-
155
-.team-card-group {
156
-	display: flex;
157
-	flex-wrap: wrap;
158
-	justify-content: center;
159
-	margin-top: 3rem;
160
-	padding-top: 170px;
161
-	padding-bottom: 100px;
162
-	z-index: 2;
163
-
164
-	.team-card {
165
-		position: relative;
166
-		z-index: -2;
167
-		width: 250px;
168
-		height: 150px;
169
-		text-align: center;
170
-		margin: 3rem 2rem;
171
-		border: 1px solid $primary;
172
-		box-shadow: 0px 0px 9px 1px rgba($primary, $alpha: 0.2);
173
-		background-color: white;
174
-
175
-		img.member-picture {
176
-			position: absolute;
177
-			top: -70px;
178
-			left: 60px;
179
-			height: 130px;
180
-			width: 130px;
181
-			margin-bottom: -100px;
182
-			border-radius: 100%;
183
-			border: 1px solid transparent;
184
-			object-fit: contain;
185
-			z-index: -1;
186
-		}
187
-
188
-		.member-details {
189
-			display: flex;
190
-			flex-direction: column;
191
-			background-image: linear-gradient(transparent, white);
192
-
193
-			.member-name {
194
-				font-family: "Source Serif Pro Bold";
195
-				font-size: 1.7rem;
196
-			}
197
-
198
-			.member-email {
199
-				font-size: 1rem;
200
-			}
201
-
202
-			.member-description {
203
-				font-size: 1rem;
204
-			}
205
-		}
206
-	}
207
-}
208
-
209 134
 .realisation:before {
210 135
 	content: "";
211 136
 	display: block;

+ 7
- 4
src/scss/main.scss Parādīt failu

@@ -47,16 +47,19 @@ main {
47 47
 }
48 48
 
49 49
 .btn {
50
-	border: 1px solid lightgray;
50
+	color: $light;
51
+	background: $primary;
52
+	border: 1px solid none;
51 53
 	border-radius: 0.15rem;
52 54
 	padding: 1em 1.4em;
53 55
 	font-weight: 900;
54 56
 	font-variant: small-caps;
55 57
 
56
-	&:hover {
58
+	&:hover,
59
+	:focus-visible {
57 60
 		cursor: pointer;
58
-		background: lightgray;
59
-		border: 1px solid darkgrey;
61
+		background: $primary;
62
+		border: 1px solid $primary;
60 63
 	}
61 64
 }
62 65
 

+ 3289
- 4717
yarn.lock
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt