-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.html
197 lines (189 loc) · 7.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Laravel From Scratch Blog</title>
<script src="https://cdn.tailwindcss.com"></script>
<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=Open+Sans:wght@400;600;700&display=swap"
rel="stylesheet"
/>
</head>
<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 text-black 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>
<main class="max-w-6xl mx-auto mt-6 lg:mt-20 space-y-6">
<article
class="lg:grid lg:grid-cols-12 gap-x-10 max-w-4xl mx-auto pt-10"
>
<div class="col-span-4 text-center">
<img src="./images/illustration-1.png" alt="" class="rounded-xl" />
<p class="mt-4 block text-gray-400 text-xs">
Published <time>1 day ago</time>
</p>
<div class="flex items-center justify-center text-sm mt-4">
<img src="./images/lary-avatar.svg" alt="Lary avatar" />
<div class="ml-3 text-left">
<h5 class="font-bold">Lary Laracore</h5>
<h6>Mascot at Laracasts</h6>
</div>
</div>
</div>
<div class="col-span-8">
<div class="flex justify-between mb-6 -mt-10">
<a
href="#"
class="transition-colors duration-300 text-lg inline-flex items-center hover:text-blue-500"
>
<svg
class="mr-2"
width="19"
height="19"
viewBox="0.83 1 20.15 20.15"
>
<g fill="none" fill-rule="evenodd">
<path
stroke="#000"
stroke-opacity=".012"
stroke-width=".5"
d="M21 1v20.16H.84V1z"
></path>
<path
class="fill-current"
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>
Back to Posts</a
>
<div class="space-x-2">
<a
href="#"
class="px-3 py-1 border border-blue-300 rounded-full text-blue-300 font-semibold text-xs uppercase"
>Techniques</a
>
<a
href="#"
class="px-3 py-1 border border-red-300 rounded-full text-red-300 font-semibold text-xs uppercase"
>Updates</a
>
</div>
</div>
<h1 class="font-bold text-4xl mb-10">
This is a big title and it will look great on two or even three
lines. Wooohoo!
</h1>
<div class="space-y-4 text-lg">
<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>
Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
</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.
</p>
<h2 class="font-bold text-lg">Sed quia consequuntur</h2>
<p>
Magni dolores eos qui ratione voluptatem sequi nesciunt. Neque
porro quisquam est, qui dolorem ipsum quia dolor sit amet,
consectetur, adipisci velit, sed quia non numquam eius modi
tempora incidunt ut labore et dolore magnam aliquam quaerat
voluptatem.
</p>
<p>
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>
<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>
Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
</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.
</p>
</div>
</div>
</article>
</main>
<footer
class="py-16 px-10 mt-16 mt-15 bg-gray-100 border border-black border-opacity-5 rounded-xl text-center"
>
<img
src="./images/lary-newsletter-icon.svg"
alt="newsletter"
class="mx-auto"
/>
<h5 class="text-3xl">Stay in touch with the latest posts</h5>
<p class="text-sm">Promise to keep the inbox clean. No bugs.</p>
<div class="mt-10 inline-block mx-auto lg:bg-gray-200 rounded-full">
<form action="/" method="POST" class="lg:flex text-sm">
<div class="flex items-center lg:py-3 lg:px-5">
<label for="email" class="hidden lg:inline">
<img src="./images/mailbox-icon.svg" alt="mailbox letter" />
</label>
<input
id="email"
type="text"
placeholder="Your email address"
class="lg:bg-transparent focus-within:outline-none pl-4"
/>
</div>
<button
type="submit"
class="bg-blue-500 lg:ml-3 mt-4 lg:mt-0 rounded-full text-xs font-semibold text-white uppercase py-3 px-8"
>
Subscribe
</button>
</form>
</div>
</footer>
</section>
</body>
</html>