-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
230 lines (228 loc) · 8.23 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<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=Plus+Jakarta+Sans:wght@400;500;800&display=swap"
rel="stylesheet"
/>
<script src="https://cdn.tailwindcss.com"></script>
<title>Frontend Mentor | Notifications page</title>
</head>
<body
class="font-jakarta md:bg-[#f7fafd] w-screen h-screen md:flex md:flex-col md:items-center md:justify-center"
>
<main class="md:max-w-3xl bg-white rounded-lg shadow-md">
<header class="my-5 mx-5">
<nav class="flex justify-between">
<div class="flex items-center">
<p class="text-black text-xl font-extrabold">Notifications</p>
<span
id="badge"
class="ml-3 bg-[#0a317b] px-3 rounded-md text-white font-bold"
>3</span
>
</div>
<button
id="readAll"
class="text-gray-500 font-semibold hover:text-[#0a317b]"
>
Mark all as read
</button>
</nav>
</header>
<section class="px-5 mb-5">
<article
class="px-3 py-3 mb-3 bg-[#f7fafd] rounded-md flex gap-3 transition-colors ease-in delay-300"
data-unread
>
<img
src="assets/images/avatar-mark-webber.webp"
alt="mark-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Mark Webber</a
>
reacted to your recent post
<a href="#" class="text-[#5e6778] font-bold hover:text-[#0a317b]"
>My first tournament today!
</a>
<span
data-circle
class="w-2.5 h-2.5 rounded-full bg-[#f65351] inline-block transition-colors ease-in delay-300"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold">1m ago</span>
</div>
</article>
<article
class="px-3 py-3 mb-3 bg-[#f7fafd] rounded-md flex gap-3 transition-colors ease-in delay-300"
data-unread
>
<img
src="assets/images/avatar-angela-gray.webp"
alt="angela-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Angela Gray</a
>
followed you
<span
data-circle
class="w-2.5 h-2.5 rounded-full bg-[#f65351] inline-block transition-colors ease-in delay-300"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold">5m ago</span>
</div>
</article>
<article
class="px-3 py-3 mb-3 bg-[#f7fafd] rounded-md flex gap-3 transition-colors ease-in delay-300"
data-unread
>
<img
src="assets/images/avatar-jacob-thompson.webp"
alt="angela-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Jacob Thompson</a
>
has joined your group
<a href="#" class="text-[#0a317b] font-bold hover:text-[#0a317b]"
>Chess Club</a
>
<span
data-circle
class="w-2.5 h-2.5 rounded-full bg-[#f65351] inline-block transition-colors ease-in delay-300"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold"
>1 day ago</span
>
</div>
</article>
<article class="px-3 py-3 mb-3 bg-transparent rounded-md flex gap-3">
<img
src="assets/images/avatar-rizky-hasanuddin.webp"
alt="angela-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Rizky Hasanuddin</a
>
sent you a private message
<span
class="w-2.5 h-2.5 rounded-full bg-transparent inline-block"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold"
>5 days ago</span
>
<div class="border rounded-md px-3 py-4 mt-2 hover:bg-[#e5effa]">
<p class="text-sm text-[#5e6778]/80 font-medium">
Hello, thanks for setting up the Chess Club. I've been a member
for a few weeks now and I'm already having lots of fun and
improving my game.
</p>
</div>
</div>
</article>
<article class="px-3 py-3 mb-3 bg-transparent rounded-md flex gap-3">
<img
src="assets/images/avatar-kimberly-smith.webp"
alt="angela-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Kimberly Smith</a
>
sent you a private message
<span
class="w-2.5 h-2.5 rounded-full bg-transparent inline-block"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold"
>1 week ago</span
>
</div>
<img
src="assets/images/image-chess.webp"
alt="Chess club"
class="w-12 h-12"
/>
</article>
<article class="px-3 py-3 mb-3 bg-transparent rounded-md flex gap-3">
<img
src="assets/images/avatar-nathan-peterson.webp"
alt="mark-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Nathan Peterson</a
>
reacted to your recent post
<a href="#" class="text-[#5e6778] font-bold hover:text-[#0a317b]"
>5 end-game strategies to increase your win rate
</a>
<span
class="w-2.5 h-2.5 rounded-full bg-transparent inline-block"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold"
>2 weeks ago</span
>
</div>
</article>
<article class="px-3 py-3 mb-3 bg-transparent rounded-md flex gap-3">
<img
src="assets/images/avatar-anna-kim.webp"
alt="angela-avatar"
class="w-10 h-10"
/>
<div class="flex flex-col">
<p class="text-sm text-[#5e6778]/80 font-medium">
<a href="#" class="text-black font-bold hover:text-[#0a317b]"
>Anna Kim</a
>
left the group
<a href="#" class="text-[#0a317b] font-bold hover:text-[#0a317b]"
>Chess Club</a
>
<span
class="w-2.5 h-2.5 rounded-full bg-transparent inline-block"
></span>
</p>
<span class="text-[#939dae]/60 text-sm font-semibold"
>2 weeks ago</span
>
</div>
</article>
</section>
</main>
<script src="index.js"></script>
</body>
</html>