-
Notifications
You must be signed in to change notification settings - Fork 52
/
index.html
711 lines (666 loc) · 23 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
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
<!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>
</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="
images/slides/001-510x207.jpg 510w,
images/slides/001-690x280.jpg 690w,
images/slides/001-1110x547.jpg 1110w
"
src="images/slides/001-1110x547.jpg"
alt="First slide"
/>
</div>
<div class="carousel-item">
<img
class="d-block w-100"
srcset="
images/slides/002-510x207.jpg 510w,
images/slides/002-690x280.jpg 690w,
images/slides/002-1110x547.jpg 1110w
"
src="images/slides/002-1110x547.jpg"
alt="Second slide"
/>
</div>
<div class="carousel-item">
<img
class="d-block w-100"
srcset="
images/slides/003-510x207.jpg 510w,
images/slides/003-690x280.jpg 690w,
images/slides/003-1110x547.jpg 1110w
"
src="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="
images/album/001-210x210.jpg 210w,
images/album/001-255x255.jpg 255w,
images/album/001-510x510.jpg 510w
"
src="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="
images/album/002-210x210.jpg 210w,
images/album/002-255x255.jpg 255w,
images/album/002-510x510.jpg 510w
"
src="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="
images/album/003-210x210.jpg 210w,
images/album/003-255x255.jpg 255w,
images/album/003-510x510.jpg 510w
"
src="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="
images/album/004-210x210.jpg 210w,
images/album/004-255x255.jpg 255w,
images/album/004-510x510.jpg 510w
"
src="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="
images/album/005-210x210.jpg 210w,
images images/album/005-255x255.jpg 255w,
images/album/005-510x510.jpg 510w
"
src="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="
images/album/006-210x210.jpg 210w,
images/album/006-255x255.jpg 255w,
images/album/006-510x510.jpg 510w
"
src="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="
images/album/007-210x210.jpg 210w,
images/album/007-255x255.jpg 255w,
images/album/007-510x510.jpg 510w
"
src="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="
images/album/008-210x210.jpg 210w,
images/album/008-255x255.jpg 255w,
images/album/008-510x510.jpg 510w
"
src="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:[email protected]"
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" class="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>
<section id="tooltips" class="my-4">
<h3 class="mb-3">Tooltips</h3>
<button
type="button"
class="btn btn-secondary"
data-bs-toggle="tooltip"
data-bs-placement="top"
title="Tooltip on top"
>
Tooltip on top
</button>
<button
type="button"
class="btn btn-secondary"
data-bs-toggle="tooltip"
data-bs-placement="right"
title="Tooltip on right"
>
Tooltip on right
</button>
<button
type="button"
class="btn btn-secondary"
data-bs-toggle="tooltip"
data-bs-placement="bottom"
title="Tooltip on bottom"
>
Tooltip on bottom
</button>
<button
type="button"
class="btn btn-secondary"
data-bs-toggle="tooltip"
data-bs-placement="left"
title="Tooltip on left"
>
Tooltip on left
</button>
</section>
<section id="popovers" class="my-4">
<h3 class="mb-3">Popover</h3>
<button
type="button"
class="btn btn-secondary"
data-bs-container="body"
data-bs-toggle="popover"
data-bs-placement="top"
data-bs-content="Top popover"
>
Popover on top
</button>
<button
type="button"
class="btn btn-secondary"
data-bs-container="body"
data-bs-toggle="popover"
data-bs-placement="right"
data-bs-content="Right popover"
>
Popover on right
</button>
<button
type="button"
class="btn btn-secondary"
data-bs-container="body"
data-bs-toggle="popover"
data-bs-placement="bottom"
data-bs-content="Bottom popover"
>
Popover on bottom
</button>
<button
type="button"
class="btn btn-secondary"
data-bs-container="body"
data-bs-toggle="popover"
data-bs-placement="left"
data-bs-content="Left popover"
>
Popover on left
</button>
</section>
<section id="toasts" class="my-4">
<h4 class="mb-3">Toasts</h4>
<p>
You can use links or buttons to trigger toasts, as this boilerplate includes a small JS script
to handle this for you.
</p>
<p>
To use a button add the attributes <code>data-bs-toggle</code> and <code>data-bs-target</code> to it.<br>
<button class="btn btn-secondary" data-bs-toggle="toast" data-bs-target"#demoToastOne">...</button>
</p>
<p>
To use a link add the attributes <code>data-bs-toggle</code> and <code>href</code> to it.<br>
<a href="#demoToastOne" data-bs-toggle="toast">...</a>
</p>
<button
type="button"
class="btn btn-secondary me-2"
data-bs-toggle="toast"
data-bs-target="#demoToastOne"
>
Show first toast
</button>
<a
data-bs-toggle="toast"
href="#demoToastTwo"
>
Show second toast
</a>
</section>
<div class="mb-5"> </div>
</div>
<!-- /container -->
<!-- Toasts -->
<div class="position-fixed top-0 end-0 p-3" style="z-index: 11">
<div class="toast-container position-static">
<!-- First toast -->
<div
id="demoToastOne"
class="toast text-bg-success"
role="alert"
aria-live="assertive"
aria-atomic="true"
>
<div class="toast-header">
<strong class="me-auto">Bootstrap</strong>
<small>just now</small>
<button
type="button"
class="btn-close"
data-bs-dismiss="toast"
aria-label="Close"
></button>
</div>
<div class="toast-body">
Hello, world! This is a toast message.
</div>
</div><!-- /toast -->
<!-- Second toast -->
<div
id="demoToastTwo"
class="toast text-bg-danger"
role="alert"
aria-live="assertive"
aria-atomic="true"
>
<div class="toast-header">
<strong class="me-auto">Bootstrap</strong>
<small>just now</small>
<button
type="button"
class="btn-close"
data-bs-dismiss="toast"
aria-label="Close"
></button>
</div>
<div class="toast-body">
Hello, world! This is a toast message.
</div>
</div><!-- /toast -->
</div><!-- /toast-container -->
</div>
</body>
</html>