-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
110 lines (105 loc) · 4.49 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
<!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>Geek Alert</title>
<link rel="icon" href="/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Bungee+Shade" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
<link href="public/style.css" rel="stylesheet">
</head>
<body>
<header class="secondary-font has-info">
<span class="header__text">Geek</span>
<div id="headerIconContainer">
<div class="flipper">
<img class="front" src="public/images/icon.png" alt="Geeky & Fun logo" />
<img class="back" src="public/images/icon--flipped.png" alt="Geeky & Fun logo" />
</div>
<img id="offlineIcon" src="public/images/offline.png" />
</div>
<span class="header__text">Alert</span>
</header>
<div class="container">
<div id="messages-loading" class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
<div id="messagesWrapper"></div>
<footer>
<form id="messageForm">
<textarea placeholder="What are you thinking..."></textarea>
<button id="sendMessage" type="submit">
<span class="text">⚡ Alert ⚡</span>
<div class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</button>
</form>
</footer>
<div id="menu">
<div class="menu-content">
<h1>
<span id="geekPoints" class="secondary-font">0</span>
<span>geek points</span>
</h1>
<ol class="menu__ranks">
<li class="rank">
<img class="rank__icon" rel="prefetch" src="public/images/icon.png" />
<p class="rank__name secondary-font">
<span class="rank__title">Geek God</span>
<span class="rank__threshold">2000 geek points</span>
</p>
</li>
<li class="rank">
<img class="rank__icon" rel="prefetch" src="public/images/icon.png" />
<p class="rank__name secondary-font">
<span class="rank__title">Geek Master</span>
<span class="rank__threshold">1000 geek points</span>
</p>
</li>
<li class="rank rank--is-current">
<img class="rank__icon" rel="prefetch" src="public/images/icon.png" />
<p class="rank__name secondary-font">
<span class="rank__title">Geek</span>
<span class="rank__threshold">0 geek points</span>
</p>
</li>
</ol>
<hr />
<div class="form-group">
<input type="text" id="nameInput" placeholder="Name..." />
</div>
<p class="attribution"> 🤘 Geek Alert is a PWA app built for the
<a href="">Geeky & Fun</a> workshop 🚀</p>
</div>
</div>
</div>
<div id="overlay">
Click on the icon to toggle the menu!!!
</div>
<script src="appConfig.js" type="text/javascript"></script>
<script src="common.js" type="text/javascript"></script>
<script src="./public/scripts/interactive.js" type="text/javascript"></script>
<!-- FIREBASE-start -->
<script src="https://www.gstatic.com/firebasejs/4.9.0/firebase.js"></script>
<script>
var config = {
apiKey: "AIzaSyA6NrtU7Y-wcLH3UQnWDYNtRQvxWwYHTb4",
authDomain: "geek-alert.firebaseapp.com",
databaseURL: "https://geek-alert.firebaseio.com",
projectId: "geek-alert",
storageBucket: "",
messagingSenderId: "1044469279944"
};
firebase.initializeApp(config);
</script>
<!-- FIREBASE-end -->
<script src="./public/scripts/app.js" type="module"></script>
</body>
</html>