-
Notifications
You must be signed in to change notification settings - Fork 1
/
chats.html
154 lines (144 loc) · 7.81 KB
/
chats.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chats</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body background="b2.jpg">
<div class="container mx-auto">
<div class="min-w-full border rounded lg:grid lg:grid-cols-3">
<div class="border-r border-gray-300 lg:col-span-1">
<div class="mx-3 my-3">
<a href="roommate.html" class="text-gray-900 inline-flex items-center mt-4">Go Back
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-2" viewBox="0 0 24 24">
</svg>
</a>
<div class="relative text-gray-600">
<span class="absolute inset-y-0 left-0 flex items-center pl-2">
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
viewBox="0 0 24 24" class="w-6 h-6 text-gray-300">
<path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</span>
<input type="search" class="block w-full py-2 pl-10 bg-gray-100 rounded outline-none" name="search"
placeholder="Search" required />
</div>
</div>
<ul class="overflow-auto h-[32rem]">
<h2 class="my-2 mb-2 ml-2 text-lg text-gray-600">Chats</h2>
<li>
<a
class="flex items-center px-3 py-2 text-sm transition duration-150 ease-in-out border-b border-gray-300 cursor-pointer hover:bg-gray-100 focus:outline-none">
<img class="object-cover w-10 h-10 rounded-full"
src="https://cdn.pixabay.com/photo/2018/09/12/12/14/man-3672010__340.jpg" alt="username" />
<div class="w-full pb-2">
<div class="flex justify-between">
<span class="block ml-2 font-semibold text-gray-600">Ray Pandey</span>
<span class="block ml-2 text-sm text-gray-600">50 minutes</span>
</div>
<span class="block ml-2 text-sm text-gray-600">Ya Helloooo!!</span>
</div>
</a>
<a
class="flex items-center px-3 py-2 text-sm transition duration-150 ease-in-out bg-gray-100 border-b border-gray-300 cursor-pointer focus:outline-none">
<img class="object-cover w-10 h-10 rounded-full"
src="https://cdn.pixabay.com/photo/2016/06/15/15/25/loudspeaker-1459128__340.png" alt="username" />
<div class="w-full pb-2">
<div class="flex justify-between">
<span class="block ml-2 font-semibold text-gray-600">Felix</span>
<span class="block ml-2 text-sm text-gray-600">60 minutes</span>
</div>
<span class="block ml-2 text-sm text-gray-600">Hows it going bros</span>
</div>
</a>
<a
class="flex items-center px-3 py-2 text-sm transition duration-150 ease-in-out border-b border-gray-300 cursor-pointer hover:bg-gray-100 focus:outline-none">
<img class="object-cover w-10 h-10 rounded-full"
src="https://cdn.pixabay.com/photo/2018/01/15/07/51/woman-3083383__340.jpg" alt="username" />
<div class="w-full pb-2">
<div class="flex justify-between">
<span class="block ml-2 font-semibold text-gray-600">Asta Dazai</span>
<span class="block ml-2 text-sm text-gray-600">3 hours</span>
</div>
<span class="block ml-2 text-sm text-gray-600">Ohayoo Gozaimas</span>
</div>
</a>
</li>
</ul>
</div>
<div class="hidden lg:col-span-2 lg:block">
<div class="w-full">
<div class="relative flex items-center p-3 border-b border-gray-300">
<img class="object-cover w-10 h-10 rounded-full"
src="https://cdn.pixabay.com/photo/2018/01/15/07/51/woman-3083383__340.jpg" alt="username" />
<span class="block ml-2 font-bold text-gray-600">Felix</span>
<span class="absolute w-3 h-3 bg-green-600 rounded-full left-10 top-3">
</span>
</div>
<div class="relative w-full p-6 overflow-y-auto h-[40rem]">
<ul class="space-y-2">
<li class="flex justify-start">
<div class="relative max-w-xl px-4 py-2 bg-gray-100 rounded shadow">
<span class="block">Hi</span>
</div>
</li>
<li class="flex justify-end">
<div class="relative max-w-xl px-4 py-2 bg-indigo-100 rounded shadow">
<span class="block">Yo</span>
</div>
</li>
<li class="flex justify-end">
<div class="relative max-w-xl px-4 py-2 text-indigo-900 bg-indigo-100 rounded shadow">
<span class="block">how are you?</span>
</div>
</li>
<li class="flex justify-start">
<div class="relative max-w-xl px-4 py-2 bg-gray-100 rounded shadow">
<span class="block">Just fine I guess. This Project is taking a huge toll on my head.
</span>
</div>
</li>
</ul>
</div>
<div class="flex items-center justify-between w-full p-3 border-t border-gray-300">
<button>
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 text-gray-500" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</button>
<button>
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-gray-500" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13" />
</svg>
</button>
<input type="text" placeholder="Message"
class="block w-full py-2 pl-4 mx-3 bg-gray-100 rounded-full outline-none focus:text-gray-700"
name="message" required />
<button>
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-gray-500" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z" />
</svg>
</button>
<button type="submit">
<svg class="w-5 h-5 text-gray-500 origin-center transform rotate-90" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20" fill="currentColor">
<path
d="M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z" />
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>