-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (80 loc) · 3.48 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
<!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">
<title>Home | D&D Fetch API</title>
<!-- importing Sass -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sass.js/0.9.2/sass.min.js"
integrity="sha512-mA5b7w9mZvGLWgjIqp9KhWNzkkZ/H3gC4Ua6GOn9m/xl1UF4ghH8GsriKvAYxLsxoKvn6NdebW7kZ6iGB3CGSg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!-- importing Bootstrap -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<!-- importing custom style -->
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="/">D&D db</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/classes.html">Classes</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/news.html">News</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="titleBanner container-fluid text-center mb-5">
<h1>D&D database</h1>
</div>
<main class="introContainer mb-5">
<div>
<p>Hello and welcome!</p>
<p>
I created this project using fetch api and got the data on this public api: <a
href="https://www.dnd5eapi.co/" target="blank">https://www.dnd5eapi.co/</a> .
</p>
<p>Right now there aren't a lot of content to browse on the site because I made it to include it in my
portfolio for demonstration purposes, but keep an eye on it!
</p>
<p>In the future I might decide to add
something else. 😁</p>
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<a href="/classes.html" type="button" class="btn btn-primary">Classes</a>
<a href="/news.html" type="button" class="btn btn-primary">News</a>
</div>
</main>
<!-- <div>
<ul id="clsList">
</ul>
</div> -->
<!-- bootstrap js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8"
crossorigin="anonymous"></script>
<!-- custom js -->
<script src="./script.js"></script>
</body>
<div class="container-fluid">
<div class="row">
<footer class="text-center">
This site was made with HTML, SASS, vanilla JS, Fetch API and ❤️
</footer>
</div>
</div>
</html>