-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (56 loc) · 3.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dish Tracker</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;1,300;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Yellowtail&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark text-dark d-flex justify-content-center">
<a class="navbar-brand m-0" id="brand" href="index.html">Dish Tracker</a>
</nav>
<main class="d-flex flex-column">
<section class='d-flex flex-column'>
<button class='btn btn-success py-2 my-3 mx-auto button-colors' id='use-my-loc'><h3>Use My Location</h3></button>
<h3 class='text-center'>OR</h3>
<form class='d-flex justify-content-center my-3' id='zip-form'>
<label for='zipcode' class='my-1'>5-digit Zip  </label>
<br>
<input type='text' id='zip' name='zip' placeholder='Enter 5-digit zip' required pattern="(^\d{5}$)">
<input type='submit' value="Let's Go!" class='btn btn-info btn-sm ml-2'>
</form>
<button class='btn btn-warning py-2 my-3 mx-auto btn-lg' id='to-dish-list'>Take me to my Dish List</button>
</section>
<hr>
<section class="d-flex justify-content-center flex-column">
<h2 class='d-flex justify-content-center'>Restaurants</h2>
<div class='justify-content-center' id='rest-list'>
</div>
</section>
<section class="d-flex justify-content-center flex-column">
<h2 class='d-flex justify-content-center'>Menu</h2>
<div class='justify-content-center' href='#menu-list' id='menu-list'></div>
</section>
<section class="d-flex justify-content-center flex-column">
<h2 class='d-flex justify-content-center'>Dish List</h2>
<div class='justify-content-center' href='#dish-list' id='dish-list'></div>
</section>
</main>
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<script src="./assets/js/globals.js" type="text/JavaScript"></script>
<script src="./assets/js/api.js" type="text/JavaScript"></script>
<script src="./assets/js/getUserLocation.js" type="text/JavaScript"></script>
<script src="./assets/js/showRestaurants.js" type="text/JavaScript"></script>
<script src="./assets/js/pagination.js" type="text/JavaScript"></script>
<script src="./assets/js/renderModal.js" type="text/JavaScript"></script>
<script src="./assets/js/showMenu.js" type="text/JavaScript"></script>
<script src="./assets/js/renderDishList.js" type="text/JavaScript"></script>
</body>
</html>