-
Notifications
You must be signed in to change notification settings - Fork 0
/
surf-course.html
378 lines (348 loc) · 18.5 KB
/
surf-course.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="images/favicon.png">
<script src="https://cdn.tailwindcss.com"></script>
<title>The Surf Course</title>
</head>
<body class="background-color overflow-x-hidden" onload="applyLanguagePreference()">
<div class="h-screen w-screen flex items-start justify-center">
<div class="background-color-section h-[90%] w-[90%] flex flex-col items-center overflow-y-hidden animated-gradient">
<div class="flex justify-end md:hidden p-4">
<button id="burger-menu" class="text-black">
<svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7"></path>
</svg>
</button>
</div>
<!-- Navigation Menu -->
<nav class="w-full flex justify-center overflow-y-hidden">
<ul class="hidden md:flex justify-between w-[90%] mt-4">
<li class="underline-animation"><a href="index.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">Home</a></li>
<li class="underline-animation"><a href="workadventure.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">WorkAdventure</a></li>
<li class="underline-animation"><a href="tudo-bem-maman.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">Tudo Bem Maman</a></li>
<li class="underline-animation"><a href="portfolio.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">Portfolio</a></li>
<li class="underline-animation"><a href="surfmate.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">SurfMate</a></li>
<li class="underline-animation"><a href="others-projects.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">Others Projects</a></li>
<li class="underline-animation"><a href="contact.html" class="font-butler font-medium md:text-[18px] lg:text-[24px]">Contact</a></li>
</ul>
<!-- Burger Menu Content -->
<ul id="burger-menu-content" class="absolute top-[5%] left-[5%] right-[5%] flex-col hidden md:hidden mt-8 px-2 py-1 rounded-md text-center">
<li class="underline-animation"><a href="index.html" class="block p-2 font-butler font-medium">Home</a></li>
<li class="underline-animation"><a href="workadventure.html" class="block p-2 font-butler font-medium">WorkAdventure</a></li>
<li class="underline-animation"><a href="tudo-bem-maman.html" class="block p-2 font-butler font-medium">Tudo Bem Maman</a></li>
<li class="underline-animation"><a href="portfolio.html" class="block p-2 font-butler font-medium">Portfolio</a></li>
<li class="underline-animation"><a href="surfmate.html" class="block p-2 font-butler font-medium">SurfMate</a></li>
<li class="underline-animation"><a href="others-projects.html" class="block p-2 font-butler font-medium">Others Projects</a></li>
<li class="underline-animation"><a href="contact.html" class="block p-2 font-butler font-medium">Contact</a></li>
</ul>
</nav>
<div class="flex flex-grow items-center justify-center mb-[75px] md:mb-0 lg:mb-0 w-full">
<h1 class="font-butler font-medium text-[48px] md:text-[80px] lg:text-[80px] text-center text-color">The Surf Course</h1>
</div>
<a href="#section-fr" class="arrow-container hover:cursor-pointer flex justify-center">
<div class="arrow cursor-default"></div>
<div class="arrow cursor-default"></div>
<div class="arrow cursor-default"></div>
</a>
</div>
</div>
<section class="fr" id="section-fr">
<div class="w-[70%] mx-auto">
<p class="font-butler font-medium text-[32px] mt-12 mb-24 flex justify-center text-center text-color-main">The Surf Course est destiné aux débutants adeptes du surf qui ont envie d'acheter leur matériel mais qui ne savent pas par où commencer.</p>
</div>
<div class="container mx-auto text-color-main text-[18px] font-manrope-ultra-light font-bold">
<div class="md:grid md:grid-cols-3 gap-8 mb-24">
<div class="flex flex-col items-center mb-20 md:mb-0 text-center">
<p>ROLE</p>
<hr class="border-t w-[13%] mt-2 mb-4 background-color-section">
<p>Développement back-end et front-end</p>
</div>
<div class="flex flex-col items-center mb-20 md:mb-0 text-center">
<p>TECHNOLOGIES</p>
<hr class="border-t w-[35%] mt-2 mb-4 background-color-section">
<div class="ruby flex items-center gap-2">
<p>Ruby On Rails</p>
<img src="images/Typescript_logo_2020.svg.png" alt="logo-ruby" height="18px" width="20px">
</div>
<div class="javascript flex items-center gap-2">
<p>Javascript</p>
<img src="images/Logo Svelte.png" alt="logo-javascript" height="18px" width="18px">
</div>
<div class="sql flex items-center gap-2">
<p>SQL</p>
<img src="images/Logo Tailwind.svg.png" alt="logo-sql" height="12px" width="24px">
</div>
</div>
<div class="flex flex-col items-center text-center">
<p>GET YOUR BOARD</p>
<hr class="border-t w-[42%] mt-2 mb-4 background-color-section">
<a href="https://the-surf-course.one/" target="_blank" class="hover:text-sky-600">the-surf-course.one</a>
</div>
</div>
</div>
<div class="flex flex-col-reverse md:grid md:grid-cols-2 gap-8 items-center">
<div class="text-center text-color-main text-[18px] font-manrope-ultra-light font-bold ml-16 mr-12 md:ml-32 md:mr-0">
<div class="mb-4">
<p class="text-color-main hover:text-sky-600 text-center">En savoir plus ...</p>
<hr class="border-t w-[35%] mt-2 background-color-section mb-12 mx-auto">
</div>
<ul class="list-disc text-start">
<li class="mb-2 text-[16px]">Ce projet est basé sur un <span class="font-manrope-medium">algorithme de recommandation de combinaisons et planches de surf en fonction du choix de l'utilisateur.</span></li>
<li class="mb-2 text-[16px]">Avec une base de données remplie de différents produits pour le surf, les résultats varient et permettent <span class="font-manrope-medium">d'apporter les meilleures solutions.</span></li>
<li class="mb-2 text-[16px]">Projet réalisé à deux en deux semaines lors de la formation du Wagon. Cela nous a permis de<span class="font-manrope-medium"> travailler notre communication </span>mais aussi des outils tels que <span class="font-manrope-medium">git / github / figma</span></li>
<li class="mb-2 text-[16px]">Cette version est adaptée en version mobile uniquement (pour l'instant...)</li>
<li class="mb-2 text-[16px]">Présentation de notre application avec démonstration en live sur<br><a href="https://www.youtube.com/watch?v=UvmRwri0vws" target="_blank" class="underline-animation">👉 Youtube</a></li>
</ul>
</div>
<div class="video-container md:mt-8 mt-[-72] flex justify-center">
<video class="mockup-the-surf-course" width="320" height="600" controls autoplay>
<source src="videos/surf-mock-up-background-good.mp4" type="video/mp4">
Error Message
</video>
</div>
</div>
<div class="h-[500px] w-screen flex items-end justify-center">
<div class="background-color-section h-[70%] w-[90%] flex flex-col items-center">
<p class="font-butler font-medium text-[48px] mt-24 mb-12 flex justify-center text-center text-color">Check it out !</p>
<button class="text-color-main background-color text-[24px] rounded-full w-[55%] h-[13%] md:w-[20%] hover:w-[25%] transition-all duration-300"><a href="https://the-surf-course.one/" target="_blank">The Surf Course</a></button>
</div>
</div>
</section>
<!-- Code pour anglais -->
<section class="en" style="display: none;">
<div class="w-[70%] mx-auto">
<p class="font-butler font-medium text-[32px] mt-12 mb-24 flex justify-center text-center text-color-main">The Surf Course is intended for beginner surf enthusiasts who want to buy their equipment but don't know where to start.</p>
</div>
<div class="container mx-auto text-color-main text-[18px] font-manrope-ultra-light font-bold">
<div class="md:grid md:grid-cols-3 gap-8 mb-24">
<div class="flex flex-col items-center mb-20 md:mb-0 text-center">
<p>ROLE</p>
<hr class="border-t w-[13%] mt-2 mb-4 background-color-section">
<p>Back-end and front-end development</p>
</div>
<div class="flex flex-col items-center mb-20 md:mb-0 text-center">
<p>TECHNOLOGIES</p>
<hr class="border-t w-[35%] mt-2 mb-4 background-color-section">
<div class="ruby flex items-center gap-2">
<p>Ruby On Rails</p>
<img src="images/Typescript_logo_2020.svg.png" alt="logo-ruby" height="18px" width="20px">
</div>
<div class="javascript flex items-center gap-2">
<p>Javascript</p>
<img src="images/Logo Svelte.png" alt="logo-javascript" height="18px" width="18px">
</div>
<div class="sql flex items-center gap-2">
<p>SQL</p>
<img src="images/Logo Tailwind.svg.png" alt="logo-sql" height="12px" width="24px">
</div>
</div>
<div class="flex flex-col items-center text-center">
<p>GET YOUR BOARD</p>
<hr class="border-t w-[42%] mt-2 mb-4 background-color-section">
<a href="https://the-surf-course.one/" target="_blank" class="hover:text-sky-600">the-surf-course.one</a>
</div>
</div>
</div>
<div class="flex flex-col-reverse md:grid md:grid-cols-2 gap-8 items-center">
<div class="text-center text-color-main text-[18px] font-manrope-ultra-light font-bold ml-16 mr-12 md:ml-32 md:mr-0">
<div class="mb-4">
<p class="text-color-main hover:text-sky-600 text-center">En savoir plus ...</p>
<hr class="border-t w-[35%] mt-2 background-color-section mb-12 mx-auto">
</div>
<ul class="list-disc text-start">
<li class="mb-2 text-[16px]">This project is based on a <span class="font-manrope-medium">recommendation algorithm for surfboard and wetsuit combinations based on the user's choice.</span></li>
<li class="mb-2 text-[16px]">With a database filled with various surf products, the results vary and <span class="font-manrope-medium">provide the best solutions.</span></li>
<li class="mb-2 text-[16px]">Project completed by two people in two weeks during the Le Wagon training. This allowed us to<span class="font-manrope-medium"> improve our communication </span>as well as tools like <span class="font-manrope-medium">git / github / figma</span></li>
<li class="mb-2 text-[16px]">This version is adapted for mobile only (for now...)</li>
<li class="mb-2 text-[16px]">Presentation of our application with a live demonstration on<br><a href="https://www.youtube.com/watch?v=UvmRwri0vws" target="_blank" class="underline-animation">👉 YouTube</a></li>
</ul>
</div>
<div class="video-container md:mt-8 mt-[-72] flex justify-center">
<video class="mockup-the-surf-course" width="320" height="600" controls autoplay>
<source src="videos/surf-mock-up-background-good.mp4" type="video/mp4">
Error Message
</video>
</div>
</div>
<div class="h-[500px] w-screen flex items-end justify-center">
<div class="background-color-section h-[70%] w-[90%] flex flex-col items-center">
<p class="font-butler font-medium text-[48px] mt-24 mb-12 flex justify-center text-center text-color">Check it out !</p>
<button class="text-color-main background-color text-[24px] rounded-full w-[55%] h-[13%] md:w-[20%] hover:w-[25%] transition-all duration-300"><a href="https://the-surf-course.one/" target="_blank">The Surf Course</a></button>
</div>
</div>
</section>
</body>
<script src="script.js" defer></script>
</html>
<style>
@font-face {
font-family: 'manrope-light';
src: url('fonts/manrope-light/Manrope-Bold.ttf') format('truetype'),
url('fonts/manrope-light/Manrope-ExtraBold.ttf') format('truetype'),
url('fonts/manrope-light/Manrope-ExtraLight.ttf') format('truetype'),
url('fonts/manrope-light/Manrope-Light.ttf') format('truetype'),
url('fonts/manrope-light/Manrope-Medium.ttf') format('truetype'),
url('fonts/manrope-light/Manrope-Regular.ttf') format('truetype'),
url('fonts/manrope-light/Manrope-SemiBold.ttf') format('truetype');
}
@font-face {
font-family: 'butler-stencil';
src :url('fonts/butler-stencil/Butler_Ultra_Light_Stencil.otf') format('opentype'),
url('fonts/butler-stencil/Butler_Black_Stencil.otf') format('opentype'),
url('fonts/butler-stencil/Butler_Bold_Stencil.otf') format('opentype'),
url('fonts/butler-stencil/Butler_ExtraBold_Stencil.otf') format('opentype'),
url('fonts/butler-stencil/Butler_Light_Stencil.otf') format('opentype'),
url('fonts/butler-stencil/Butler_Medium_Stencil.otf') format('opentype'),
url('fonts/butler-stencil/Butler_Regular_Stencil.otf') format('opentype');
}
@font-face {
font-family: 'butler';
src :url('fonts/butler/Butler_Ultra_Light.otf') format('opentype');
}
@font-face {
font-family: 'manrope';
src: url('fonts/manrope-light/Manrope-Light.ttf') format('truetype');
}
@font-face {
font-family: 'manrope-ultra-light';
src: url('fonts/manrope-light/Manrope-ExtraLight.ttf') format('truetype');
}
@font-face {
font-family: 'manrope-medium';
src: url('fonts/manrope-light/Manrope-Medium.ttf') format('truetype');
}
/* custom styles for specific fonts */
.font-butler {
font-family: 'butler', sans-serif;
}
.font-manrope-medium {
font-family: 'manrope-medium', sans-serif;
}
.font-manrope-light {
font-family: 'manrope-light', sans-serif;
}
.font-manrope-ultra-light {
font-family: 'manrope-ultra-light', sans-serif;
}
.font-butler-stencil {
font-family: 'butler-stencil', sans-serif;
}
.background-color {
background-color: #1a1818;
}
.background-color-section {
background-color: #ece7e1;
}
.text-color {
color: #1a1818;
}
.text-color-main {
color: #ece7e1;
}
.underline-animation {
position: relative;
display: inline-block;
overflow: hidden;
}
.underline-animation::before {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: currentColor;
transform: scaleX(0);
transform-origin: bottom right;
transition: transform 0.3s ease-out;
}
.underline-animation:hover::before {
transform: scaleX(1);
transform-origin: bottom left;
}
.block {
display: block;
}
.arrow-container {
position: absolute;
top: 75%;
left: 50%;
width: 100px;
height: 100px;
transform: translate(-50%, -50%) rotateZ(0deg);
}
.arrow-container:hover .arrow {
top: 50%;
}
.arrow-container:hover .arrow:before {
transform: translate(-50%, -50%) rotateZ(-30deg);
}
.arrow-container:hover .arrow:after {
transform: translate(-50%, -50%) rotateZ(30deg);
}
.arrow {
position: relative;
transition: all 0.4s ease;
}
.arrow:before,
.arrow:after {
transition: all 0.4s ease;
content: '';
display: block;
position: absolute;
transform-origin: bottom right;
background: #1a1818;
width: 4px; /* arrow-line-width */
height: 50px; /* arrow-line-length */
border-radius: 10px;
transform: translate(-50%, -50%) rotateZ(-45deg);
}
.arrow:after {
transform-origin: bottom left;
transform: translate(-50%, -50%) rotateZ(45deg);
}
/* Arrow opacity and positioning */
.arrow:nth-child(1) {
opacity: 0.3;
top: calc(15% + (100% / 5));
}
.arrow:nth-child(2) {
opacity: 0.6;
top: calc(15% + (100% * 2 / 5));
}
.arrow:nth-child(3) {
opacity: 0.9;
top: calc(15% + (100% * 3 / 5));
}
.animated-gradient {
background: radial-gradient(
circle at 30% 30%,
#F4C2C2,
#E2B9E8 40%,
#B9E4C9 60%,
#C2F0C2
);
background-size: 400% 400%;
animation: gradientAnimation 10s ease-in-out infinite;
}
@keyframes gradientAnimation {
0% {
background-position: 0% 0%;
}
25% {
background-position: 100% 0%;
}
50% {
background-position: 100% 100%;
}
75% {
background-position: 0% 100%;
}
100% {
background-position: 0% 0%;
}
}
</style>