-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
223 lines (215 loc) · 6 KB
/
index.html
File metadata and controls
223 lines (215 loc) · 6 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE html>
<html
lang="en"
data-theme="light">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png" />
<link
rel="apple-touch-icon"
href="/apple-touch-icon.png" />
<link
rel="manifest"
href="/site.webmanifest" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=no" />
<title>
OzMapper - Melbourne & Sydney Geography Game | Explore Suburbs
</title>
<meta
name="description"
content="Test your Melbourne & Sydney geography skills with OzMapper! Explore suburbs, challenge friends, and become the ultimate city navigator." />
<meta
name="keywords"
content="Melbourne, Sydney, geography game, map explorer, suburbs, OzMapper, map game, leaflet, interactive map, geography quiz, find suburbs, learn suburbs" />
<link
rel="canonical"
href="https://ozmapper.app/" />
<!-- Open Graph Meta Tags -->
<meta
property="og:title"
content="OzMapper" />
<meta
property="og:description"
content="Test your Melbourne & Sydney geography skills! Find suburbs, challenge your friends, and become the ultimate city navigator!" />
<meta
property="og:image"
content="/og.png" />
<meta
property="og:url"
content="https://ozmapper.app/" />
<meta
property="og:type"
content="website" />
<!-- Twitter Meta Tags -->
<meta
name="twitter:card"
content="summary_large_image" />
<meta
name="twitter:title"
content="OzMapper" />
<meta
name="twitter:description"
content="Test your Melbourne & Sydney geography skills! Find suburbs, challenge your friends, and become the ultimate city navigator!" />
<meta
name="twitter:image"
content="/og.png" />
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "OzMapper",
"url": "https://ozmapper.app",
"description": "Test your Melbourne & Sydney geography skills with OzMapper! Explore suburbs, challenge friends, and become the ultimate city navigator."
}
</script>
</head>
<body>
<!-- map underlay-->
<section id="map"></section>
<!-- hero -->
<section
id="hero"
class="flex column justify-center align-center">
<h1 class="mb-M">OZ<small>MAPPER</small></h1>
<section
id="select-city-section"
class="mb-M">
<button data-city="melbourne">
<h2>Melbourne</h2>
</button>
<button data-city="sydney">
<h2>Sydney</h2>
</button>
<button data-city="brisbane">
<h2>Brisbane</h2>
</button>
<button data-city="perth">
<h2>Perth</h2>
</button>
<button data-city="adelaide">
<h2>Adelaide</h2>
</button>
<button data-city="darwin">
<h2>Darwin</h2>
</button>
<button data-city="hobart">
<h2>Hobart</h2>
</button>
</section>
<section
id="select-mode-section"
class="flex mb-M">
<button id="start_game">Guess Suburbs</button>
<button id="search_suburbs">Search Suburbs</button>
</section>
<section class="flex align-center gap-S mt-M">
<a
href="https://github.com/graf-semmel/melb-mapper"
target="_blank"
rel="noopener">
<img
src="/github.svg"
alt="GitHub"
width="32"
height="32" />
</a>
<a
href="https://bsky.app/profile/graf-semmel.bsky.social"
target="_blank"
rel="noopener">
<img
src="/bluesky.svg"
alt="Bluesky"
width="32"
height="32" />
</a>
</section>
<dialog
id="progress-dialog"
closedby="none">
<main>
<div class="loader-text"></div>
<div class="loader mt-M"></div>
</main>
</dialog>
</section>
<!-- search -->
<section
id="search"
class="flex column justify-center hidden">
<div class="flex column align-center">
<button
data-action="back-to-menu"
class="text-S">
Back to Menu
</button>
<h2 class="mb-M">
Search <strong><mark>Suburbs</mark></strong>
</h2>
<input
type="text"
id="input_suburbs"
placeholder="Enter a suburb"
list="list_suburbs" />
<datalist id="list_suburbs"></datalist>
</div>
</section>
<!-- game -->
<section
id="game"
class="flex column justify-center hidden">
<div class="flex column align-center">
<button
data-action="back-to-menu"
class="text-S">
Back to Menu
</button>
<hgroup>
<h2 id="text_suburb">Find <strong>Brunswick</strong></h2>
<p id="text_round">Round 1 of 5</p>
</hgroup>
</div>
<dialog id="summary">
<main class="flex column align-center">
<hgroup>
<h2>Game Finished</h2>
<p id="final_score">
Your total score is <strong class="text-L"><mark>0</mark></strong>
</p>
</hgroup>
<table id="table_summary">
<thead>
<tr>
<th></th>
<th>Suburb</th>
<th>Guess</th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
<button
id="play_again"
class="mb-M">
Play Again
</button>
</main>
</dialog>
</section>
<script
type="module"
src="./src/app.js"></script>
</body>
</html>