forked from noreading/bootstrap5-webpack-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
461 lines (427 loc) · 17.1 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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta http-equiv="x-ua-compatible" content="ie=edge"/>
<title>Bootstrap 5 & WebPack 5 Boilerplate</title>
<link rel="stylesheet" href="dist/css/main.css"/>
</head>
<body>
<!-- NAVBAR -->
<nav class="nav-main navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand" href="#">Boilerplate Inc</a>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#nav-main"
aria-controls="nav-main"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="nav-main">
<ul class="navbar-nav me-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">
Home <span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Portfolio
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#html-and-css">HTML & CSS</a>
<a class="dropdown-item" href="#javascript">JavaScript</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#react">React</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
</ul>
<form class="d-flex"
action="index.html"
method="GET">
<div class="input-group">
<input class="form-control"
name="q"
type="search"
placeholder="Search"
aria-label="Search"/>
<button class="input-group-btn btn btn-primary" type="submit">Search</button>
</div>
</form>
</div>
</div>
<!-- /container -->
</nav>
<div class="container">
<!-- CAROUSEL -->
<div id="carousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-bs-target="#carousel" data-bs-slide-to="0" class="active"></li>
<li data-bs-target="#carousel" data-bs-slide-to="1"></li>
<li data-bs-target="#carousel" data-bs-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100"
srcset="
dist/images/slides/001-510x207.jpg 510w,
dist/images/slides/001-690x280.jpg 690w,
dist/images/slides/001-1110x547.jpg 1110w
"
src="dist/images/slides/001-1110x547.jpg"
alt="First slide"
/>
</div>
<div class="carousel-item">
<img
class="d-block w-100"
srcset="
dist/images/slides/002-510x207.jpg 510w,
dist/images/slides/002-690x280.jpg 690w,
dist/images/slides/002-1110x547.jpg 1110w
"
src="dist/images/slides/002-1110x547.jpg"
alt="Second slide"
/>
</div>
<div class="carousel-item">
<img
class="d-block w-100"
srcset="
dist/images/slides/003-510x207.jpg 510w,
dist/images/slides/003-690x280.jpg 690w,
dist/images/slides/003-1110x547.jpg 1110w
"
src="dist/images/slides/003-1110x547.jpg"
alt="Third slide"
/>
</div>
</div>
<a class="carousel-control-prev"
href="#carousel"
role="button"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</a>
<a class="carousel-control-next"
href="#carousel"
role="button"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</a>
</div>
<!-- JUMBOTRON -->
<section id="jumbotron" class="my-4">
<div class="bg-light p-5">
<h1>Hello, world!</h1>
<p>
This is a jumbotron example, that is used for many websites today and shows that Bootstrap is
successfully
loadedd, using all components. Bootstrap feature will help you to create the desired layouts.
</p>
<p>
<a class="btn btn-primary btn-lg"
href="https://getbootstrap.com/docs/4.1/components/jumbotron/"
role="button"
>Learn more</a>
</p>
</div>
</section>
<!-- BLOCKQUOTE -->
<figure class="my-4">
<blockquote class="blockquote" id="blockquote">
<p>
Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more
time.
</p>
</blockquote>
<figcaption class="blockquote-footer pl-3">
<cite title="Source Title">Thomas Edison</cite>
</figcaption>
</figure>
<!-- IMAGE CARDS -->
<section id="photos" class="mt-4">
<h3>Photos</h3>
<div class="row album">
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/001-210x210.jpg 210w,
dist/images/album/001-255x255.jpg 255w,
dist/images/album/001-510x510.jpg 510w
"
src="dist/images/album/001-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/002-210x210.jpg 210w,
dist/images/album/002-255x255.jpg 255w,
dist/images/album/002-510x510.jpg 510w
"
src="dist/images/album/002-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/003-210x210.jpg 210w,
dist/images/album/003-255x255.jpg 255w,
dist/images/album/003-510x510.jpg 510w
"
src="dist/images/album/003-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/004-210x210.jpg 210w,
dist/images/album/004-255x255.jpg 255w,
dist/images/album/004-510x510.jpg 510w
"
src="dist/images/album/004-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/005-210x210.jpg 210w,
dist/images/album/005-255x255.jpg 255w,
dist/images/album/005-510x510.jpg 510w
"
src="dist/images/album/005-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/006-210x210.jpg 210w,
dist/images/album/006-255x255.jpg 255w,
dist/images/album/006-510x510.jpg 510w
"
src="dist/images/album/006-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/007-210x210.jpg 210w,
dist/images/album/007-255x255.jpg 255w,
dist/images/album/007-510x510.jpg 510w
"
src="dist/images/album/007-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3">
<div class="mb-3 mb-md-4">
<img srcset="
dist/images/album/008-210x210.jpg 210w,
dist/images/album/008-255x255.jpg 255w,
dist/images/album/008-510x510.jpg 510w
"
src="dist/images/album/008-510x510.jpg"
alt="Nature: 1"
class="img-thumbnail"
/>
</div>
</div>
</div>
</section>
<!-- /photos -->
<!-- PROGRESS BARS -->
<section id="progress-bars">
<h3>Progress Bars</h3>
<div class="progress mb-3">
<div class="progress-bar bg-success"
role="progressbar"
style="width: 25%"
aria-valuenow="25"
aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<div class="progress mb-3">
<div class="progress-bar bg-info"
role="progressbar"
style="width: 50%"
aria-valuenow="50"
aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<div class="progress mb-3">
<div class="progress-bar bg-warning"
role="progressbar"
style="width: 75%"
aria-valuenow="75"
aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<div class="progress mb-3">
<div class="progress-bar bg-danger"
role="progressbar"
style="width: 100%"
aria-valuenow="100"
aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</section>
<!-- CONTACT FORM -->
<section id="contact-form" class="my-4">
<h3>Contact Form</h3>
<form name="contactform" action="mailto:spam@dominik-hanke.de" method="post">
<div class="mb-3">
<label for="name">Name</label>
<input type="text"
class="form-control"
id="name"
placeholder="Your name"/>
</div>
<div class="mb-3">
<label for="email">Email address</label>
<input type="email"
class="form-control"
id="email"
placeholder="Your email"/>
</div>
<div class="mb-3">
<label for="message">Message</label>
<textarea class="form-control"
id="message"
rows="6"></textarea>
</div>
<button type="submit" class="btn btn-primary">Send email</button>
</form>
</section>
<section id="drop-up-split" class="my-4">
<h3>DropUp Split Button</h3>
<div class="btn-group dropup">
<button type="button" class="btn btn-outline-secondary">
Main Action
</button>
<button type="button"
class="btn btn-secondary dropdown-toggle dropdown-toggle-split"
data-bs-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
</section>
<section id="tab-panel" class="my-4">
<h3 class="mb-3">Tab Panel</h3>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active"
id="home-tab"
data-bs-toggle="tab"
href="#home"
role="tab"
aria-controls="home"
aria-selected="true"
>Home</a>
</li>
<li class="nav-item">
<a class="nav-link"
id="profile-tab"
data-bs-toggle="tab"
href="#projects"
role="tab"
aria-controls="projects"
aria-selected="false"
>Projects</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active pt-3"
id="home"
role="tabpanel"
aria-labelledby="home-tab">
<p>This is a nice text about me...</p>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean
massa.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
</p>
</div>
<div class="tab-pane fade pt-3"
id="projects"
role="tabpanel"
aria-labelledby="project-tab">
<p>These are my projects...</p>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean
massa.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
</p>
</div>
</div>
</section>
<section id="dismissable-alerts my-4">
<h3 class="mb-3">Dismissable Alerts</h3>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Success!</strong> Your updates have been saved.
<button type="button"
class="btn-close"
data-bs-dismiss="alert"
aria-label="Close"></button>
</div>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<strong>Error!</strong> Please fill in all fields.
<button type="button"
class="btn-close"
data-bs-dismiss="alert"
aria-label="Close"></button>
</div>
</section>
<div class="mb-5"> </div>
</div>
<!-- /container -->
<script src="dist/js/main.js"></script>
</body>
</html>