Browse Source

Modification des styles

Lou 3 years ago
parent
commit
807168da7d

+ 1
- 0
src/components/contactForm/index.scss View File

@@ -45,6 +45,7 @@
45 45
 		padding: 1rem;
46 46
 		text-align: left;
47 47
 		line-height: 1.4rem;
48
+		font-size: 1rem;
48 49
 		border: 1px solid $primary;
49 50
 		border-radius: 0.5rem;
50 51
 	}

+ 1
- 0
src/components/footer/index.jsx View File

@@ -24,6 +24,7 @@ const Footer = () => {
24 24
 				<li>
25 25
 					<div className="footer-contact">
26 26
 						<BtnContact>Nous contacter</BtnContact>
27
+						<p>06.11.22.33.44</p>
27 28
 						<p>notre@email.com</p>
28 29
 					</div>
29 30
 					<div className="footer-legal">

+ 3
- 3
src/components/header/index.jsx View File

@@ -8,7 +8,7 @@ import HeaderContext from "../../context/headerContext";
8 8
 const Header = () => {
9 9
 	const navbarContext = useContext(HeaderContext);
10 10
 	const { ref, inView } = useInView({
11
-		threshold: 0
11
+		threshold: 0.03
12 12
 	});
13 13
 
14 14
 	const handleVisibility = (x) => {
@@ -22,12 +22,12 @@ const Header = () => {
22 22
 	return (
23 23
 		<header ref={ref}>
24 24
 			<div className="hero">
25
-				<h1>Du numérique, en Alsace, au plus proche de vos besoins.</h1>
25
+				<h1>Développement et accompagnement numérique</h1>
26 26
 				<div className="hero-box">
27 27
 					<div className="hero-text">
28 28
 						<p className="hero-paragraph">
29 29
 							Nous proposons un accompagnement local et sur-mesure pour tous vos
30
-							projets numériques.{" "}
30
+							projets numériques.
31 31
 						</p>
32 32
 						<p className="hero-highlight">
33 33
 							Demandez nous un devis, nous vous en moins de 24 heures.

+ 1
- 5
src/components/navbar/index.jsx View File

@@ -9,12 +9,8 @@ const Navbar = () => {
9 9
 
10 10
 	const handleShowNavbar = (context) => {
11 11
 		if (context.isHeaderHidden === true) {
12
-			console.log(context.isHeaderHidden);
13
-			console.log("transparent");
14 12
 			return { background: "transparent" };
15 13
 		} else {
16
-			console.log(context.isHeaderHidden);
17
-			console.log("white");
18 14
 			return { background: "white" };
19 15
 		}
20 16
 	};
@@ -27,7 +23,7 @@ const Navbar = () => {
27 23
 						<span>Services</span>
28 24
 					</Link>
29 25
 					<Link to="/a-propos" className="menu-btn">
30
-						<span>La Coopérative</span>
26
+						<span>L'Association</span>
31 27
 					</Link>
32 28
 				</div>
33 29
 				<Link id="navbar-title" to="/">

+ 5
- 5
src/components/navbar/index.scss View File

@@ -13,13 +13,12 @@ nav {
13 13
 	width: 100vw;
14 14
 	height: 3.5rem;
15 15
 	padding: 0;
16
-	// background: transparent;
17 16
 	display: flex;
18 17
 	align-items: center;
19
-	justify-content: space-between;
18
+	// justify-content: space-between;
20 19
 
21 20
 	.details {
22
-		margin-right: auto;
21
+		align-items: flex-start;
23 22
 		margin-left: 1.5rem;
24 23
 		color: $dark;
25 24
 
@@ -35,11 +34,11 @@ nav {
35 34
 	}
36 35
 
37 36
 	#navbar-title {
38
-		margin: 0 auto;
39 37
 		font-family: "Cutive Mono";
40 38
 		font-size: 2.5rem;
41 39
 		font-weight: bold;
42 40
 		color: $dark;
41
+		margin: 0 auto;
43 42
 
44 43
 		span {
45 44
 			margin: 0;
@@ -48,8 +47,9 @@ nav {
48 47
 	}
49 48
 
50 49
 	#contact-btn {
51
-		margin-left: auto;
50
+		// margin-left: auto;
52 51
 		margin-right: 1.5rem;
52
+		padding-left: 99px;
53 53
 
54 54
 		button {
55 55
 			background: $primary;

+ 9
- 7
src/pages/a-propos.jsx View File

@@ -8,16 +8,18 @@ const Apropos = () => {
8 8
 	return (
9 9
 		<Layout>
10 10
 			<Seo title="À notre propos"></Seo>
11
-			<div>
12
-				<h2>À notre propos</h2>
11
+			<div className="page-content">
12
+				<h2 className="page-title">À notre propos</h2>
13 13
 				<section className="pages-sections">
14 14
 					<p className="section-paragraph">
15 15
 						La CLI est une association de travailleuses et travailleurs du
16
-						numériques basée à Strasbourg. Notre catalogue de prestations se
17
-						compose d'un large éventail de services comme le développement de
18
-						sites web, leur mise en production et leur maintenance. Nous
19
-						effectuons aussi la conception de solutions logiciels, l'assistance
20
-						informatique, et la formation à divers outils informatiques.
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
+						L'objectif de l'association est de fournir un cadre horizontal et
21
+						convivial pour permettre l'émergence de prestations collectives
22
+						selon la libre association des uns avec les autres.
21 23
 					</p>
22 24
 				</section>
23 25
 			</div>

+ 1
- 0
src/pages/nous-contacter.jsx View File

@@ -11,6 +11,7 @@ const NousContacter = () => {
11 11
 		<Layout>
12 12
 			<Seo title="Nous contacter" />
13 13
 			<div className="page-contact">
14
+				<h2 className="page-title">Contactez nous</h2>
14 15
 				<ContactForm />
15 16
 			</div>
16 17
 		</Layout>

+ 1
- 1
src/pages/statuts.jsx View File

@@ -9,7 +9,7 @@ const StatutsPage = () => {
9 9
 	return (
10 10
 		<Layout>
11 11
 			<Seo title="Nos statuts" />
12
-			<div className="page-content">
12
+			<div className="page-content page-statuts">
13 13
 				<section className="pages-sections status-section">
14 14
 					<h3 className="section-title">Les status de l'association</h3>
15 15
 					<h4 className="status-title">Constitution de l'association</h4>

+ 6
- 0
src/scss/main.scss View File

@@ -51,6 +51,12 @@ main {
51 51
 }
52 52
 
53 53
 .page-content {
54
+	padding-top: 5rem;
55
+
56
+	.page-title {
57
+		text-align: center;
58
+	}
59
+
54 60
 	> section {
55 61
 		margin-top: 40px;
56 62
 		width: 100%;

+ 3
- 9
src/scss/nous-contacter.scss View File

@@ -1,12 +1,6 @@
1 1
 .page-contact {
2
+	padding-top: 5rem;
2 3
 	display: flex;
3
-	flex-wrap: wrap-reverse;
4
-	justify-content: center;
5
-	.contact-instructions {
6
-		margin: 1rem;
7
-
8
-		.instructions-list {
9
-			list-style: none;
10
-		}
11
-	}
4
+	flex-direction: column;
5
+	align-items: center;
12 6
 }

+ 12
- 8
src/scss/statuts.scss View File

@@ -12,13 +12,17 @@
12 12
 	}
13 13
 }
14 14
 
15
-.status-paragraph {
16
-	text-align: justify;
17
-	text-justify: inter-word;
18
-	line-height: 1.3rem;
19
-	margin-right: auto;
20
-}
15
+.page-statuts {
16
+	padding: 3rem 1.5rem 0.5rem 1.5rem;
17
+
18
+	.status-paragraph {
19
+		text-align: justify;
20
+		text-justify: inter-word;
21
+		line-height: 1.3rem;
22
+		margin-right: auto;
23
+	}
21 24
 
22
-.status-list {
23
-	margin-right: auto;
25
+	.status-list {
26
+		margin-right: auto;
27
+	}
24 28
 }

Loading…
Cancel
Save