-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (52 loc) · 2.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css?family=Aref+Ruqaa|Nunito" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<header>
<img id="dragon-img" src="img/dragon.png">
<div id="title">
<h1>Croeso i Caerdydd!</h1>
<p>Culture and Libation in the Welsh Capital</p>
</div>
</header>
<button id="toggle-nav" data-bind="click: toggleNav, css: {open: isOpen()}">
<img id="nav-img" src="img/menu.png" alt="open nav" width="20px" height="20px">
</button>
<main>
<nav id="nav" data-bind="css: {open: isOpen()}">
<form>
<input id="search-box" type="text" data-bind="textInput: filter">
<div class="buttons">
<input class="filter-button fltr" type="submit" value="Filter" data-bind="click: applyFilter">
<input class="filter-button reset" type="submit" value="Reset Filters" data-bind="click: resetFilter">
</div>
</form>
<div class="results">
<ul id="result-list" data-bind="foreach: list">
<li class="list-item" data-bind="text: title, event: {mouseover: animate, mouseout: stopAnimation, click: populateInfoWindowViaLink}"></li>
</ul>
<div id="weather" data-bind="html: weather">
</div>
</div>
</nav>
<div id="map" data-bind="css: {full: !isOpen()}">
</div>
</main>
<footer>
<p>Venue info from <a href="https://foursquare.com">Foursquare.</a> Weather info from <a href="weathermap.org/">OpenWeatherMap.</a>
Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
</footer>
<script src="js/lib/jQuery-3.3.1.js"></script>
<script src="js/lib/knockout-3.4.2.js"></script>
<script src="js/app.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDxUo2Bwjg7bxW1jihSlASP2mLO18D_CxU&v=3&callback=initMap&libraries=places">
</script>
</body>
</html>