-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
435 lines (420 loc) · 13.5 KB
/
index.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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Electric · Flight of Tomorrow</title>
<!-- own css -->
<link rel="stylesheet" href="/assets/css/main.css" />
<link rel="stylesheet" href="/assets/css/info.css" />
<link rel="stylesheet" href="/assets/css/specs.css" />
<link rel="stylesheet" href="/assets/css/color.css" />
<link rel="stylesheet" href="/assets/css/merch.css" />
<link rel="stylesheet" href="/assets/css/newsletter.css" />
<link rel="stylesheet" href="/assets/css/footer.css" />
<link rel="stylesheet" href="/assets/css/mini-newsletter.css" />
<!-- Dosis font-->
<link
href="https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<link
rel="shortcut icon"
href="/assets/images/logo.png"
type="image/x-icon"
/>
<script defer data-domain="flightoftomorrow.com" src="https://plausible.io/js/plausible.js"></script>
</head>
<body>
<header>
<!-- Header content -->
<nav>
<!-- Navbar -->
<div class="burger">
<div class="line-1"></div>
<div class="line-2"></div>
<div class="line-3"></div>
</div>
<div class="menu-bar"></div>
<div class="overlay">
<div class="menu-links">
<a href="#start">start</a>
<a href="#info">info</a>
<a href="#specs">specs</a>
<a href="#colors">colors</a>
<a href="#merch">merch</a>
<a href="#signup">sign up</a>
</div>
<div class="menu-socials-mobile">
<a href="https://github.com/felixgren/electric" target="_blank">
<object
data="/assets/svg/github-social.svg"
type="image/svg+xml"
></object>
</a>
<a
href="https://www.netflix.com/us-en/title/81254224"
target="_blank"
>
<object
data="/assets/svg/fb-social.svg"
type="image/svg+xml"
></object>
</a>
<a
href="https://www.instagram.com/yrgo_webbutvecklare/"
target="_blank"
>
<object
data="/assets/svg/ig-social.svg"
type="image/svg+xml"
></object>
</a>
</div>
</div>
</nav>
</header>
<main>
<!-- Hero content -->
<section id="start" class="hero">
<div class="hero-content">
<div class="hero-title">
<h2>YOU ARE SPECIAL.</h2>
<div>
<h1>
<span>
<div class="line-wrapper">
<div></div>
<div></div>
<div></div>
</div> </span
>L<span>
<div class="line-wrapper">
<div></div>
<div></div>
<div></div>
</div> </span
>CTRIC
</h1>
<p>1.0</p>
</div>
</div>
<div class="hero-bottom">
<p>1.0</p>
<div>
<object
class="arrow"
data="/assets/svg/arrow-icon.svg"
type="image/svg+xml"
></object>
<object
class="arrow-animated"
data="/assets/svg/arrow-icon.svg"
type="image/svg+xml"
></object>
</div>
<p>E.L.E.C.T.R.I.C</p>
</div>
</div>
<picture>
<!-- <source srcset="/assets/images/hero.png" media="(min-width: 1000px)"> Media query here -->
<img src="/assets/images/hero.png" alt="Car front shot" />
</picture>
</section>
<!-- Flying car content -->
<section class="fly-section">
<div class="mini-newsletter-wrapper">
<form class="subscribe-wrapper">
<button type="submit" class="mini-subscribe-btn">
<span>JOIN NOW</span>
</button>
<label for="mini-email">
<input
type="email"
placeholder="Enter your email"
oninvalid="this.setCustomValidity(' ')"
oninput="this.setCustomValidity('')"
id="mini-email"
name="mini-email"
class="mini-email-input"
required
/>
</label>
</form>
<div class="mini-newsletter-text">
<h2>You are special. Electric.</h2>
<p class="mini-newsletter-info">
Peugeot is bringing car driving to the next level. We are on the
go for the future. Our aim is to become one of the world’s most
innovative companies. And now we are proud to present our car for
the future: Electric.
</p>
<p class="read-more-btn">Read more</p>
</div>
</div>
<picture>
<img src="/assets/images/flyingcar.png" alt="Car flying shot" />
</picture>
</section>
<!-- Info content -->
<section id="info" class="info-section">
<div class="info-left">
<img class="left-image" src="/assets/images/leftimage.png" alt="" />
</div>
<div class="info-right">
<div class="info-text">
<h2>Vision</h2>
<p>
Peugeot is a brand with history. The first car to carry the
Peugeot name was unveiled in 1889, making Peugeot the world's
second oldest car manufacturer and the oldest continuous car
brand.
</p>
</div>
<img class="right-image" src="/assets/images/rightimage.png" alt="" />
<div class="info-text">
<h2>History</h2>
<p>
Peugeot is a brand with history. The first car to carry the
Peugeot name was unveiled in 1889, making Peugeot the world's
second oldest car manufacturer and the oldest continuous car
brand.
</p>
</div>
</div>
</section>
<!-- Specs content -->
<section id="specs" class="specs">
<div class="spec-desc">
<h2 class="spec-title">Technical Specification</h2>
<p>Get to know your new car.</p>
</div>
<div class="specs-container">
<img
src="/assets/images/newmobilinterior.png"
alt="Electric car in front of a gray studio setting with one door open"
/>
<div
class="hotspot door"
text="
Outstanding passanger safety."
></div>
<div
class="hotspot window"
text="
Energy efficient and
aerodynamic design."
></div>
<div
class="hotspot motor"
text="
The car has a P90D Electro AT 4WD engine,
that generates 559 hp and develops torque."
></div>
<div
class="hotspot interior"
text="
The new Electric features a
Nappa Mistral full grain leather interior."
></div>
<div
class="hotspot turbo"
text="
It takes you 500 km with only one charge
and can reach up to 250 km/h speed."
></div>
</div>
<div class="mobile">
<ul>
<li data-icon="» ">Outstanding passanger safety</li>
<li data-icon="» ">
The car has a P90D Electro AT 4WD engine, that generates 559 hp
and develops torque
</li>
<li data-icon="» ">
The new Electric features a Nappa Mistral full grain leather
interior
</li>
<li data-icon="» ">Energy efficient aerodynamic design</li>
<li data-icon="» ">
It takes you 500 km with only one charge and can reach up to 250
km/h speed
</li>
</ul>
</div>
</section>
<!-- Color content -->
<section id="colors" class="color">
<div class="description">
<h2>Customize your Electric</h2>
<p>
The Electric is available in three different colors: Storm, Cloud,
and Eclipse.<br />
Pick your favorite.
</p>
</div>
<div class="buttons">
<button
class="grey"
onclick="changeColor('assets/images/webp/dark_whole.webp')"
>
STORM
</button>
<button
class="silver"
onclick="changeColor('assets/images/webp/light_whole.webp')"
>
CLOUD
</button>
<button
class="red"
onclick="changeColor('assets/images/webp/red_whole.webp')"
>
ECLIPSE
</button>
</div>
<div class="image-shown">
<img
class="img-displayed"
src="assets/images/webp/dark_whole.webp"
alt="Dark grey/light grey/ red car shown from the side"
/>
</div>
</section>
<!-- Merch content -->
<section id="merch" class="merch">
<div class="row">
<h2>Explore the Electric lifestyle</h2>
<div class="column">
<img
src="assets/images/webp/tookKLocka.webp"
alt="Silver wristwatch with black leather strap"
/>
<div class="content">
<p>
Add the finishing touch to any look with our Classic Wristwatch.
</p>
</div>
</div>
<div class="column">
<img
src="assets/images/webp/Champ.webp"
alt="Black champagne bottle"
/>
<div class="content">
<p>
Shock your tastebuds with an exclusive bottle of Electrics own
champagne.
</p>
</div>
</div>
<div class="column">
<img
src="assets/images/webp/bag.webp"
alt="Black leather handbag sitting on a red, velvety stand"
/>
<div class="content">
<p>
Travel in style with the Electric Luggage Collection. Made with
real Italian leather.
</p>
</div>
</div>
</div>
</section>
<!-- Newsletter content -->
<section id="signup" class="form-bg" id="newsletter">
<form>
<h2>Join our newsletter for exclusive details</h2>
<div class="email">
<label for="email">
<input
type="email"
placeholder="Enter your email"
name="email"
id="email"
required
/>
</label>
<button type="submit" class="btn"><span>JOIN</span></button>
</div>
<div class="check-terms">
<input type="checkbox" id="check" name="check" required />
<label for="check"
>Check to state you have read and agree to our
<a href="#">Terms & Conditions</a></label
>
</div>
</form>
</section>
</main>
<!-- Footer content -->
<footer>
<h2 class="logo">
<span>
<div class="line-wrapper">
<div></div>
<div></div>
<div></div>
</div> </span
>L<span>
<div class="line-wrapper">
<div></div>
<div></div>
<div></div>
</div> </span
>CTRIC
</h2>
<div class="social">
<a href="https://github.com/felixgren/electric" target="_blank">
<object
data="/assets/svg/github-social.svg"
type="image/svg+xml"
></object>
</a>
<a href="https://www.netflix.com/us-en/title/81254224" target="_blank">
<object
data="/assets/svg/fb-social.svg"
type="image/svg+xml"
></object>
</a>
<a
href="https://www.instagram.com/yrgo_webbutvecklare/"
target="_blank"
>
<object
data="/assets/svg/ig-social.svg"
type="image/svg+xml"
></object>
</a>
</div>
<div class="footer-items">
<div class="footer-contact">
<a href="tel:+4670000000">+4670000000</a>
<a href="mailto:hi@electric.com">hi@electric.com</a>
<p>Lindholmen 1</p>
<p>Göteborg</p>
</div>
<div class="copy"><p>Electric © 2020 Copyright</p></div>
<div class="footer-company">
<a
href="https://www.peugeot.se/"
target="_blank"
rel="noopener noreferrer"
>Peugeot Company</a
>
<a
href="https://www.peugeot.se/"
target="_blank"
rel="noopener noreferrer"
>Peugeot Assistant+</a
>
</div>
</div>
</footer>
</body>
<script src="/assets/js/main.js"></script>
<script src="/assets/js/color.js"></script>
<script src="/assets/js/mini-newsletter.js"></script>
<script src="/assets/js/info.js"></script>
</html>