-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
56 lines (51 loc) · 1.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chat Dashboard - Connectify</title>
<link rel="stylesheet" href="chat.css">
</head>
<body>
<div class="container">
<!-- Sidebar with Contacts and Profile -->
<div class="sidebar">
<div class="profile-section">
<img src="profile.jpg" alt="Profile" class="profile-pic">
<h3>Welcome, User!</h3>
<p>Status: Online</p>
</div>
<h2>Contacts</h2>
<input type="text" placeholder="Search contacts..." class="search-bar" id="contactSearch">
<ul class="contact-list" id="contactList">
<li class="contact" data-id="1">
<img src="user1.jpg" alt="John Doe" class="contact-pic">
<p>John Doe</p>
</li>
<li class="contact" data-id="2">
<img src="user2.jpg" alt="Jane Smith" class="contact-pic">
<p>Jane Smith</p>
</li>
<li class="contact" data-id="3">
<img src="user3.jpg" alt="Mike Johnson" class="contact-pic">
<p>Mike Johnson</p>
</li>
</ul>
</div>
<!-- Chat Area -->
<div class="chat-area">
<div class="chat-header" id="chatHeader">
Select a contact to start chatting
</div>
<div class="chat-box" id="chatBox">
<!-- Chat messages will appear here -->
</div>
<div class="input-area">
<input type="text" id="messageInput" placeholder="Type a message..." disabled>
<button id="sendButton" disabled>Send</button>
</div>
</div>
</div>
<script src="chat.js"></script>
</body>
</html>