-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
90 lines (85 loc) · 4.66 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 name="viewport" content="width=device-width, initial-scale=1.0">
<title>When2Eat in Evanston</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/6.3.1/d3.min.js" integrity="sha512-9H86d5lhAwgf2/u29K4N5G6pZThNOojI8kMT4nT4NHvVR02cM85M06KJRQXkI0XgQWBpzQyIyr8LVomyu1AQdw==" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap" rel="stylesheet">
</head>
<body>
<div id="map-one"></div>
<section class="top-content">
<h1 class="article-hed">When2Eat in Evanston</h1>
<p class="article-subhed">Last updated Jan. 21, 2021</p>
<p class="article-dek">Whether you're looking for a late-night bite or a new brunch spot, enter a time and a day of the week and we'll let you know which Evanston restaurants are open!</p>
<p class="article-disclaimer">Please remember to wear a mask and follow social distancing guidelines – we recommend takeout or delivery!</p>
<p id="article-dek-mobile">Whether you're looking for a late-night bite or a new brunch spot, enter a time and a day of the week and we'll let you know which Evanston restaurants are open!</p>
<p id="article-disclaimer-mobile">Please remember to wear a mask and follow social distancing guidelines – we recommend takeout or delivery!</p>
<div class="input-container">
<p id="error-alert" class="hidden">Please enter a valid minute (0-59)</p>
<form id="time-input" onsubmit="event.preventDefault();">
<div class="input-plus-label">
<label for="hour">Hour</label>
<select name="hour" id="hourInput">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<p id="time-colon">:</p>
<div class="input-plus-label">
<label for="minute">Minute</label>
<input type="number" id="minuteInput" name="minute" min="0" max="59">
</div>
<div class="input-plus-label">
<label for="period"><br></label>
<select name="period" id="period">
<option value="AM">a.m.</option>
<option value="PM">p.m.</option>
</select>
</div>
</form>
<div class="input-plus-label" id="weekday-input">
<label for="weekday">Day</label>
<select name="weekday" id="weekday">
<option value="0">Sunday</option>
<option value="1">Monday</option>
<option value="2">Tuesday</option>
<option value="3">Wednesday</option>
<option value="4">Thursday</option>
<option value="5">Friday</option>
<option value="6">Saturday</option>
</select>
</div>
<button id="submitForm">What's open?</button>
</div>
<div class="clock">
<h3 class="clock-flavor">What's open at:</h2>
<h3 id="clockText">12:00 a.m.</h3>
</div>
<p class="click-instructions" style="font-weight: 300;">Click on a restaurant name to see more details:</p>
<ol id="restaurant-list">
</ol>
<footer class="article-credits"><p>Designed and developed by <a href="https://northbynorthwestern.com/author/david/" target="_blank">David Deloso</a> for <a href="https://northbynorthwestern.github.io/" target="_blank">NBN Interactive.</a></p> <p>Concept and additional data collection by <a href="https://northbynorthwestern.com/author/joseph/" target="_blank">Joseph Ramos</a></p> <p>Notice an incorrect schedule or missing Evanston restaurant? <a href="mailto:[email protected]" target="_blank">Let David know.</a></p><p style="text-align: center;"><a href="https://northbynorthwestern.com/">back to northbynorthwestern.com</a></p></footer>
</section>
</body>
<script src="main.js"></script>
</html>