-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (87 loc) · 5.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Doogie: Enhancing Dog Owners' Dining Joy!</title>
<meta name="description" content="DogFreindlyRestaurant">
<meta name="author" content="hannahmoon">
<link rel="stylesheet" href="style.css">
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- Import JQuery for API & Ajax -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Google MAP API -->
<!-- <script defer scr="https://maps.googleapis.com/maps/api/js?key=AIzaSyDdvA9WofIox6gT8UCLUSd_hKFS9GXuCKs&callback&callback=initMap"></script> -->
</head>
<body>
<div class="header">
<h1><img src="assets/doogieTextLogo.png" alt="logo"></h1>
<h3>Enhancing Dog Owners' Dining Joy!</h3>
</div>
<!-- Add style value to avoid "0" value input -->
<div class="googleMap" id="map" style="height: 600px;"></div>
<!-- Modal -->
<div class="modal fade" id="restaurantModal" tabindex="-1" role="dialog" aria-labelledby="restaurantModal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="restaurantModal">The Best Dog Friendly Restaurant</h4>
<!-- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button> -->
</div>
<!-- Trigger the modal on click - Anywhere on the map -->
<div class="modal-body">
<!------------ { Try new image grid } ------------>
<div class="image-grid">
<img class="image-grid-col-2 image-grid-row-2" id="foody" alt="" src="https://i.pinimg.com/564x/5b/c1/a0/5bc1a041c298234fc0c5d5b6d1bd6b67.jpg">
<img class="dog" id="bow" alt="" src="https://cdn.vox-cdn.com/thumbor/pigIGKY6X8HRmMS8Q8eHDkM2mqY=/0x0:4762x3604/1200x900/filters:focal(2001x1422:2761x2182)/cdn.vox-cdn.com/uploads/chorus_image/image/60187643/Wilson_Dog_Menu_62.6.jpg">
<img class="dog" id="wow" alt="" src="https://assets-global.website-files.com/61605770a2776f05aa1e318c/6537f44347779cb927570c9b_Best%20Dog%20Friendly%20Restaurants%20in%20Highlands%20Ranch%20-%20MAIN.png">
</div>
<!-- Fake business information -->
<div class="modal-body">
<h5 class="nameOfDish" id="foodName"></h4>
<br><p> <b>Located in:</b> Beautiful Place<br>
<b>Address:</b> Best place to live<br>
<b>Hours:</b> <span style="color: green;">Open</span> Closes at 9pm<br>
<b>Menu:</b><link rel="theporch" herf="https://www.dineattheporch.com/schenley/menu"> thebestdogfriendlyrestaurant.com</p>
</div>
</div>
<div class="modal-footer">
<!-- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> -->
<button id="seeMoreBtn" class="tempBtn">See food pictures and furry visitors</button>
<!-- <button type="button" class="btn btn-primary" onclick="changeImg()">See more</button> -->
</div>
</div>
</div>
</div>
<!-- <a href="#" data-bs-toggle="modal" data-bs-target="#restaurantModal">open</a> -->
<!-- Button trigger modal -->
<button type="button" herf="#" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#restaurantModal">
Explore
</button>
</body>
<script>
// Auto focus setting
// $('#myModal').on('shown.bs.modal', function () {
// $('#myInput').trigger('focus')
// })
</script>
<script type="module" defer src="index.js"></script>
<script type="module" defer src="googleMap.js"></script>
<!-- <script type="module" defer src="tryMap.js"></script> -->
<script type="module" defer src="openModal.js"></script>
<!-- Google Bootstrap loader: Library does not get loaded until it is called -->
<script>
(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})({
key: "AIzaSyDdvA9WofIox6gT8UCLUSd_hKFS9GXuCKs",
});
</script>
<!-- Bootsrap -->
<script defer src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
<!-- Axio library -->
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</html>