-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
401 lines (348 loc) · 11.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300;400&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@100;300;400;500;700&display=swap"
rel="stylesheet"
/>
<!-- favicon -->
<link rel="icon" type="favicon" href="assets/icons/favicon.ico" />
<!-- styles -->
<link rel="stylesheet" href="src/home/home.css" />
<title>Bike Bits</title>
</head>
<body>
<!-- Header -->
<header class="header home">
<div class="logo">
<a href="index.html">
<img src="./assets/icons/logo.png" alt="emarekica logo" id="logo" />
</a>
<p class="logo-txt">BIKE-BITS</p>
</div>
<aside>
<nav class="navigation">
<a href="./index.html" id="home">Home</a>
<!-- opens modal -->
<a href="./src/about/about.html" id="about" target="_blank">About</a>
<a href="./src/blog/blog.html" id="blog" target="_blank">Blog</a>
<a href="./src/gallery/gallery.html" id="about" target="_blank"
>Gallery</a
>
<!-- opens modal -->
<a href="#" class="contact" id="contact">Contact</a>
</nav>
<form class="search" target="_self">
<input type="search" name="search" />
<button type="submit">Search</button>
</form>
</aside>
</header>
<section class="header-img home">
<img
src="./assets/photos/homepage/homepage_muted.jpg"
alt="Man cycling in forest cover image"
class="cover-img"
/>
<h1>Discover cycling</h1>
<div class="box-right"></div>
<div class="box-left"></div>
</section>
<main class="home">
<!-- Blog thumbnails -->
<article class="blog-thumbnails">
<h2 class="blogposts">Latest blog posts</h2>
<div class="line-1"></div>
<div class="thumbnail-container">
<!-- dynamically fill later, id changes -->
<div class="thumbnail img-1" id="blog-1">
<a href="./src/blog/blog.html" target="_blank">
<img
id="vrana"
src="./assets/photos/homepage/sm-header_vrana_sm.jpg"
alt="Vrana lake thumbnail"
/>
<p>VRANA LAKE</p>
</a>
<p class="thumbnail-txt">
Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<div class="thumbnail img-2" id="blog-2">
<a href="./src/blog/blog.html" target="_blank">
<img
id="dabrovi"
src="./assets/photos/homepage/sm-header_dabrovi_sm.jpg"
alt="Dabrovi thumbnail"
/>
<p>DABARSKI KUKOVI</p>
</a>
<p class="thumbnail-txt">
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.
</p>
</div>
<div class="thumbnail img-3" id="blog-3">
<a href="./src/blog/blog.html" target="_blank">
<img
id="gorice"
src="./assets/photos/homepage/sm-header_sumarica_sm.jpg"
alt="Vukomericke gorice thumbnail"
/>
<p>ŠUMARICA</p>
</a>
<p class="thumbnail-txt">
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit
aut fugit, sed quia consequuntur magni.
</p>
</div>
<div class="thumbnail img-4" id="blog-4">
<a href="./src/blog/blog.html" target="_blank">
<img
id="pokupsko"
src="./assets/photos/homepage/sm-header_pokupsko_sm.jpg"
alt="Pokupsko thumbnail"
/>
<p>POKUPSKO</p>
</a>
<p class="thumbnail-txt">
Quis autem vel eum iure reprehenderit qui in ea voluptate velit
esse quam nihil molestiae consequatur.
</p>
</div>
</div>
</article>
<!-- About -->
<article class="about">
<!-- <img
id="about-photo"
src="./assets/photos/homepage/about-photo.jpg"
alt="Girl with bicycle on the hiking trail"
/> -->
<div class="parallax-container">
<img
id="sky"
src="./assets/photos/homepage/parallax3-full.png"
alt="Sky background"
/>
<img
id="hill"
src="./assets/photos/homepage/parallax2.png"
alt="Hill background"
/>
<img
id="girl"
src="./assets/photos/homepage/parallax1.png"
alt="Girl on a bike foreground"
/>
</div>
<div class="about-txt">
<h2 class="about-header">About</h2>
<div class="line-2"></div>
<p class="about-me">
At vero eos et accusamus et iusto odio dignissimos ducimus qui
blanditiis praesentium voluptatum deleniti atque corrupti quos
dolores et quas molestias excepturi sint occaecati cupiditate non
provident, similique sunt in culpa qui officia deserunt mollitia
animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis
est et expedita distinctio.
</p>
</div>
</article>
<div class="line-3"></div>
<!-- Gallery -->
<h2 class="gallery-header">
<a href="./src/gallery/gallery.html" target="_blank">Gallery</a>
</h2>
<!-- Slider -->
<div class="slide-container">
<span class="slider-span" id="slider-span1"></span>
<span class="slider-span" id="slider-span2"></span>
<span class="slider-span" id="slider-span3"></span>
<span class="slider-span" id="slider-span4"></span>
<span class="slider-span" id="slider-span5"></span>
<div class="image-slider">
<div class="slides-div" id="slide-1">
<img
src="./assets/photos/homepage/gallery1_sm.jpg"
alt=""
class="img"
id="img1"
/>
<a href="#slider-span1" class="button" id="button-1"></a>
</div>
<div class="slides-div" id="slide-2">
<img
src="./assets/photos/homepage/gallery2_sm.jpg"
alt=""
class="img"
id="img2"
/>
<a href="#slider-span2" class="button" id="button-2"></a>
</div>
<div class="slides-div" id="slide-3">
<img
src="./assets/photos/homepage/gallery3_sm.jpg"
alt=""
class="img"
id="img3"
/>
<a href="#slider-span3" class="button" id="button-3"></a>
</div>
<div class="slides-div" id="slide-4">
<img
src="./assets/photos/homepage/gallery4_sm.jpg"
alt=""
class="img"
id="img4"
/>
<a href="#slider-span4" class="button" id="button-4"></a>
</div>
</div>
</div>
</main>
<footer class="footer home">
<nav class="nav-bottom">
<li><a href="#" id="home2" target="_blank">Home</a></li>
<li>
<a href="./src/about/about.html" id="about2" target="_blank">About</a>
</li>
<li>
<a href="./src/blog/blog.html" id="blog2" target="_blank">Blog</a>
</li>
<li class="contact" id="contact2">Contact</li>
</nav>
<div class="soc-media">
<p class="logo-txt-2">Bike-bits</p>
<a
href="https://www.facebook.com/e.marekica"
target="_blank"
class="facebook"
>
<img
src="./assets/icons/facebook.png"
alt="Facebook icon"
id="fb-img"
/>
</a>
<a
href="https://www.instagram.com/e.marekica.makes"
target="_blank"
class="instagram"
>
<img
src="./assets/icons/instagram.png"
alt="Instagram icon"
id="insta-img"
/>
</a>
</div>
</footer>
<!-- MODAL - contact -->
<!-- optionally wrap the modal in another div, ARTICLE (preferably) or section (in this case, remove heading)-->
<!-- <div class="backdrop"></div> -->
<div class="modal-container">
<div class="exit">x</div>
<header>
<h2 class="contact-header">Contact</h2>
</header>
<form>
<div class="inputs">
<div class="name">
<label for="name">Name</label>
<input type="text" id="name" required />
</div>
<div class="email">
<label for="email">E-mail</label>
<input
type="email"
id="email"
pattern="/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/"
size="30"
required
/>
</div>
</div>
<div class="message">
<label for="message">Message</label>
<textarea
id="message"
name="message"
rows="5"
columns="10"
placeholder="enter your message here"
></textarea>
</div>
<div class="buttons">
<button class="submit">Send message</button>
<button class="reset" type="reset">Reset</button>
</div>
</form>
<footer class="modal-footer">
<ul class="soc-media">
<li>
<a href="../../index.html" target="_blank" class="homepage"
><img
src="./assets/icons/logo.png"
alt="Logo icon"
id="modal-logo"
/></a>
</li>
<li>
<a
href="https://www.facebook.com/e.marekica"
target="_blank"
class="facebook"
>
<img
src="./assets/icons/facebook.png"
alt="Facebook icon"
id="modal-fb-img"
/>
</a>
</li>
<li>
<a
href="https://www.instagram.com/e.marekica.makes"
target="_blank"
class="instagram"
>
<img
src="./assets/icons/instagram.png"
alt="Instagram icon"
id="modal-insta-img"
/>
</a>
</li>
</ul>
</footer>
</div>
<!-- scripts -->
<!-- ANIMATION -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.0/gsap.min.js"
integrity="sha512-GQ5/eIhs41UXpG6fGo4xQBpwSEj9RrBvMuKyE2h/2vw3a9x85T1Bt0JglOUVJJLeyIUl/S/kCdDXlE/n7zCjIg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- scroll -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.8/ScrollMagic.min.js"></script>
<!-- combines animation & scroll -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/plugins/animation.gsap.js"></script>
<!-- MODAL -->
<!-- <script src="./src/contact/contact.js"></script> -->
<!-- MAIN SCRIPT -->
<script src="./src/home/home.js"></script>
</body>
</html>