-
Notifications
You must be signed in to change notification settings - Fork 1
/
post.html
518 lines (419 loc) · 15.3 KB
/
post.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
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta
content="width=device-width, initial-scale=1, shrink-to-fit=no"
name="viewport"
/>
<title>How to become a frontend developer | Atom Template</title>
<meta property="og:title" content="How to become a frontend developer | Atom Template" />
<meta property="og:locale" content="en_US" />
<link
rel="canonical"
href="//post"
/>
<meta
property="og:url"
content="//post"
/>
<meta
name="description"
content="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
/>
<link rel="icon" type="image/png" href="/assets/img/favicon.png" />
<meta name="theme-color" content="#5540af" />
<meta property="og:site_name" content="Atom Template" />
<meta property="og:image" content="//assets/img/social.jpg" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@tailwindmade" />
<link
crossorigin="crossorigin"
href="https://fonts.gstatic.com"
rel="preconnect"
/>
<link
as="style"
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Raleway:wght@400;500;600;700&display=swap"
rel="preload"
/>
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Raleway:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
href="https://unpkg.com/[email protected]/css/boxicons.min.css"
rel="stylesheet"
/>
<link
crossorigin="anonymous"
href="/assets/styles/main.min.css"
media="screen"
rel="stylesheet"
/>
<script
defer
src="https://unpkg.com/@alpine-collective/[email protected]/dist/cdn.min.js"
></script>
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/atom-one-dark.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js"></script>
<script>
hljs.highlightAll();
</script>
</head>
<body
:class="{ 'overflow-hidden max-h-screen': mobileMenu }"
class="relative"
x-data="{ mobileMenu: false }"
>
<div id="main" class="relative">
<div
x-data="{
triggerNavItem(id) {
$scroll(id)
},
triggerMobileNavItem(id) {
mobileMenu = false;
this.triggerNavItem(id)
}
}"
>
<div class="w-full z-50 top-0 py-3 sm:py-5 bg-primary ">
<div class="container flex items-center justify-between">
<div>
<a href="/">
<img src="/assets/img/logo.svg" class="w-24 lg:w-48" alt="logo image" />
</a>
</div>
<div class="hidden lg:block">
<ul class="flex items-center">
<li class="group pl-6">
<a
href="/#about"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>About</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#services"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Services</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#portfolio"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Portfolio</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#clients"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Clients</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#work"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Work</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#statistics"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Statistics</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#blog"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Blog</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
<li class="group pl-6">
<a
href="/#contact"
class="cursor-pointe pt-0.5 font-header font-semibold uppercase text-white"
>Contact</a
>
<span
class="block h-0.5 w-full bg-transparent group-hover:bg-yellow"
></span>
</li>
</ul>
</div>
<div class="block lg:hidden">
<button @click="mobileMenu = true">
<i class="bx bx-menu text-4xl text-white"></i>
</button>
</div>
</div>
</div>
<div
class="pointer-events-none fixed inset-0 z-70 min-h-screen bg-black bg-opacity-70 opacity-0 transition-opacity lg:hidden"
:class="{ 'opacity-100 pointer-events-auto': mobileMenu }"
>
<div
class="absolute right-0 min-h-screen w-2/3 bg-primary py-4 px-8 shadow md:w-1/3"
>
<button
class="absolute top-0 right-0 mt-4 mr-4"
@click="mobileMenu = false"
>
<img src="/assets/img/icon-close.svg" class="h-10 w-auto" alt="" />
</button>
<ul class="mt-8 flex flex-col">
<li class="py-2">
<a
href="/#about"
class="pt-0.5 font-header font-semibold uppercase text-white"
>About</a
>
</li>
<li class="py-2">
<a
href="/#services"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Services</a
>
</li>
<li class="py-2">
<a
href="/#portfolio"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Portfolio</a
>
</li>
<li class="py-2">
<a
href="/#clients"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Clients</a
>
</li>
<li class="py-2">
<a
href="/#work"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Work</a
>
</li>
<li class="py-2">
<a
href="/#statistics"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Statistics</a
>
</li>
<li class="py-2">
<a
href="/#blog"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Blog</a
>
</li>
<li class="py-2">
<a
href="/#contact"
class="pt-0.5 font-header font-semibold uppercase text-white"
>Contact</a
>
</li>
</ul>
</div>
</div>
<div><div class="container py-6 md:py-10">
<div class="mx-auto max-w-4xl">
<div class="">
<h1
class="pt-5 font-body text-3xl font-semibold text-primary sm:text-4xl md:text-5xl xl:text-6xl"
>
How to become a frontend developer
</h1>
<div class="flex items-center pt-5 md:pt-10">
<div>
<img
src="/assets/img/blog-author.jpg"
class="h-20 w-20 rounded-full border-2 border-grey-70 shadow"
alt="author image"
/>
</div>
<div class="pl-5">
<span class="block font-body text-xl font-bold text-grey-10"
>By Christy Smith</span
>
<span class="block pt-1 font-body text-xl font-bold text-grey-30"
>February 27, 2022</span
>
</div>
</div>
</div>
<div class="prose max-w-none pt-8"><h2 id="lorem-ipsum-dolor-sit-amet">Lorem ipsum dolor sit amet</h2>
<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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>
<h3 id="lorem-ipsum-dolor-sit-amet-1">Lorem ipsum dolor sit amet</h3>
<p>Possent quippe. Conata fera ab Hersilie iam auditur haesit. Culpa ignis retia Aonides ictus crescendo micantes, petere, ambustaque vicem in digitos iubet cornigeris.</p>
<ul>
<li>Iura demens satus vino simulac celanda</li>
<li>Exhibuere frustra utque</li>
<li>Iura demens satus vino simulac celanda</li>
<li>Exhibuere frustra utque</li>
<li>Panda pars umidus</li>
</ul>
<h4 id="lorem-ipsum-dolor-sit-amet-2">Lorem ipsum dolor sit amet</h4>
<p>Possent quippe. Conata fera ab Hersilie iam auditur haesit. Culpa ignis retia Aonides ictus crescendo micantes, petere, ambustaque vicem in digitos iubet cornigeris.</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>fonts.forEach(font => {
const { id, name, likes } = font;
if (
likes >= 30
|| (likes === 50 && likes != 0)
|| favorites[id]
) {
coolFonts++;
console.log(`${name} is cool!`);
}
});
</code></pre></div></div>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.</p>
</div>
<div class="flex pt-10">
<a
href="/"
class="rounded-xl bg-primary px-4 py-1 font-body font-bold text-white hover:bg-grey-20"
>Frontend</a
>
<a
href="/"
class="ml-2 block rounded-xl bg-primary px-4 py-1 font-body font-bold text-white hover:bg-grey-20"
>Design</a
>
</div>
<div class="mt-10 flex justify-between border-t border-lila py-12">
<a href="/" class="flex items-center">
<i class="bx bx-left-arrow-alt text-2xl text-primary"></i>
<span
class="block pl-2 font-body text-lg font-bold uppercase text-primary md:pl-5"
>Previous Post</span
>
</a>
<a href="/" class="flex items-center">
<span
class="block pr-2 font-body text-lg font-bold uppercase text-primary md:pr-5"
>Next Post</span
>
<i class="bx bx-right-arrow-alt text-2xl text-primary"></i>
</a>
</div>
<div
class="flex flex-col items-center border-t border-lila py-12 pt-12 md:flex-row md:items-start xl:pb-20"
>
<div class="w-3/4 sm:w-2/5 lg:w-1/4 xl:w-1/5">
<img
src="/assets/img/blog-author.jpg"
class="rounded-full shadow"
alt="author image"
/>
</div>
<div class="ml-0 text-center md:ml-10 md:w-5/6 md:text-left">
<h3 class="pt-10 font-body text-2xl font-bold text-secondary md:pt-0">
Christy Smith
</h3>
<p
class="pt-5 font-body text-lg leading-8 text-secondary sm:leading-9 md:text-xl md:leading-9 lg:leading-9 xl:leading-9"
>
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. Duis aute irure dolor in reprehenderit in voluptate velit.
</p>
<div class="flex items-center justify-center pt-5 md:justify-start">
<a href="/">
<i
class="bx bxl-facebook-square text-2xl text-primary hover:text-yellow"
></i>
</a>
<a href="/" class="pl-4">
<i
class="bx bxl-twitter text-2xl text-primary hover:text-yellow"
></i>
</a>
<a href="/" class="pl-4">
<i
class="bx bxl-dribbble text-2xl text-primary hover:text-yellow"
></i>
</a>
<a href="/" class="pl-4">
<i
class="bx bxl-linkedin text-2xl text-primary hover:text-yellow"
></i>
</a>
<a href="/" class="pl-4">
<i
class="bx bxl-instagram text-2xl text-primary hover:text-yellow"
></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-primary">
<div class="container flex flex-col justify-between py-6 sm:flex-row">
<p class="text-center font-body text-white md:text-left">
© Copyright 2022. All right reserved, ATOM.
</p>
<div class="flex items-center justify-center pt-5 sm:justify-start sm:pt-0">
<a href="/">
<i
class="bx bxl-facebook-square text-2xl text-white hover:text-yellow"
></i>
</a>
<a href="/" class="pl-4">
<i class="bx bxl-twitter text-2xl text-white hover:text-yellow"></i>
</a>
<a href="/" class="pl-4">
<i class="bx bxl-dribbble text-2xl text-white hover:text-yellow"></i>
</a>
<a href="/" class="pl-4">
<i class="bx bxl-linkedin text-2xl text-white hover:text-yellow"></i>
</a>
<a href="/" class="pl-4">
<i class="bx bxl-instagram text-2xl text-white hover:text-yellow"></i>
</a>
</div>
</div>
</div>
</div>
<script src="/assets/js/main.js"></script>
</body>
</html>