generated from comp1800/web_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (86 loc) · 3.27 KB
/
index.html
File metadata and controls
96 lines (86 loc) · 3.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>CryoCatcher</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Bootstrap Library CSS CDN go here -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<!-- Boostrap Library JS CDN go here -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"
></script>
<!-------------------------------------------------------->
<!-- Firebase 8 Library related CSS, JS, JQuery go here -->
<!-------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<link
type="text/css"
rel="stylesheet"
href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css"
/>
<!-- Other libraries go here -->
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<!-- Link to styles of your own ------------------>
<link rel="stylesheet" href="./styles/index.css" />
<link rel="stylesheet" href="./styles/global.css">
<link rel="icon" type="image/x-icon" href="/images/icons/favicon.ico" />
</head>
<body class="back_image">
<img class="logo" src="/images/transparent.png" alt="logo" />
<div class="container">
<h1>
<br />
Real-time disaster updates. Effortlessly delivered. <br /><br />
</h1>
<h2>
Avoid sudden hazards on your commute easily with our live map, no matter
how you're getting around.
<br /><br />
Help your community by telling us about issues as they happen, with a
submission process that takes seconds to fill out.
<br /><br />
Get started now!
</h2>
<br />
<div class="justify-content-md-start">
<a class="btn btn-secondary btn-lg px-4 me-md-2 navbar-custom" href="login.html">
Login / Sign Up
</a>
</div>
</div>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<!-- Link to scripts of your own -->
<script src="./scripts/firebaseAPI_team06.js"></script>
<script>
// log out user when the page is loaded
firebase
.auth()
.signOut()
.then(() => {
// Sign-out successful.
console.log("logging out user");
})
.catch((error) => {
// An error happened.
});
</script>
</body>
</html>