-
Notifications
You must be signed in to change notification settings - Fork 0
/
index3.html
239 lines (229 loc) · 9.25 KB
/
index3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tailwind Blog</title>
<!-- adding tailwind link -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- adding tailwind config -->
<script>
tailwind.config = {
theme: {
extend: {
colors: {
clifford: "#da373d",
},
},
},
};
</script>
</head>
<body class="font-serif">
<!-- container div -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-2">
<!-- adding header -->
<!-- first div -->
<div>
<nav id="navbar">
<div
class="bg-red-400 text-white font-bold align-center p-4 h-[30vh] md:h-[100vh]"
>
<!-- logo -->
<div class="text-[25px] mb-10">The Rundown📣</div>
<!-- links -->
<div>
<ul class="">
<li class="hover:text-red-900 mb-3"><a href="#">Home</a></li>
<li class="hover:text-red-900 mb-3"><a href="#">About </a></li>
<li class="hover:text-red-900 mb-3">
<a href="#">Stories </a>
</li>
<li class="hover:text-red-900 mb-3">
<a href="#">Contact </a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<!-- second div for second side-->
<div class="col-span-3 border-t-4 border-t-red-400">
<!-- adding feature section -->
<div id="features" class="mx-2 mb-10">
<div class="text-center font-bold my-5 text-[30px]">
Featured Posts
</div>
<!-- cards -->
<div id="cards" class="grid grid-cols-1 md:grid-cols-3 gap-2">
<!-- card1 -->
<div class="card bg-red-400 text-white font-bold p-4">
<div class="card-image mb-5">
<img
src="https://media.istockphoto.com/id/2148633256/photo/information-security-data-password-under-asterisks-login-on-device.jpg?s=1024x1024&w=is&k=20&c=-qAyz35olS4f0IBohephV4SwsL1Cbj6ikD2G_Fg5dCs="
alt="twitter"
/>
</div>
<div class="card-body">
<div class="card-title mb-5">Wizkids Twitter Post</div>
<div class="card text text-sm lowercase">
The Tweet That Broke The Internet This Week<br />
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Id
dicta atque laudantium similique architecto, commodi quis
ratione hic voluptatem, praesentium repellat fugit illum
dolorum libero quidem quasi ipsa labore! Eaque?
</div>
</div>
</div>
<!-- card2 -->
<div class="card bg-red-400 text-white font-bold p-4">
<div class="card-image mb-5">
<img
src="https://media.istockphoto.com/id/2148633256/photo/information-security-data-password-under-asterisks-login-on-device.jpg?s=1024x1024&w=is&k=20&c=-qAyz35olS4f0IBohephV4SwsL1Cbj6ikD2G_Fg5dCs="
alt="twitter"
/>
</div>
<div class="card-body">
<div class="card-title mb-5">Wizkids Twitter Post</div>
<div class="card text text-sm lowercase">
The Tweet That Broke The Internet This Week<br />
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Id
dicta atque laudantium similique architecto, commodi quis
ratione hic voluptatem, praesentium repellat fugit illum
dolorum libero quidem quasi ipsa labore! Eaque?
</div>
</div>
</div>
<!-- card3 -->
<div class="card bg-red-400 text-white font-bold p-4">
<div class="card-image mb-5">
<img
class="hover:border-white"
src="https://media.istockphoto.com/id/2148633256/photo/information-security-data-password-under-asterisks-login-on-device.jpg?s=1024x1024&w=is&k=20&c=-qAyz35olS4f0IBohephV4SwsL1Cbj6ikD2G_Fg5dCs="
alt="twitter"
/>
</div>
<div class="card-body">
<div class="card-title mb-5">Wizkids Twitter Post</div>
<div class="card text text-sm lowercase">
The Tweet That Broke The Internet This Week<br />
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Id
dicta atque laudantium similique architecto, commodi quis
ratione hic voluptatem, praesentium repellat fugit illum
dolorum libero quidem quasi ipsa labore! Eaque?
</div>
</div>
</div>
</div>
<!-- cards end -->
</div>
<!-- feature section end -->
<!-- adding category section -->
<div>
<div id="category-header" class="text-center text-[30px] font-bold">
Select The Category You Want News On
</div>
<ul
id="category-list"
class="flex gap-8 my-8 md:my-12 flex-wrap justify-center px-4 md:px-8 mb-10"
>
<!-- cat1 -->
<li
class="px-2 py-1 bg-red-100 text-red-800 text-lg md:text-xl rounded-lg border border-4 border-red-400 hover:bg-red-600 hover:text-white font-bold"
>
<a href="#">Sports</a>
</li>
<!-- cat2 -->
<li
class="px-2 py-1 bg-blue-100 text-blue-800 text-lg md:text-xl rounded-lg border border-4 border-blue-400 hover:bg-blue-600 hover:text-white font-bold"
>
<a href="#">Fashion</a>
</li>
<!-- cat3 -->
<li
class="px-2 py-1 bg-green-100 text-green-800 text-lg md:text-xl rounded-lg border border-4 border-green-400 hover:bg-green-600 hover:text-white font-bold"
>
<a href="#">Education</a>
</li>
<!-- cat4 -->
<li
class="px-2 py-1 bg-purple-100 text-purple-800 text-lg md:text-xl rounded-lg border border-4 border-purple-400 hover:bg-purple-600 hover:text-white font-bold"
>
<a href="#">Movies</a>
</li>
<!-- cat5 -->
<li
class="px-2 py-1 bg-pink-100 text-pink-800 text-lg md:text-xl rounded-lg border border-4 border-pink-400 hover:bg-pink-600 hover:text-white font-bold"
>
<a href="#">Music</a>
</li>
<!-- cat6 -->
<li
class="px-2 py-1 bg-orange-100 text-orange-800 text-lg md:text-xl rounded-lg border border-4 border-orange-400 hover:bg-orange-600 hover:text-white font-bold"
>
<a href="#">Gadgets</a>
</li>
<!-- cat7 -->
<li
class="px-2 py-1 bg-amber-100 text-amber-800 text-lg md:text-xl rounded-lg border border-4 border-amber-400 hover:bg-amber-600 hover:text-white font-bold"
>
<a href="#">Investment</a>
</li>
<!-- cat8 -->
<li
class="px-2 py-1 bg-pink-100 text-teal-800 text-lg md:text-xl rounded-lg border border-4 border-teal-400 hover:bg-teal-600 hover:text-white font-bold"
>
<a href="#">Business</a>
</li>
</ul>
</div>
<!-- category end -->
<!-- adding recent posts section -->
<div class="bg-red-400 text-white font-bold mx-3 p-3 pt-4">
<div class="text-center text-[30px] mb-5 underline">Recent Posts</div>
<div>
<ul>
<!-- list1 -->
<li class="border border-4 border-white p-4 text-lg mb-3">
<h1 class="text-[20px]">
"Omah Lay lays it on a little too thick"
</h1>
<p class="text-sm">Publication Date: April 24, 2024</p>
</li>
<!-- list2 -->
<li>
<h1>"Omah Lay lays it on a little too thick"</h1>
<p>Publication Date: April 24, 2024</p>
</li>
<!-- list3 -->
<li>
<h1>"Omah Lay lays it on a little too thick"</h1>
<p>Publication Date: April 24, 2024</p>
</li>
<!-- list4 -->
<li>
<h1>"Omah Lay lays it on a little too thick"</h1>
<p>Publication Date: April 24, 2024</p>
</li>
<!-- list5 -->
<li>
<h1>"Omah Lay lays it on a little too thick"</h1>
<p>Publication Date: April 24, 2024</p>
</li>
</ul>
</div>
</div>
</div>
<!-- second div end -->
</div>
<!-- adding icons link -->
<script
type="module"
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"
></script>
<script
nomodule
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"
></script>
</body>
</html>