-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchat.html
More file actions
73 lines (66 loc) · 3.81 KB
/
chat.html
File metadata and controls
73 lines (66 loc) · 3.81 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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chat</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</link>
<link rel="stylesheet" href="/assets/dist/tailwind.css">
<script src="/assets/dist/tailwind.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.1/flowbite.min.css" rel="stylesheet" />
<meta name="description"
content="Engage in real-time conversations with professionals in your network on Constellation Networking.">
<meta name="keywords" content="Constellation Networking, chat, real-time conversation, professional communication">
<meta name="author" content="Constellation Networking Team">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
rel="stylesheet">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FTXQ5HF0C5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-FTXQ5HF0C5');
</script>
<!-- Firebase -->
<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="assets/js/firebase_init.js"></script>
</head>
<body class="bg-gray-100">
<nav class="flex items-center justify-between px-6 py-2 bg-white border-b shadow-sm h-14">
<a href="index.html" class="text-2xl font-bold text-gray-800 hover:text-blue-600">Constellation</a>
<div class="space-x-4">
<a href="missions.html" class="text-gray-700 hover:text-blue-500 font-medium">Missions</a>
<a href="connections.html" class="text-gray-700 hover:text-blue-500 font-medium">Connections</a>
<a href="rewards.html" class="text-gray-700 hover:text-blue-500 font-medium">Rewards</a>
<a href="account.html" class="text-gray-700 hover:text-blue-500 font-medium">Account</a>
</div>
</nav>
<div class="flex" style="height: calc(100vh - 3.5rem);">
<!-- Sidebar -->
<div class="w-1/4 bg-white border-r overflow-y-auto">
<div class="p-4">
<input id="user-search-email" placeholder="Search users..." class="w-full px-4 py-2 border rounded-lg" />
</div>
<ul id="chat-sidebar-list" class="divide-y"></ul>
</div>
<!-- Chat Window -->
<div class="flex-1 flex flex-col">
<div id="chat-header" class="p-4 border-b bg-white font-bold text-xl">Chat</div>
<div id="chat-messages" class="flex-1 p-4 overflow-y-auto space-y-4"></div>
<div class="p-4 flex border-t bg-white">
<input id="chat-input" placeholder="Type your message..." class="flex-1 px-4 py-2 border rounded-full" />
<button id="send-btn" class="ml-2 px-4 py-2 bg-blue-500 text-white rounded-full">Send</button>
</div>
</div>
</div>
<script src="/assets/js/chat.js"></script>
</body>
</html>