Skip to content

Commit 56613d9

Browse files
committed
Landing page fini (sauf carroussel et responsive)
1 parent 4a280c8 commit 56613d9

14 files changed

+237
-64
lines changed

assets/css/styles.css

+102-22
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
margin: 0;
99
padding: 0;
1010
font-family: 'Roboto', sans-serif;
11+
scroll-behavior: smooth;
1112
}
1213

1314
ul, ol {
@@ -35,10 +36,24 @@ h2 {
3536
font-family: 'Futura', sans-serif;
3637
font-size: 50px;
3738
letter-spacing: 0.2rem;
39+
color: #3ED899;
40+
}
41+
42+
h3 {
43+
font-family: 'Futura', sans-serif;
44+
font-size: 30px;
45+
color: #062B51;
46+
}
47+
48+
.color-title-background {
3849
color: #062B51;
3950
}
4051

4152
/*Header*/
53+
header {
54+
background-image: url("../images/background.png");
55+
background-size: cover;
56+
}
4257
.main-header {
4358
height: 100vh;
4459
display: flex;
@@ -51,12 +66,11 @@ h2 {
5166
height: 100%;
5267
}
5368
.text-content {
54-
background-image: url("../images/header/Fond.jpg");
5569
background-size: cover;
5670
display: flex;
5771
flex-direction: column;
5872
justify-content: center;
59-
flex:7;
73+
flex:6;
6074
padding-left: 125px;
6175
}
6276

@@ -70,7 +84,7 @@ h2 {
7084
}
7185

7286
.text-content p {
73-
font-size: 18px;
87+
font-size: 30px;
7488
}
7589

7690
form {
@@ -90,12 +104,13 @@ form {
90104
font-size: 18px;
91105
border-radius: 100px 0 0 100px;
92106
color: rgba(0, 0, 0, .46);
107+
margin-right: -1px;
93108
}
94109

95110
.input-button-mail {
96111
margin-left: -4px;
97112
border-radius: 0 100px 100px 0;
98-
color: #062B51;
113+
color: #3ED899;
99114
font-weight: 700;
100115
}
101116

@@ -105,18 +120,16 @@ form {
105120
}
106121

107122
.img-content {
108-
background-color: white;
109123
display: flex;
110124
align-items: center;
111125
justify-content: center;
112-
flex:3;
126+
flex:4;
113127
}
114128

115129
.mocup-size {
116130
width: auto;
117-
height: 120%;
131+
height: 100%;
118132
position: absolute;
119-
transform: rotate(-10deg);
120133
top: 0;
121134
}
122135

@@ -136,19 +149,23 @@ form {
136149
50% {bottom: 5%;}
137150
100% {bottom: 3%;}
138151
}
152+
153+
139154
/*About Us*/
140155

141156
.about-us-content {
142-
margin: 0 125px;
157+
margin: 80px 125px;
143158
display: grid;
144-
grid-template-columns: 50% 50%;
159+
grid-template-columns: 65% 35%;
145160
height: 70vh;
146161
overflow: hidden;
147162
}
148163

149164
.text-about-us {
150165
font-size: 24px;
151166
padding-top: 20px;
167+
display: flex;
168+
position: relative;
152169
}
153170

154171
.text-content-about-us {
@@ -168,24 +185,60 @@ form {
168185
}
169186

170187
.img-about-us {
171-
height: 100%;
172-
width: 100%;
188+
height: 80%;
189+
}
190+
191+
192+
/*Etapes*/
193+
#section-steps {
194+
padding: 80px 125px;
195+
background-color: #FFE1E8;
196+
display: grid;
197+
grid-template-columns: 40% 60%;
198+
/* height: 70vh; */
199+
overflow: hidden;
200+
}
201+
202+
.title-step {
203+
display: flex;
204+
align-items: center;
205+
margin: 0;
206+
padding: 0;
207+
}
208+
209+
.step {
210+
display: flex;
211+
flex-direction: inline;
212+
}
213+
214+
.step p {
215+
font-size: 24px;
216+
margin-top: 10px;
217+
}
218+
219+
.image-content-step {
220+
width: 400px;
221+
}
222+
223+
.text-content-step {
224+
display: flex;
225+
margin-left: 25px;
226+
flex-direction: column;
227+
justify-content: center;
173228
}
174229

175230
/*Questions*/
176231
#section-question {
177232
padding: 115px 250px;
178-
background-color: #062B51;
179233
display: flex;
180234
flex-direction: column;
181235
justify-content: center;
182236
align-items: center;
183237
}
184238
#question {
185239
font-family: 'Futura', sans-serif;
186-
font-size: 70px;
240+
font-size: 50px;
187241
margin-bottom: 50px;
188-
color: #FFF8F3;
189242
}
190243

191244
.questions {
@@ -198,7 +251,7 @@ form {
198251
width: 100%;
199252
margin: 10px 0;
200253

201-
background-color: #FFF8F3;
254+
border-bottom: #062B51 1px solid;
202255

203256
cursor: pointer;
204257
}
@@ -211,8 +264,7 @@ form {
211264
}
212265

213266
.questions img {
214-
padding-right: 20px;
215-
height: 16px;
267+
height: 50px;
216268
}
217269

218270
.social-icon-facebook {
@@ -230,28 +282,53 @@ form {
230282
height: 50px;
231283
}
232284

285+
286+
.avis {
287+
text-align: center;
288+
padding: 50px 0;
289+
}
290+
291+
/*Downoad*/
292+
293+
#section-download {
294+
padding: 80px 250px ;
295+
background-color: #3ED899;
296+
text-align: center;
297+
}
298+
299+
#section-download p {
300+
301+
margin: 25px 0;
302+
font-size: 24px;
303+
}
304+
233305
/*Footer*/
234306

235307
footer {
236-
padding: 100px 375px;
308+
position: relative;
309+
height: auto;
310+
padding: 50px 375px 0 375px;
237311
display: flex;
238312
flex-direction: column;
239313
align-items: center;
240314
justify-content: center;
241-
border-top: 1px solid #062B51;
315+
}
316+
317+
.logo-footer {
318+
margin: 30px 0 0 0;
242319
}
243320

244321
.content-footer{
245322
display: contents;
246323
}
247324

248325
#slogan {
249-
margin: 30px 0 70px 0;
250326
font-size: 17px;
251327
color: #062B51;
252328
opacity: .5;
253329
}
254330
#menu {
331+
margin: 100px 0;
255332
width: 100%;
256333
display: flex;
257334
justify-content: space-between;
@@ -274,8 +351,11 @@ footer {
274351
}
275352

