-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (93 loc) · 4.37 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
<!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">
<title>Pokedex by Ricky Saull</title>
<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=Reggae+One&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="dist/styles.min.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top shadow p-3 mb-5 rounded">
<div class="container">
<a class="navbar-brand" href="#">
<img class="nav_img" src="img/pokedex-logo.png" alt="logo"/>
</a>
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">
Home <span class="visually-hidden">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://rmscode.com">
My Website
</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/rmscode/pokedex">
Github Repo
</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://pokeapi.co/">
PokeAPI
</a>
</li>
</ul>
</div>
</div>
<!-- I haven't figured out how to make this search bar work yet, but it's nice to look at -->
<!-- <form class="form-inline">
<input class="form-control" type="search" placeholder="Search Pokemon . . ." aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form> -->
</nav>
</header>
<main class="container page-container">
<div class="pokedex-device d-none d-sm-block">
<img src="img/pokedex-device.gif" alt="pokedex device">
</div>
<!-- jQuery modal container below -->
<div class="modal fade" id="modal-container" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title text-center">Modal Title</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body text-center">
. . .
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- content below will be created by function addListItem(pokemon) -->
<div class="pokedex p-xl-5 p-lg-4 p-3">
<div class="container-fluid p-md-3">
<div class="row justify-content-center"></div>
</div>
</div>
</main>
<!-- load scripts -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="js/promise-polyfill.js"></script>
<script src="js/fetch-polyfill.js"></script>
<script src="dist/scripts.min.js"></script>
</body>
</html>