-
Notifications
You must be signed in to change notification settings - Fork 0
/
calls.html
247 lines (217 loc) · 15.9 KB
/
calls.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- favicon -->
<link rel="shortcut icon" href="https://e7.pngegg.com/pngimages/829/586/png-clipart-whatsapp-logo-whatsapp-logo-desktop-computer-icons-viber-grass-viber.png" type="image/x-icon">
<title>Calls | whatsapp</title>
<link rel="stylesheet" href="./assests/css/output.css">
</head>
<body class="bg-emerald-900 py-5">
<h1 class="text-white font-semibold text-center mb-5">Whatsapp UI challenge (Screen-3)</h1>
<section class="max-w-sm mx-auto">
<section>
<!-- Whatsapp Header section starts -->
<div class="bg-gray-900 text-gray-300 px-3 py-5 flex items-center justify-between space-x-2">
<h4 class="font-semibold text-lg">WhatsApp</h4>
<div class="flex gap-x-4">
<a href="" title="camera">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 24"
class="hover:cursor-pointer hover:text-emerald-600">
<path fill="currentColor"
d="M12 17.5q1.875 0 3.188-1.313T16.5 13q0-1.875-1.313-3.188T12 8.5q-1.875 0-3.188 1.313T7.5 13q0 1.875 1.313 3.188T12 17.5Zm0-2q-1.05 0-1.775-.725T9.5 13q0-1.05.725-1.775T12 10.5q1.05 0 1.775.725T14.5 13q0 1.05-.725 1.775T12 15.5ZM4 21q-.825 0-1.413-.588T2 19V7q0-.825.588-1.413T4 5h3.15L9 3h6l1.85 2H20q.825 0 1.413.588T22 7v12q0 .825-.588 1.413T20 21H4Zm0-2h16V7h-4.05l-1.825-2h-4.25L8.05 7H4v12Zm8-6Z" />
</svg>
</a>
<a href="" title="search">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 24"
class=" hover:cursor-pointer hover:text-emerald-600">
<g fill="none" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" d="m20 20l-6-6" />
<path d="M15 9.5a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0Z" />
</g>
</svg>
</a>
<a href="settings.html" title="view-settings">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 24"
class="hover:cursor-pointer hover:text-emerald-600">
<path fill="currentColor"
d="M12 16a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m0-6a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2Z" />
</svg>
</a>
</div>
</div>
<!-- Whatsapp Header section list starts -->
<ul class="bg-gray-900 text-gray-500 px-3 py-2 flex items-center justify-between">
<li>
<a href="community.html">
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 24 24"
clas="relative">
<path fill="currentColor"
d="M10.27 12h3.46a1.5 1.5 0 0 0 1.48-1.75l-.3-1.79a2.951 2.951 0 0 0-5.82.01l-.3 1.79c-.15.91.55 1.74 1.48 1.74zm-8.61-.89c-.13.26-.18.57-.1.88c.16.69.76 1.03 1.53 1h1.95c.83 0 1.51-.58 1.51-1.29c0-.14-.03-.27-.07-.4c-.01-.03-.01-.05.01-.08c.09-.16.14-.34.14-.53c0-.31-.14-.6-.36-.82c-.03-.03-.03-.06-.02-.1c.07-.2.07-.43.01-.65a1.12 1.12 0 0 0-.99-.74a.09.09 0 0 1-.07-.03C5.03 8.14 4.72 8 4.37 8c-.3 0-.57.1-.75.26c-.03.03-.06.03-.09.02a1.24 1.24 0 0 0-1.7 1.03c0 .02-.01.04-.03.06c-.29.26-.46.65-.41 1.05c.03.22.12.43.25.6c.03.02.03.06.02.09zm14.58 2.54c-1.17-.52-2.61-.9-4.24-.9c-1.63 0-3.07.39-4.24.9A2.988 2.988 0 0 0 6 16.39V18h12v-1.61c0-1.18-.68-2.26-1.76-2.74zm-15.02.93A2.01 2.01 0 0 0 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29c-.37-.06-.74-.1-1.13-.1c-.99 0-1.93.21-2.78.58zm21.56 0A6.95 6.95 0 0 0 20 14c-.39 0-.76.04-1.13.1c.4.68.63 1.46.63 2.29V18H24v-1.57c0-.81-.48-1.53-1.22-1.85zM22 11v-.5c0-1.1-.9-2-2-2h-2c-.42 0-.65.48-.39.81l.7.63c-.19.31-.31.67-.31 1.06c0 1.1.9 2 2 2s2-.9 2-2z" />
</svg>
</div>
</a>
</li>
<li class="flex items-center flex-1 justify-between">
<div class="ml-5 font-medium text-sm flex items-center ms-3">
<a href="index.html"><span class="hover:cursor-pointer"> Chats</span></a>
<span
class=" bg-gray-500 text-gray-900 text-xs p-0.5 rounded-full w-4 h-4 flex items-center justify-center ml-2">2</span>
</div>
<div class="ml-3 font-medium text-sm flex items-center justify-center">
<a href="about.html"><span>Updates</span></a>
</div>
<div
class="ml-3 font-medium text-sm flex items-center text-emerald-600 pe-6 relative justify-center">
<a href="calls.html"><span> Calls
</span></a>
<div class="absolute top-8 bg-emerald-600 w-24 h-1 "></div>
</div>
</li>
</ul>
<!-- whatsapp header section list ending -->
<!-- Whatsapp header section ends -->
</section>
<!-- calls section -->
<section class="bg-gray-950">
<section>
<!-- calls section content starting-->
<div class="px-3 py-4 flex items-center hover:cursor-pointer hover:bg-gray-900">
<div class="text-gray-300 p-2 bg-emerald-700 rounded-full w-12 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="32" viewBox="0 0 15 15">
<path fill="currentColor" fill-rule="evenodd"
d="M8.512 3.005c.676-.46 1.531-.468 2.167-.05c.144.094.298.244.71.656c.412.412.562.566.657.71c.417.636.408 1.49-.051 2.167c-.105.155-.267.32-.694.747l-.62.619a.5.5 0 0 0 .708.707l.619-.619l.043-.043c.37-.37.606-.606.771-.849c.675-.994.71-2.287.06-3.278c-.159-.241-.39-.472-.741-.823l-.045-.045l-.044-.045c-.352-.351-.583-.582-.824-.74c-.99-.65-2.284-.616-3.278.06c-.243.164-.48.4-.85.77l-.042.043l-.619.62a.5.5 0 1 0 .707.706l.62-.618c.426-.427.592-.59.746-.695ZM4.318 7.147a.5.5 0 0 0-.707-.707l-.619.618l-.043.043c-.37.37-.606.606-.771.85c-.675.993-.71 2.287-.06 3.277c.159.242.39.473.741.824l.045.045l.044.044c.352.351.583.583.824.741c.99.65 2.284.616 3.278-.06c.243-.165.48-.401.849-.771l.043-.043l.619-.619a.5.5 0 1 0-.708-.707l-.618.619c-.427.427-.593.59-.747.694c-.676.46-1.532.469-2.167.051c-.144-.094-.298-.245-.71-.657c-.412-.412-.562-.566-.657-.71c-.417-.635-.408-1.49.051-2.167c.105-.154.267-.32.694-.747l.619-.618Zm5.304-1.061a.5.5 0 0 0-.707-.708L5.379 8.914a.5.5 0 1 0 .707.707l3.536-3.535Z"
clip-rule="evenodd" />
</svg>
</div>
<div class="px-2 pl-4">
<span class="text-gray-300 font-medium text-sm">Create call link</span>
<p class="text-gray-500 text-sm">Share a link for your whatsapp call</p>
</div>
</div>
<!-- ending -->
</section>
<!-- contact section content start -->
<section>
<span class="text-gray-400 text-sm px-3 ml-2">Recent</span>
<!-- first person call -->
<section>
<div class="px-3 py-4 flex items-center justify-center hover:cursor-pointer hover:bg-gray-900 ">
<div >
<img src="https://cdn21.picryl.com/photo/1600/01/01/krishna-subduing-the-naga-kaliya-163f9f-1024.jpg" alt="Krishna Mathu profile" class="rounded-full w-12 h-12">
</div>
<div class="ps-4 pe-2 items-center flex flex-1 justify-between">
<div>
<span class="text-gray-300 font-medium text-sm">Krishna Mathumitha (2)</span>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 24 24"
class="text-green-400 pe-1">
<path fill="currentColor" d="M15 17H8.41L20 5.41L18.59 4L7 15.59V9H5v10h10z" />
</svg>
<p class="text-gray-500 text-sm"> 21 september,2:30 pm</p>
</div>
</div>
<div class="flex text-emerald-600 items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="28" viewBox="0 0 24 24">
<path fill="currentColor"
d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24c1.12.37 2.33.57 3.57.57c.55 0 1 .45 1 1V20c0 .55-.45 1-1 1c-9.39 0-17-7.61-17-17c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1c0 1.25.2 2.45.57 3.57c.11.35.03.74-.25 1.02l-2.2 2.2z" />
</svg>
</div>
</div>
</div>
</section>
<!-- second person call -->
<div class="px-3 py-4 flex items-center hover:cursor-pointer hover:bg-gray-900">
<div class="border border-gray-500 border-spacing-3 rounded-full h-18">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcmyBoBzdfJRDenikktMlFmhd3j6UV1_UO9A&usqp=CAU" alt="priya" class="w-12 h-12 rounded-full">
</div>
<div class="pe-2 ps-4 flex flex-1 justify-between items-center">
<div>
<span class="text-gray-300 font-medium text-sm">Priya & 3 others</span>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="34" viewBox="0 0 24 24"
class="text-green-400 pe-1">
<path fill="currentColor" d="M9 5v2h6.59L4 18.59L5.41 20L17 8.41V15h2V5H9z" />
</svg>
<p class="text-gray-500 text-sm">12 September, 9:30 am</p>
</div>
</div>
<div class="text-emerald-600">
<!-- video call icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="28" viewBox="0 0 24 24">
<path fill="currentColor"
d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z" />
</svg>
</div>
</div>
</div>
<!-- Third Person call -->
<div class="px-3 py-4 flex items-center hover:cursor-pointer hover:bg-gray-900">
<div class="w-12 h-12 rounded-full">
<img src="https://cdn.creazilla.com/illustrations/1662107/mother-child-mother-baby-illustration-md.jpeg" alt="karthika profile photo" class="rounded-full">
</div>
<div class="ps-4 pe-2 flex flex-1 justify-between items-center">
<div>
<span class="text-red-600 font-medium text-sm">Akka</span>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 24 24"
class="text-red-600 pe-1">
<path fill="currentColor" d="M20 5.41L18.59 4L7 15.59V9H5v10h10v-2H8.41L20 5.41z" />
</svg>
<p class="text-gray-500 text-sm">17 August, 6:30 pm</p>
</div>
</div>
<div class="text-emerald-600">
<!-- video call icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="28" viewBox="0 0 24 24"><path fill="currentColor" d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/></svg>
</div>
</div>
</div>
<!-- Fourth Person Status -->
<div class="px-3 py-4 flex items-center hover:cursor-pointer hover:bg-gray-900">
<div class="flex flex-col justify-center items-center">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwK1leVGa8krJYh0_UrQE912Z-VnsIH293XPBhTEhtyc0Z0VG0ub4gZM0bDFS8vXKAIyc&usqp=CAU" alt="ranjani" class="w-12 h-12 rounded-full">
</div>
<div class="ps-4 pe-2 flex flex-1 justify-between">
<div>
<span class="text-gray-300 font-medium text-sm">Ranjini & priya</span>
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 24 24"
class="text-green-400 pe-1">
<path fill="currentColor" d="M20 5.41L18.59 4L7 15.59V9H5v10h10v-2H8.41L20 5.41z" />
</svg>
<p class="text-gray-500 text-sm">28/02/2022, 09:30 pm</p>
</div>
</div>
<div class="flex text-emerald-600 items-center">
<!-- voice-call icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="28" viewBox="0 0 24 24">
<path fill="currentColor"
d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24c1.12.37 2.33.57 3.57.57c.55 0 1 .45 1 1V20c0 .55-.45 1-1 1c-9.39 0-17-7.61-17-17c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1c0 1.25.2 2.45.57 3.57c.11.35.03.74-.25 1.02l-2.2 2.2z" />
</svg>
</div>
</div>
</div>
</section>
<!-- calls section footer-->
<section>
<div>
<hr class="border-gray-700">
<div class="text-gray-400 px-3 py-3 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="32" viewBox="0 0 512 512">
<path
d="M86.4 480h339.2c12.3 0 22.4-9.9 22.4-22.1V246c0-12.2-10-22-22.4-22H404v-30.9c0-41.5-16.2-87.6-42.6-115.4-26.3-27.8-64-45.7-105.3-45.7h-.1-.1c-41.3 0-79 17.9-105.3 45.6C124.2 105.4 108 151.5 108 193v31H86.4C74 224 64 233.9 64 246v211.9c0 12.2 10 22.1 22.4 22.1zM161 193.1c0-27.3 9.9-61.1 28.1-80.3v-.3C206.7 93.9 231 83 255.9 83h.2c24.9 0 49.2 10.9 66.8 29.5v.2l-.1.1c18.3 19.2 28.1 53 28.1 80.3V224H161v-30.9z"
fill="currentColor" />
</svg>
<p class="text-xs ml-1"> Your personal calls are <span
class="text-emerald-600 text-xs hover:cursor-pointer">end-to-end
encrypted</span></p>
</div>
</div>
</section>
</section>
</section>
</body>
</html>