276353
#network {
277-
margin-top: 70px;
354+
height: auto;
278355
width: 200px;
279356
display: flex;
280357
justify-content: space-between;
358+
position: absolute;
359+
top: 85px;
360+
right: 80px;
281361
}
File renamed without changes.
File renamed without changes.

assets/images/assiette.png

25.8 KB
Loading

assets/images/background.png

18.9 KB
Loading

assets/images/cajette.png

28 KB
Loading

assets/images/icons/facebook.png

368 Bytes
Loading

assets/images/icons/plus.png

256 Bytes
Loading

assets/images/icons/plus.svg

-1
This file was deleted.
3.82 KB
Loading

assets/images/personnage.png

67.7 KB
Loading

assets/images/plat.png

-436 KB
Loading

assets/js/script.js

+55-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,55 @@
1-
let isScrollable = [];
1+
// let idScrollable = [
2+
// "section-presentation",
3+
// "section-about-us",
4+
// "section-steps",
5+
// "section-question",
6+
// "section-footer",
7+
// ];
8+
9+
// let resetScrollDeltaHandle;
10+
11+
// let index = 0;
12+
// let delta = 0;
13+
// let minDelta = 20;
14+
15+
// let count = 0;
16+
17+
// function next() {
18+
// console.log(delta);
19+
20+
// if (delta > 0) {
21+
// index++;
22+
// } else {
23+
// index--;
24+
// }
25+
26+
// if (index < 0) {
27+
// index = idScrollable.length - 1;
28+
// }
29+
30+
// if (index > idScrollable.length - 1) {
31+
// index = 0;
32+
// }
33+
34+
// window.location.href = "#" + idScrollable[index];
35+
// delta = 0;
36+
// }
37+
38+
// window.addEventListener(
39+
// "wheel",
40+
// (event) => {
41+
// event.preventDefault();
42+
// event.stopPropagation();
43+
// window.clearTimeout(resetScrollDeltaHandle);
44+
// delta += event.deltaY * 0.01;
45+
// if (delta > minDelta || delta < -minDelta) {
46+
// next();
47+
// }
48+
// count++;
49+
// console.log(count);
50+
// resetScrollDeltaHandle = window.setTimeout(() => {
51+
// delta = 0;
52+
// }, 100);
53+
// },
54+
// { passive: false }
55+
// );

0 commit comments

Comments
 (0)