forked from laracasts/Laravel-From-Scratch-HTML-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
498 lines (429 loc) · 26.1 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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
<!doctype html>
<title>Laravel From Scratch Blog</title>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
<body style="font-family: Open Sans, sans-serif">
<section class="px-6 py-8">
<nav class="md:flex md:justify-between md:items-center">
<div>
<a href="/">
<img src="./images/logo.svg" alt="Laracasts Logo" width="165" height="16">
</a>
</div>
<div class="mt-8 md:mt-0">
<a href="/" class="text-xs font-bold uppercase">Home Page</a>
<a href="#" class="bg-blue-500 ml-3 rounded-full text-xs font-semibold text-white uppercase py-3 px-5">
Subscribe for Updates
</a>
</div>
</nav>
<header class="max-w-xl mx-auto mt-20 text-center">
<h1 class="text-4xl">
Latest <span class="text-blue-500">Laravel From Scratch</span> News
</h1>
<h2 class="inline-flex mt-2">By Lary Laracore <img src="./images/lary-head.svg"
alt="Head of Lary the mascot"></h2>
<p class="text-sm mt-14">
Another year. Another update. We're refreshing the popular Laravel series with new content.
I'm going to keep you guys up to speed with what's going on!
</p>
<div class="space-y-2 lg:space-y-0 lg:space-x-4 mt-8">
<!-- Category -->
<div class="relative flex lg:inline-flex items-center bg-gray-100 rounded-xl">
<select class="flex-1 appearance-none bg-transparent py-2 pl-3 pr-9 text-sm font-semibold">
<option value="category" disabled selected>Category
</option>
<option value="personal">Personal</option>
<option value="business">Business</option>
</select>
<svg class="transform -rotate-90 absolute pointer-events-none" style="right: 12px;" width="22"
height="22" viewBox="0 0 22 22">
<g fill="none" fill-rule="evenodd">
<path stroke="#000" stroke-opacity=".012" stroke-width=".5" d="M21 1v20.16H.84V1z">
</path>
<path fill="#222"
d="M13.854 7.224l-3.847 3.856 3.847 3.856-1.184 1.184-5.04-5.04 5.04-5.04z"></path>
</g>
</svg>
</div>
<!-- Other Filters -->
<div class="relative flex lg:inline-flex items-center bg-gray-100 rounded-xl">
<select class="flex-1 appearance-none bg-transparent py-2 pl-3 pr-9 text-sm font-semibold">
<option value="category" disabled selected>Other Filters
</option>
<option value="foo">Foo
</option>
<option value="bar">Bar
</option>
</select>
<svg class="transform -rotate-90 absolute pointer-events-none" style="right: 12px;" width="22"
height="22" viewBox="0 0 22 22">
<g fill="none" fill-rule="evenodd">
<path stroke="#000" stroke-opacity=".012" stroke-width=".5" d="M21 1v20.16H.84V1z">
</path>
<path fill="#222"
d="M13.854 7.224l-3.847 3.856 3.847 3.856-1.184 1.184-5.04-5.04 5.04-5.04z"></path>
</g>
</svg>
</div>
<!-- Search -->
<div class="relative flex lg:inline-flex items-center bg-gray-100 rounded-xl px-3 py-2">
<form method="GET" action="#">
<input type="text" name="search" placeholder="Find something"
class="bg-transparent placeholder-black font-semibold text-sm">
</form>
</div>
</div>
</header>
<main class="max-w-6xl mx-auto mt-6 lg:mt-20 space-y-6">
<article
class="transition-colors duration-300 hover:bg-gray-100 border border-black border-opacity-0 hover:border-opacity-5 rounded-xl">
<div class="py-6 px-5 lg:flex">
<div class="flex-1 lg:mr-8">
<img src="./images/illustration-1.png" alt="Blog Post illustration" class="rounded-xl">
</div>
<div class="flex-1 flex flex-col justify-between">
<header class="mt-8 lg:mt-0">
<div class="space-x-2">
<a href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 text-xs uppercase font-semibold"
style="font-size: 10px">Techniques</a>
<a href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 text-xs uppercase font-semibold"
style="font-size: 10px">Updates</a>
</div>
<div class="mt-4">
<h1 class="text-3xl">
This is a big title and it will look great on two or even three lines. Wooohoo!
</h1>
<span class="mt-2 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</span>
</div>
</header>
<div class="text-sm mt-2">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p class="mt-4">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<footer class="flex justify-between items-center mt-8">
<div class="flex items-center text-sm">
<img src="./images/lary-avatar.svg" alt="Lary avatar">
<div class="ml-3">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
<div class="hidden lg:block">
<a href="#"
class="transition-colors duration-300 text-xs font-semibold bg-gray-200 hover:bg-gray-300 rounded-full py-2 px-8"
>Read More</a>
</div>
</footer>
</div>
</div>
</article>
<div class="lg:grid lg:grid-cols-2">
<article
class="transition-colors duration-300 hover:bg-gray-100 border border-black border-opacity-0 hover:border-opacity-5 rounded-xl">
<div class="py-6 px-5">
<div>
<img src="./images/illustration-1.png" alt="Blog Post illustration" class="rounded-xl">
</div>
<div class="mt-8 flex flex-col justify-between">
<header>
<div class="space-x-2">
<a href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 text-xs uppercase font-semibold"
style="font-size: 10px">Techniques</a>
<a href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 text-xs uppercase font-semibold"
style="font-size: 10px">Updates</a>
</div>
<div class="mt-4">
<h1 class="text-3xl">
This is a big title and it will look great on two or even three lines. Wooohoo!
</h1>
<span class="mt-2 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</span>
</div>
</header>
<div class="text-sm mt-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p class="mt-4">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<footer class="flex justify-between items-center mt-8">
<div class="flex items-center text-sm">
<img src="./images/lary-avatar.svg" alt="Lary avatar">
<div class="ml-3">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
<div>
<a href="#"
class="transition-colors duration-300 text-xs font-semibold bg-gray-200 hover:bg-gray-300 rounded-full py-2 px-8"
>
Read More
</a>
</div>
</footer>
</div>
</div>
</article>
<article
class="transition-colors duration-300 hover:bg-gray-100 border border-black border-opacity-0 hover:border-opacity-5 rounded-xl">
<div class="py-6 px-5">
<div>
<img src="./images/illustration-2.png" alt="Blog Post illustration" class="rounded-xl">
</div>
<div class="mt-8 flex flex-col justify-between">
<header>
<div class="space-x-2">
<a href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 text-xs uppercase font-semibold"
style="font-size: 10px">Techniques</a>
<a href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 text-xs uppercase font-semibold"
style="font-size: 10px">Updates</a>
</div>
<div class="mt-4">
<h1 class="text-3xl">
This is a big title and it will look great on two or even three lines. Wooohoo!
</h1>
<span class="mt-2 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</span>
</div>
</header>
<div class="text-sm mt-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p class="mt-4">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<footer class="flex justify-between items-center mt-8">
<div class="flex items-center text-sm">
<img src="./images/lary-avatar.svg" alt="Lary avatar">
<div class="ml-3">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
<div>
<a href="#"
class="transition-colors duration-300 text-xs font-semibold bg-gray-200 hover:bg-gray-300 rounded-full py-2 px-8"
>
Read More
</a>
</div>
</footer>
</div>
</div>
</article>
</div>
<div class="lg:grid lg:grid-cols-3">
<article
class="transition-colors duration-300 hover:bg-gray-100 border border-black border-opacity-0 hover:border-opacity-5 rounded-xl">
<div class="py-6 px-5">
<div>
<img src="./images/illustration-3.png" alt="Blog Post illustration" class="rounded-xl">
</div>
<div class="mt-8 flex flex-col justify-between">
<header>
<div class="space-x-2">
<a href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 text-xs uppercase font-semibold"
style="font-size: 10px">Techniques</a>
<a href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 text-xs uppercase font-semibold"
style="font-size: 10px">Updates</a>
</div>
<div class="mt-4">
<h1 class="text-3xl">
This is a big title and it will look great on two or even three lines. Wooohoo!
</h1>
<span class="mt-2 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</span>
</div>
</header>
<div class="text-sm mt-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p class="mt-4">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<footer class="flex justify-between items-center mt-8">
<div class="flex items-center text-sm">
<img src="./images/lary-avatar.svg" alt="Lary avatar">
<div class="ml-3">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
<div>
<a href="#"
class="transition-colors duration-300 text-xs font-semibold bg-gray-200 hover:bg-gray-300 rounded-full py-2 px-8"
>Read More</a>
</div>
</footer>
</div>
</div>
</article>
<article
class="transition-colors duration-300 hover:bg-gray-100 border border-black border-opacity-0 hover:border-opacity-5 rounded-xl">
<div class="py-6 px-5">
<div>
<img src="./images/illustration-4.png" alt="Blog Post illustration" class="rounded-xl">
</div>
<div class="mt-8 flex flex-col justify-between">
<header>
<div class="space-x-2">
<a href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 text-xs uppercase font-semibold"
style="font-size: 10px">Techniques</a>
<a href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 text-xs uppercase font-semibold"
style="font-size: 10px">Updates</a>
</div>
<div class="mt-4">
<h1 class="text-3xl">
This is a big title and it will look great on two or even three lines. Wooohoo!
</h1>
<span class="mt-2 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</span>
</div>
</header>
<div class="text-sm mt-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p class="mt-4">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<footer class="flex justify-between items-center mt-8">
<div class="flex items-center text-sm">
<img src="./images/lary-avatar.svg" alt="Lary avatar">
<div class="ml-3">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
<div>
<a href="#"
class="transition-colors duration-300 text-xs font-semibold bg-gray-200 hover:bg-gray-300 rounded-full py-2 px-8"
>
Read More
</a>
</div>
</footer>
</div>
</div>
</article>
<article
class="transition-colors duration-300 hover:bg-gray-100 border border-black border-opacity-0 hover:border-opacity-5 rounded-xl">
<div class="py-6 px-5">
<div>
<img src="./images/illustration-5.png" alt="Blog Post illustration" class="rounded-xl">
</div>
<div class="mt-8 flex flex-col justify-between">
<header>
<div class="space-x-2">
<a href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 text-xs uppercase font-semibold"
style="font-size: 10px">Techniques</a>
<a href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 text-xs uppercase font-semibold"
style="font-size: 10px">Updates</a>
</div>
<div class="mt-4">
<h1 class="text-3xl">
This is a big title and it will look great on two or even three lines. Wooohoo!
</h1>
<span class="mt-2 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</span>
</div>
</header>
<div class="text-sm mt-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
<p class="mt-4">
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
</div>
<footer class="flex justify-between items-center mt-8">
<div class="flex items-center text-sm">
<img src="./images/lary-avatar.svg" alt="Lary avatar">
<div class="ml-3">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
<div>
<a href="#"
class="transition-colors duration-300 text-xs font-semibold bg-gray-200 hover:bg-gray-300 rounded-full py-2 px-8"
>
Read More
</a>
</div>
</footer>
</div>
</div>
</article>
</div>
</main>
<footer class="bg-gray-100 border border-black border-opacity-5 rounded-xl text-center py-16 px-10 mt-16">
<img src="./images/lary-newsletter-icon.svg" alt="" class="mx-auto -mb-6" style="width: 145px;">
<h5 class="text-3xl">Stay in touch with the latest posts</h5>
<p class="text-sm mt-3">Promise to keep the inbox clean. No bugs.</p>
<div class="mt-10">
<div class="relative inline-block mx-auto lg:bg-gray-200 rounded-full">
<form method="POST" action="#" class="lg:flex text-sm">
<div class="lg:py-3 lg:px-5 flex items-center">
<label for="email" class="hidden lg:inline-block">
<img src="./images/mailbox-icon.svg" alt="mailbox letter">
</label>
<input id="email" type="text" placeholder="Your email address"
class="lg:bg-transparent py-2 lg:py-0 pl-4 focus-within:outline-none">
</div>
<button type="submit"
class="transition-colors duration-300 bg-blue-500 hover:bg-blue-600 mt-4 lg:mt-0 lg:ml-3 rounded-full text-xs font-semibold text-white uppercase py-3 px-8"
>
Subscribe
</button>
</form>
</div>
</div>
</footer>
</section>
</body>