forked from FirebaseExtended/firestore-leaderboards-codelab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 2.44 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
<!doctype html>
<!--
Copyright 2022 Google LLC. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Learn build leaderboards with Firestore">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Firestore Leaderboard</title>
<!-- Material Design Components -->
<link rel="stylesheet"
href="https://unpkg.com/material-components-web@14.0.0/dist/material-components-web.min.css">
<script src="https://unpkg.com/material-components-web@14.0.0/dist/material-components-web.min.js"></script>
<!-- App Styling -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="/styles/main.css">
</head>
<body class="mdc-typography">
<div>
<main>
<h1 class="mdc-typography--headline3">
Welcome to the leaderboards codelab!
<a href="https://developer.chrome.com/docs/devtools/open/">
Open up Chrome DevTools to get started.</a>
</h1>
</main>
</div>
<script src="https://www.gstatic.com/firebasejs/9.14.0/firebase-app.js" type="module"></script>
<script src="https://www.gstatic.com/firebasejs/9.14.0/firebase-auth.js" type="module"></script>
<script src="https://www.gstatic.com/firebasejs/9.14.0/firebase-firestore.js" type="module"></script>
<script src="https://www.gstatic.com/firebasejs/9.14.0/firebase-functions.js" type="module"></script>
<script type="module">
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.14.0/firebase-app.js";
fetch('/__/firebase/init.json').then(async response => {
const app = initializeApp(await response.json());
});
</script>
<script src="./scripts/leaderboard.js" type="module"></script>
</body>
</html>