-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (38 loc) · 1.61 KB
/
index.html
File metadata and controls
42 lines (38 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<title>Snappy</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" />
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
</head>
<body class="homepage">
<div class="main">
<h1 class="logo">Snappy</h1>
<p class="tagline">
An instant chat platform.
</p>
<button id="signin-button" class="button">Sign in with Google</button>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-database.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyD19ccr603yUarAw0RnEXIUAqkB_DbzidA",
authDomain: "snappy-chat-3a813.firebaseapp.com",
databaseURL: "https://snappy-chat-3a813.firebaseio.com",
projectId: "snappy-chat-3a813",
storageBucket: "snappy-chat-3a813.appspot.com",
messagingSenderId: "45027166197",
appId: "1:45027166197:web:d282ed96b305c2a9"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script type="text/javascript" src="functions.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>