-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (53 loc) · 2.05 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
<!DOCTYPE html>
<html>
<head>
<title>i havent decided a name for this app yet...</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="chat/global/style.css">
<link rel="stylesheet" href="chat/personal/index.css">
<meta name="viewport" content="width=device-width, initial-scale=1" >
</head>
<body>
<nav class="nav">
<div>
<span>AppName</span>
</div>
</nav>
<div class="tabs">
<button class="btn btn-global">Gloabl</button>
<button class="btn btn-personal">Personal</button>
</div>
<div id="root" class="root"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.7/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.7/firebase-database.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.6.7/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyAfxbM2yqutF4-tSnNHoMeTffPV7vrSuXI",
authDomain: "myapp-e09.firebaseapp.com",
databaseURL: "https://myapp-e09.firebaseio.com",
projectId: "myapp-e09",
storageBucket: "myapp-e09.appspot.com",
messagingSenderId: "1022526773432",
appId: "1:1022526773432:web:c689cd9be775f6f4f4bc4d",
measurementId: "G-080CV7NTQW"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
$("#root").load('chat/global/chat.html')
$('.btn-global').addClass('active')
// var url = "/chats/global/script.js";
//$.getScript(url);
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="chat/global/script.js"></script>
</body>
</html>