-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (70 loc) · 3.31 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>
<!-- Import CSS -->
<link rel="stylesheet" href="css/mainStyle.css">
<!-- Scale page to display width -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicons -->
<title>What Should I Eat?</title>
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicons/favicon-16x16.png">
<link rel="manifest" href="./assets/favicons/site.webmanifest">
<!-- Meta -->
<meta name="title" property="og:title" content="What Should I Eat?"/>
<meta name="description" property="og:description" content="Can't decide what to eat?
We'll help you pick, and find places nearby. What Should I Eat is free and open-source, with no ads or tracking."/>
<meta name="keywords" content="What Should I Eat, Food Picker, What to eat, pick food for me"/>
<meta name="image" property="og:image" content="https://whatshouldieat.app/assets/images/ogimage.png"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://whatshouldieat.app"/>
</head>
<body>
<div class="main">
<!-- Title-->
<div class="header">
<h1 class="title">What Should I Eat?</h1>
</div>
<!-- Main Card Container -->
<div id="mainCardContainer" class="mainCardContainer">
<!-- Main Card -->
<div class="mainCard">
<!-- Spinner -->
<div id="spinnerBorder" class="spinnerBorder">
<div id="spinner" class="spinner">
<img class="dieIcon" alt="Image of a game die" id="foodIcon" src="./assets/images/die.webp">
<p id="foodResultText" class="foodResultText">Spin the wheel!</p>
</div>
</div>
<!-- Spinner Buttons -->
<div id="spinnerButtons">
<input type="button" class="spin" id="spinButton" value="Spin" onclick="animateSpinWheel()"><br>
<a href="javascript:openOptions()" class="optionsLink" id="optionsLink">Options</a>
</div>
<!-- Options Menu -->
<div id="optionsMenu" class="optionsMenu">
<h2 class="options"> Options </h2>
<input type="button" id="exitOptions" class="exitOptions" onclick="exitOptions()" value="Exit">
<div id="optionsFoodList" class="optionsFoodList">
</div>
</div>
</div>
</div>
<!-- Bottom Sheet -->
<div id="bottomSheet" class="bottomSheet" style="display: none;">
<a id="openMapsLink" href="null" target="_blank" rel="noopener noreferrer" disabled>
<input type="button" class="openMaps" id="openMapsButton" value="null"><br>
</a>
</div>
</div>
<!-- Import JavaScipt -->
<script type="text/javascript" src="./scripts/main.js" defer></script>
<!-- PWA Stuff -->
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</body>
</html>