-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
400 lines (389 loc) · 15.2 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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.15/dist/tailwind.min.css"
rel="stylesheet"
/>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.0/flowbite.js"
integrity="sha512-BJ/5sR2hFxQTKin/55JQCcMTObShDBAmVjL/3NR/MVcrhyOazJjAgvROem03+HYyGw16SVdSfoWCFGr9syxAKA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<title>Tech People Blog</title>
</head>
<body class="">
<nav class="bg-gray-900 text-white">
<div
class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4"
>
<a href="/" class="flex items-center space-x-3 rtl:space-x-reverse">
<img src="images/logo.png" class="h-14" alt="TechPeople Logo" />
<span
class="self-center text-2xl font-semibold whitespace-nowrap"
><span class="text-indigo-400">Tech</span>People</span
>
</a>
<button
data-collapse-toggle="navbar-default"
type="button"
class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200"
aria-controls="navbar-default"
aria-expanded="false"
>
<span class="sr-only">Open main menu</span>
<svg
class="w-5 h-5"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 17 14"
>
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M1 1h15M1 7h15M1 13h15"
/>
</svg>
</button>
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
<ul
class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 text-white rounded-lg md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 border-gray-700"
>
<li>
<a
href="index.html"
class="block py-2 px-3 text-white rounded md:p-0 hover:text-indigo-400"
aria-current="page"
>Home</a
>
</li>
<li>
<a
href="articles.html"
class="block py-2 px-3 text-white rounded md:p-0 hover:text-indigo-400"
>All Articles</a
>
</li>
<li>
<a
href="about.html"
class="block py-2 px-3 text-white rounded md:p-0 hover:text-indigo-400"
>About</a
>
</li>
</ul>
</div>
</div>
</nav>
<section class="container mx-auto max-w-screen-xl mt-10 px-8">
<!-- Top Grid -->
<div class="grid grid-cols-1 gap-5 lg:grid-cols-2">
<div>
<h1 class="text-5xl font-bold mt-4 mb-8 leading-tight xl:text-6xl">
Articles, Stories & Tutorials for Tech People
</h1>
<form id="search-form" class="flex items-center">
<label for="search-input" class="sr-only">Search</label>
<div class="relative w-full">
<input
type="text"
id="query"
name="query"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-indigo-500 focus:border-indigo-500 block w-full p-2.5"
placeholder="Search articles..."
required
/>
</div>
<button
type="submit"
class="p-2.5 ms-2 text-sm font-medium text-white bg-indigo-700 rounded-lg border border-indigo-700 hover:bg-indigo-800 focus:ring-4 focus:outline-none focus:ring-indigo-300"
>
<svg
class="w-4 h-4"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 20 20"
>
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
/>
</svg>
<span class="sr-only">Search</span>
</button>
</form>
</div>
<!-- Most Recent Article -->
<div class="relative inline-block w-full sm:w-auto cursor-pointer rounded-2xl">
<a href="article.html">
<img src="images/image1.png" alt="Article Image" class="w-full h-auto rounded-2xl" />
<div
class="absolute inset-0 flex flex-col items-center justify-center bg-black opacity-80 hover:opacity-75 transition duration-300 ease-in-out text-white text-center rounded-2xl"
>
<div>
<h2 class="text-2xl font-semibold sm:text-3xl">
The best laptops for developers in 2024
</h2>
<p class="text-xl mt-4">January 20, 2024</p>
<!-- Tags with rounded border -->
<div class="flex mt-4 justify-center">
<span
class="px-2 py-1 border text-white rounded-full text-xs mr-2"
>Tech</span
>
<span
class="px-2 py-1 border text-white rounded-full text-xs mr-2"
>Hardware</span
>
</div>
</div>
</div>
</a>
</div>
</div>
<!-- Main Grid -->
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
<!-- Article Card -->
<div class="max-w-md mx-auto mt-10">
<div class="bg-white rounded-lg overflow-hidden shadow-lg">
<a href="article.html">
<img
src="images/image2.png"
alt="Article Image"
class="w-full h-48 object-cover hover:opacity-75 transition duration-300 ease-in-out"
/>
</a>
<div class="p-6">
<h2 class="text-2xl font-semibold mb-2">
<a href="article.html"> Guardian of the Digital Realm: Web Security </a>
</h2>
<p class="text-gray-600 text-sm mb-4">January 19, 2024</p>
<div class="flex flex-wrap gap-2">
<span
class="px-2 py-1 bg-blue-500 text-white rounded-full text-xs hover:opacity-90"
><a href="">Code</a></span
>
<span
class="px-2 py-1 bg-purple-500 text-white rounded-full text-xs hover:opacity-90"
><a href="#">Software</a></span
>
</div>
</div>
</div>
</div>
<!-- Article Card -->
<div class="max-w-md mx-auto mt-10">
<div class="bg-white rounded-lg overflow-hidden shadow-lg">
<a href="article.html">
<img
src="images/image3.png"
alt="Article Image"
class="w-full h-48 object-cover hover:opacity-75 transition duration-300 ease-in-out"
/>
</a>
<div class="p-6">
<h2 class="text-2xl font-semibold mb-2">
<a href="article.html"> Immerse in the Virtual World: VR Development </a>
</h2>
<p class="text-gray-600 text-sm mb-4">January 18, 2024</p>
<div class="flex flex-wrap gap-2">
<span
class="px-2 py-1 bg-blue-500 text-white rounded-full text-xs hover:opacity-90"
><a href="">VR</a></span
>
<span
class="px-2 py-1 bg-purple-500 text-white rounded-full text-xs hover:opacity-90"
><a href="#">Tech</a></span
>
</div>
</div>
</div>
</div>
<!-- Article Card -->
<div class="max-w-md mx-auto mt-10">
<div class="bg-white rounded-lg overflow-hidden shadow-lg">
<a href="article.html">
<img
src="images/image4.png"
alt="Article Image"
class="w-full h-48 object-cover hover:opacity-75 transition duration-300 ease-in-out"
/>
</a>
<div class="p-6">
<h2 class="text-2xl font-semibold mb-2">
<a href="article.html"> Elevate Your Mobile Experience with Samsung </a>
</h2>
<p class="text-gray-600 text-sm mb-4">January 17, 2024</p>
<div class="flex flex-wrap gap-2">
<span
class="px-2 py-1 bg-blue-500 text-white rounded-full text-xs hover:opacity-90"
><a href="">Smartphones</a></span
>
<span
class="px-2 py-1 bg-purple-500 text-white rounded-full text-xs hover:opacity-90"
><a href="#">Samsung</a></span
>
</div>
</div>
</div>
</div>
<!-- Article Card -->
<div class="max-w-md mx-auto mt-10">
<div class="bg-white rounded-lg overflow-hidden shadow-lg">
<a href="article.html">
<img
src="images/image5.png"
alt="Article Image"
class="w-full h-48 object-cover hover:opacity-75 transition duration-300 ease-in-out"
/>
</a>
<div class="p-6">
<h2 class="text-2xl font-semibold mb-2">
<a href="article.html"> Soaring to New Heights: The World of Drones</a>
</h2>
<p class="text-gray-600 text-sm mb-4">January 16, 2024</p>
<div class="flex flex-wrap gap-2">
<span
class="px-2 py-1 bg-blue-500 text-white rounded-full text-xs hover:opacity-90"
><a href="">Drones</a></span
>
<span
class="px-2 py-1 bg-purple-500 text-white rounded-full text-xs hover:opacity-90"
><a href="#">Tech</a></span
>
</div>
</div>
</div>
</div>
<!-- Article Card -->
<div class="max-w-md mx-auto mt-10">
<div class="bg-white rounded-lg overflow-hidden shadow-lg">
<a href="article.html">
<img
src="images/image6.png"
alt="Article Image"
class="w-full h-48 object-cover hover:opacity-75 transition duration-300 ease-in-out"
/>
</a>
<div class="p-6">
<h2 class="text-2xl font-semibold mb-2">
<a href="article.html"> Capturing Life's Moments with Canon Excellence</a>
</h2>
<p class="text-gray-600 text-sm mb-4">January 14, 2024</p>
<div class="flex flex-wrap gap-2">
<span
class="px-2 py-1 bg-blue-500 text-white rounded-full text-xs hover:opacity-90"
><a href="">Cameras</a></span
>
<span
class="px-2 py-1 bg-purple-500 text-white rounded-full text-xs hover:opacity-90"
><a href="#">Gadgets</a></span
>
</div>
</div>
</div>
</div>
<!-- Article Card -->
<div class="max-w-md mx-auto mt-10">
<div class="bg-white rounded-lg overflow-hidden shadow-lg">
<a href="article.html">
<img
src="images/image7.png"
alt="Article Image"
class="w-full h-48 object-cover hover:opacity-75 transition duration-300 ease-in-out"
/>
</a>
<div class="p-6">
<h2 class="text-2xl font-semibold mb-2">
<a href="article.html">
Unleash Creativity With These Cutting-Edge Tablets</a
>
</h2>
<p class="text-gray-600 text-sm mb-4">January 13, 2024</p>
<div class="flex flex-wrap gap-2">
<span
class="px-2 py-1 bg-blue-500 text-white rounded-full text-xs hover:opacity-90"
><a href="">Gadgets</a></span
>
<span
class="px-2 py-1 bg-purple-500 text-white rounded-full text-xs hover:opacity-90"
><a href="#">Tablets</a></span
>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="bg-indigo-900 text-white">
<div class="container mx-auto mt-10 max-w-screen-xl px-8">
<div class="grid grid-cols-1 gap-12 sm:grid-cols-2 lg:grid-cols-4">
<div class="mt-10">
<h3 class="text-xl font-semibold mb-4">About</h3>
<p class="text-white text-sm">
TechPeople is a blog for tech enthusiasts. We publish articles,
stories and tutorials about the latest technology trends and
advancements.
</p>
</div>
<div class="mt-10">
<h3 class="text-xl font-semibold mb-4">Categories</h3>
<ul class="text-white text-sm">
<li class="mb-2">
<a href="#">Tech</a>
</li>
<li class="mb-2">
<a href="#">Programming</a>
</li>
<li class="mb-2">
<a href="#">Gadgets</a>
</li>
<li class="mb-2">
<a href="#">Hardware</a>
</li>
<li class="mb-2">
<a href="#">Software</a>
</li>
<li class="mb-2">
<a href="#">VR</a>
</li>
<li class="mb-2">
<a href="#">Smartphones</a>
</li>
<li class="mb-2">
<a href="#">Cameras</a>
</li>
<li class="mb-2">
<a href="#">Drones</a>
</li>
</ul>
</div>
<div class="mt-10">
<h3 class="text-xl font-semibold mb-4">Contact</h3>
<ul class="text-white text-sm">
<li class="mb-2">
<a href="#">Email</a>
</li>
<li class="mb-2">
<a href="#">Twitter</a>
</li>
<li class="mb-2">
<a href="#">Facebook</a>
</li>
<li class="mb-2">
<a href="#">Instagram</a>
</li>
</ul>
</footer>
</body>
</html>