-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChatPage.html
96 lines (90 loc) · 5.39 KB
/
ChatPage.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
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>
<head>
<title> WhatsUp !! </title>
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="flex-container">
<div class="contacts-window">
<div class ="top-bar">
<div style="display:flex; align-items: center; justify-content: center; padding-right: 10px;"><img src="icons/user-icon.png" height="50" width="50"></div>
<div><h3 style="visibility: hidden;">Z</h3></div>
</div>
<div class="search-bar">
<div style="display:flex; align-items: center; justify-content: center;"><img src="icons/search-icon.png" height="20" width="20" style="padding: 20;"></div>
<input id="search-contacts" style="height: 80%; width: 85%;" type="text" placeholder="Search for contacts...">
</div>
<div class="contact-card">
<div class="contact-item">
<div style="display: flex;">
<div style="display:flex; align-items: center; justify-content: center; padding-right: 10px;"><img src="icons/contact-icon.png" height="50" width="50"></div>
<h5 class="contact-name">Rohit</h4>
</div>
</div>
<div class="contact-item">
<div style="display: flex;">
<div style="display:flex; align-items: center; justify-content: center; padding-right: 10px;"><img src="icons/female.png" height="50" width="50"></div>
<h5 class="contact-name">Ayushi</h4>
</div>
<div style="display:flex; align-items: center; justify-content: center; padding-right: 10px;"><img src="icons/notification.png" height="30" width="30"></div>
</div>
<div class="contact-item">
<div style="display: flex;">
<div class="contact-image"><img src="icons/user.png" height="50" width="50"></div>
<h5 class="contact-name">Rahul</h4>
</div>
</div>
</div>
</div>
<div class="chat-window">
<div class="top-bar">
<div style="display: flex; justify-content: center;">
<div class="load-contact-image"><img src="icons/contact-icon.png" height="50" width="50"></div>
<div class="load-contact-name"><h3> Rohit </h3> </div>
</div>
<div style="display: flex; justify-content: center;">
<div style="display:flex; align-items: center; justify-content: center;"><img src="icons/search-icon.png" height="20" width="20" style="padding: 20;"></div>
</div>
</div>
<div class= "text-area">
<!-- load items in reverse older -->
<div class="text-box-other"> See you, Bye ! </div>
<div class="text-box-self"> Okay Bye !! </div>
<div class="text-box-self"> Same Here ! </div>
<div class="text-box-self"> Same Here ! </div>
<div class="text-box-self"> Same Here ! </div>
<div class="text-box-other"> Cant Wait </div>
<div class="text-box-other"> Cant Wait </div>
<div class="text-box-other"> Cant Wait </div>
<div class="text-box-other"> Sure Lets make a plan </div>
<div class="text-box-self"> Next time you come here, I will take you </div>
<div class="text-box-self"> Its an amazing place </div>
<div class="text-box-self"> You should definitely go !! </div>
<div class="text-box-other"> No not yet </div>
<div class="text-box-self"> Have you ever been to Meghalaya ? </div>
<div class="text-box-self"> We went to Meghalaya last weekend , it was amazing </div>
<div class="text-box-self"> I am having a good time ! </div>
<div class="text-box-other"> I am good, how are you ? </div>
<div class="text-box-self"> Hello how are you doing? </div>
</div>
<div>
<div class="message-box">
<div style="display:flex; align-items: center; justify-content: center; width:100%;">
<input id="typed-message" style="height:60%; width:100%; padding: 8px" type="text" placeholder="Type your message...">
</div>
<div style="display:flex; align-items: center; justify-content: center; padding: 2px ;">
<button style="border: none;">
<img width="40" height="40" src="icons/paper.png">
</button>
</div>
</div>
</div>
</div>
</div>
<script type="module" src="./script.js">
</script>
</body>
</html>