~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
f168a0c2
—
pyrossh 7 months ago
fix code link
- src/components/HeaderLink.astro +15 -6
- src/pages/index.astro +292 -250
- src/pages/posts/index.astro +36 -29
src/components/HeaderLink.astro
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
---
|
|
2
|
-
import type { HTMLAttributes } from
|
|
2
|
+
import type { HTMLAttributes } from "astro/types";
|
|
3
3
|
|
|
4
|
-
type Props = HTMLAttributes<
|
|
4
|
+
type Props = HTMLAttributes<"a">;
|
|
5
5
|
|
|
6
6
|
const { href, class: className, ...props } = Astro.props;
|
|
7
|
-
const pathname = Astro.url.pathname.replace(import.meta.env.BASE_URL,
|
|
7
|
+
const pathname = Astro.url.pathname.replace(import.meta.env.BASE_URL, "");
|
|
8
8
|
const subpath = pathname.match(/[^\/]+/g);
|
|
9
|
-
const isActive = href === pathname || href ===
|
|
9
|
+
const isActive = href === pathname || href === "/" + (subpath?.[0] || "");
|
|
10
|
+
const isExternal = href.startsWith("http");
|
|
11
|
+
const target = isExternal ? "_blank" : "_parent";
|
|
12
|
+
const rel = isExternal ? "noopener noreferrer" : "";
|
|
10
13
|
---
|
|
11
14
|
|
|
15
|
+
<a
|
|
16
|
+
href={href}
|
|
12
|
-
|
|
17
|
+
class:list={[className, { active: isActive }]}
|
|
18
|
+
rel={rel}
|
|
19
|
+
target={target}
|
|
20
|
+
{...props}
|
|
21
|
+
>
|
|
13
|
-
|
|
22
|
+
<slot />
|
|
14
23
|
</a>
|
src/pages/index.astro
CHANGED
|
@@ -1,266 +1,308 @@
|
|
|
1
1
|
---
|
|
2
|
-
import { Image } from
|
|
2
|
+
import { Image } from "astro:assets";
|
|
3
|
-
import Layout from
|
|
3
|
+
import Layout from "@/layouts/Base.astro";
|
|
4
|
-
import Slide from
|
|
4
|
+
import Slide from "@/components/Slide.astro";
|
|
5
|
-
import onlyBiblePng from
|
|
5
|
+
import onlyBiblePng from "@/assets/images/app_icon.png";
|
|
6
|
-
import rustPng from
|
|
6
|
+
import rustPng from "@/assets/logos/rust.png";
|
|
7
|
-
import pyrosshPng from
|
|
7
|
+
import pyrosshPng from "@/assets/logos/pyrossh.png";
|
|
8
|
-
import stats from
|
|
8
|
+
import stats from "@/assets/logos/stats.png";
|
|
9
|
-
import code from
|
|
9
|
+
import code from "@/assets/logos/code.png";
|
|
10
|
-
import helix from
|
|
10
|
+
import helix from "@/assets/logos/helix.png";
|
|
11
|
-
import nu from
|
|
11
|
+
import nu from "@/assets/logos/nu.png";
|
|
12
|
-
import iterm from
|
|
12
|
+
import iterm from "@/assets/logos/iterm.png";
|
|
13
|
-
import zellij from
|
|
13
|
+
import zellij from "@/assets/logos/zellij.png";
|
|
14
|
-
import inkscape from
|
|
14
|
+
import inkscape from "@/assets/logos/inkscape.png";
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
<style>
|
|
18
|
-
|
|
18
|
+
h2 {
|
|
19
|
-
|
|
19
|
+
font-size: 1.5rem;
|
|
20
|
-
|
|
20
|
+
font-weight: 600;
|
|
21
|
-
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
section {
|
|
24
|
-
|
|
24
|
+
display: flex;
|
|
25
|
-
|
|
25
|
+
flex-direction: column;
|
|
26
|
-
|
|
26
|
+
margin-top: 1.5rem;
|
|
27
|
-
|
|
27
|
+
margin-bottom: 1rem;
|
|
28
|
-
|
|
28
|
+
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
.soft-link {
|
|
31
|
-
|
|
31
|
+
display: flex;
|
|
32
|
-
|
|
32
|
+
flex-direction: row;
|
|
33
|
-
|
|
33
|
+
align-items: center;
|
|
34
|
-
|
|
34
|
+
text-align: left;
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
& > div {
|
|
37
|
-
|
|
37
|
+
flex: 1;
|
|
38
|
-
|
|
38
|
+
}
|
|
39
|
-
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
.p-0\.5 {
|
|
42
|
-
|
|
42
|
+
/* padding: 0.125rem; */
|
|
43
|
-
|
|
43
|
+
}
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
.rounded-md {
|
|
46
|
-
|
|
46
|
+
border-radius: 0.375rem;
|
|
47
|
-
|
|
47
|
+
}
|
|
48
48
|
</style>
|
|
49
49
|
|
|
50
50
|
<Layout
|
|
51
|
-
|
|
51
|
+
title="pyrossh"
|
|
52
|
-
|
|
52
|
+
description="Tech Lead from Bangalore who likes to create frameworks and programming languages."
|
|
53
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
|
-
|
|
54
|
+
<div class="mx-auto mb-10">
|
|
55
|
+
<div>
|
|
56
|
+
<h1 class="text-3xl font-bold mb-4">Hello!</h1>
|
|
57
|
+
<p>
|
|
58
|
+
<a
|
|
59
|
+
class="underline"
|
|
60
|
+
href="https://www.linkedin.com/in/pyrossh"
|
|
61
|
+
target="_blank"
|
|
62
|
+
rel="noopener noreferrer"
|
|
63
|
+
>
|
|
64
|
+
<strong>I’m</strong>
|
|
65
|
+
</a>
|
|
66
|
+
a tech lead based out of Bangalore, India and have worked for startups and
|
|
67
|
+
enterprises that focus on products in the healthcare and finance domains.
|
|
68
|
+
I like to build frameworks and automate common tasks to make it easier to
|
|
69
|
+
develop applications.
|
|
70
|
+
</p>
|
|
71
|
+
<p>
|
|
72
|
+
I enjoy working on open-source projects, and during the last decade,
|
|
73
|
+
I've created a number of projects that are widely used.
|
|
74
|
+
</p>
|
|
75
|
+
<div>
|
|
76
|
+
<section>
|
|
77
|
+
<div class="flex items-center mb-4">
|
|
78
|
+
<h2>Projects</h2>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-8">
|
|
81
|
+
<Slide
|
|
82
|
+
title="rust-embed"
|
|
83
|
+
link="https://git.sr.ht/~pyrossh/rust-embed"
|
|
84
|
+
>
|
|
85
|
+
<Image
|
|
86
|
+
slot="icon"
|
|
87
|
+
class="mr-2 w-9 rounded-xl"
|
|
88
|
+
src={rustPng}
|
|
89
|
+
alt="rust embed"
|
|
90
|
+
/>
|
|
91
|
+
<p>
|
|
92
|
+
A rust proc-macro which loads files into the rust binary at
|
|
93
|
+
compile time during release and loads the file from the fs
|
|
94
|
+
during dev
|
|
95
|
+
</p>
|
|
96
|
+
</Slide>
|
|
97
|
+
<Slide
|
|
98
|
+
title="pyrossh.dev"
|
|
99
|
+
link="https://git.sr.ht/~pyrossh/website"
|
|
100
|
+
>
|
|
101
|
+
<Image
|
|
102
|
+
slot="icon"
|
|
103
|
+
class="mr-2 w-9 rounded-xl"
|
|
104
|
+
src={pyrosshPng}
|
|
105
|
+
alt="pyrossh website"
|
|
106
|
+
/>
|
|
107
|
+
<p>
|
|
108
|
+
木 Personal website of pyrossh. Built with
|
|
109
|
+
<span class="*:underline">
|
|
110
|
+
<a
|
|
111
|
+
href="https://astro.build/"
|
|
112
|
+
target="_blank"
|
|
113
|
+
rel="noopener noreferrer">astrojs</a
|
|
114
|
+
>,
|
|
115
|
+
<a
|
|
116
|
+
href="https://shiki.matsu.io/"
|
|
117
|
+
target="_blank"
|
|
118
|
+
rel="noopener noreferrer">shiki</a
|
|
119
|
+
>,
|
|
120
|
+
<a
|
|
121
|
+
href="https://vitejs.dev/"
|
|
122
|
+
target="_blank"
|
|
123
|
+
rel="noopener noreferrer">vite</a
|
|
124
|
+
>.
|
|
125
|
+
</span>
|
|
126
|
+
</p>
|
|
127
|
+
</Slide>
|
|
128
|
+
<Slide title="pacman" link="https://git.sr.ht/~pyrossh/plum">
|
|
129
|
+
<span slot="icon" class="text-4xl mr-2">👾</span>
|
|
130
|
+
<p>
|
|
131
|
+
A statically typed, imperative programming language with ADT's
|
|
132
|
+
inspired by rust, haskell.
|
|
133
|
+
</p>
|
|
134
|
+
</Slide>
|
|
135
|
+
<Slide
|
|
136
|
+
title="Only Bible App"
|
|
137
|
+
link="/only-bible-app"
|
|
138
|
+
isExternal={false}
|
|
139
|
+
>
|
|
140
|
+
<Image
|
|
141
|
+
slot="icon"
|
|
142
|
+
class="mr-2 w-9 rounded-xl"
|
|
143
|
+
src={onlyBiblePng}
|
|
144
|
+
alt="Only Bible App"
|
|
145
|
+
/>
|
|
146
|
+
<p>
|
|
147
|
+
The only bible app you will ever need. No ads, No in-app
|
|
148
|
+
purchases, No distractions. Works completely offline.
|
|
149
|
+
</p>
|
|
150
|
+
</Slide>
|
|
151
|
+
</div>
|
|
127
152
|
|
|
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
|
-
|
|
153
|
+
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-8">
|
|
154
|
+
<section>
|
|
155
|
+
<div class="flex items-center">
|
|
156
|
+
<h2>Interests</h2>
|
|
157
|
+
</div>
|
|
158
|
+
<ul
|
|
159
|
+
class="grid gap-2 grid-cols-3 text-center mt-4 *:bg-slate-100 *:p-1"
|
|
160
|
+
>
|
|
161
|
+
<li>HTML</li>
|
|
162
|
+
<li>CSS</li>
|
|
163
|
+
<li>Javascript</li>
|
|
164
|
+
<li>SQL</li>
|
|
165
|
+
<li>Go</li>
|
|
166
|
+
<li>Zig</li>
|
|
167
|
+
<li>Kotlin</li>
|
|
168
|
+
<li>React</li>
|
|
169
|
+
<li>Expo</li>
|
|
170
|
+
<li>Bun</li>
|
|
171
|
+
<li>MicroZig</li>
|
|
172
|
+
<li>Kaluma</li>
|
|
173
|
+
<li>K8s</li>
|
|
174
|
+
<li>Knative</li>
|
|
175
|
+
<li>Iceberg</li>
|
|
176
|
+
</ul>
|
|
177
|
+
</section>
|
|
178
|
+
<section>
|
|
179
|
+
<div class="flex items-center">
|
|
180
|
+
<h2>Contact</h2>
|
|
181
|
+
</div>
|
|
182
|
+
<ul
|
|
183
|
+
class="grid gap-2 grid-cols-1 text-left mt-4 *:bg-slate-100 *:p-2 *:flex *:flex-col *:items-baseline *:sm:flex-row"
|
|
184
|
+
>
|
|
185
|
+
<li>
|
|
186
|
+
<strong class="mr-2">Email:</strong>
|
|
187
|
+
<span>pyros2097@gmail.com</span>
|
|
188
|
+
</li>
|
|
189
|
+
<li>
|
|
190
|
+
<strong class="mr-2">Sourcehut:</strong>
|
|
191
|
+
<a class="text-blue-900" href="https://git.sr.ht/~pyrossh/">
|
|
192
|
+
https://git.sr.ht/~pyrossh/
|
|
193
|
+
</a>
|
|
194
|
+
</li>
|
|
195
|
+
<li>
|
|
196
|
+
<strong class="mr-2">LinkedIn:</strong>
|
|
197
|
+
<a
|
|
198
|
+
class="text-blue-900"
|
|
199
|
+
href="https://www.linkedin.com/in/peter-john-in"
|
|
200
|
+
>
|
|
201
|
+
https://www.linkedin.com/in/pyrossh
|
|
202
|
+
</a>
|
|
203
|
+
</li>
|
|
204
|
+
</ul>
|
|
205
|
+
</section>
|
|
206
|
+
</div>
|
|
207
|
+
<section>
|
|
208
|
+
<div class="flex items-center">
|
|
209
|
+
<h2>Tools</h2>
|
|
210
|
+
</div>
|
|
211
|
+
<ul
|
|
212
|
+
class="grid gap-2 grid-cols-3 md:grid-cols-7 text-center mt-4 *:bg-slate-100 *:p-1"
|
|
213
|
+
>
|
|
214
|
+
<li>
|
|
215
|
+
<a
|
|
216
|
+
class="soft-link"
|
|
217
|
+
href="https://github.com/exelban/stats"
|
|
218
|
+
target="_blank"
|
|
219
|
+
rel="noopener noreferrer"
|
|
220
|
+
>
|
|
221
|
+
<div>Stats</div>
|
|
222
|
+
<Image src={stats} alt="Stats" width="32" />
|
|
223
|
+
</a>
|
|
224
|
+
</li>
|
|
225
|
+
<li>
|
|
226
|
+
<a
|
|
227
|
+
class="soft-link"
|
|
228
|
+
href="https://github.com/microsoft/vscode"
|
|
229
|
+
target="_blank"
|
|
230
|
+
rel="noopener noreferrer"
|
|
231
|
+
>
|
|
232
|
+
<div>VS Code</div>
|
|
233
|
+
<Image src={code} alt="VS Code" width="32" />
|
|
234
|
+
</a>
|
|
235
|
+
</li>
|
|
236
|
+
<li>
|
|
237
|
+
<a
|
|
238
|
+
class="soft-link"
|
|
239
|
+
href="https://github.com/helix-editor/helix"
|
|
240
|
+
target="_blank"
|
|
241
|
+
rel="noopener noreferrer"
|
|
242
|
+
>
|
|
243
|
+
<div>Helix</div>
|
|
244
|
+
<Image src={helix} alt="Helix" width="32" />
|
|
245
|
+
</a>
|
|
246
|
+
</li>
|
|
247
|
+
<li>
|
|
248
|
+
<a
|
|
249
|
+
class="soft-link"
|
|
250
|
+
href="https://github.com/nushell/nushell"
|
|
251
|
+
target="_blank"
|
|
252
|
+
rel="noopener noreferrer"
|
|
253
|
+
>
|
|
254
|
+
<div>Nushell</div>
|
|
255
|
+
<Image
|
|
256
|
+
class="p-0.5 rounded-md"
|
|
257
|
+
src={nu}
|
|
258
|
+
alt="nu-shell"
|
|
259
|
+
width="32"
|
|
260
|
+
/>
|
|
261
|
+
</a>
|
|
262
|
+
</li>
|
|
263
|
+
<li>
|
|
264
|
+
<a
|
|
265
|
+
class="soft-link"
|
|
266
|
+
href="https://github.com/gnachman/iTerm2"
|
|
267
|
+
target="_blank"
|
|
268
|
+
rel="noopener noreferrer"
|
|
269
|
+
>
|
|
270
|
+
<div>iTerm2</div>
|
|
271
|
+
<Image src={iterm} alt="iterm2" width="32" />
|
|
272
|
+
</a>
|
|
273
|
+
</li>
|
|
274
|
+
<li>
|
|
275
|
+
<a
|
|
276
|
+
class="soft-link"
|
|
277
|
+
href="https://zellij.dev/"
|
|
278
|
+
target="_blank"
|
|
279
|
+
rel="noopener noreferrer"
|
|
280
|
+
>
|
|
281
|
+
<div>Zellij</div>
|
|
282
|
+
<Image
|
|
283
|
+
class="w-7 p-0.5"
|
|
284
|
+
src={zellij}
|
|
285
|
+
alt="zellij"
|
|
286
|
+
width="32"
|
|
287
|
+
/>
|
|
288
|
+
</a>
|
|
289
|
+
</li>
|
|
248
290
|
|
|
249
|
-
|
|
291
|
+
<li>
|
|
250
|
-
|
|
292
|
+
<a
|
|
251
|
-
|
|
293
|
+
class="soft-link"
|
|
252
|
-
|
|
294
|
+
href="https://inkscape.org/"
|
|
253
|
-
|
|
295
|
+
target="_blank"
|
|
254
|
-
|
|
296
|
+
rel="noopener noreferrer"
|
|
255
|
-
|
|
297
|
+
>
|
|
256
|
-
|
|
298
|
+
<div>Inkscape</div>
|
|
257
|
-
|
|
299
|
+
<Image src={inkscape} alt="inkscape" width="32" />
|
|
258
|
-
|
|
300
|
+
</a>
|
|
259
|
-
|
|
301
|
+
</li>
|
|
260
|
-
|
|
302
|
+
</ul>
|
|
261
|
-
|
|
303
|
+
</section>
|
|
262
|
-
|
|
304
|
+
</section>
|
|
263
|
-
|
|
305
|
+
</div>
|
|
264
|
-
|
|
306
|
+
</div>
|
|
265
|
-
|
|
307
|
+
</div>
|
|
266
308
|
</Layout>
|
src/pages/posts/index.astro
CHANGED
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
---
|
|
2
|
-
import { getCollection } from
|
|
2
|
+
import { getCollection } from "astro:content";
|
|
3
|
-
import FormattedDate from
|
|
3
|
+
import FormattedDate from "../../components/FormattedDate.astro";
|
|
4
|
-
import Layout from
|
|
4
|
+
import Layout from "@/layouts/Base.astro";
|
|
5
5
|
|
|
6
|
-
const posts = (await getCollection(
|
|
6
|
+
const posts = (await getCollection("content")).sort(
|
|
7
|
-
|
|
7
|
+
(a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()
|
|
8
8
|
);
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<Layout>
|
|
12
|
-
|
|
12
|
+
<h1 class="font-bold text-3xl">Posts</h1>
|
|
13
|
-
|
|
13
|
+
<div class="container">
|
|
14
|
-
|
|
14
|
+
<ul class="flex flex-col">
|
|
15
|
-
|
|
15
|
+
{
|
|
16
|
-
|
|
16
|
+
posts.map((post) => (
|
|
17
|
-
|
|
17
|
+
<li class="grid grid-cols-1 sm:grid-cols-2 gap-3 justify-start items-end mt-5 leading-6">
|
|
18
|
-
|
|
18
|
+
<div class="flex flex-col">
|
|
19
|
+
<a
|
|
19
|
-
|
|
20
|
+
class="text-black underline underline-offset-4"
|
|
21
|
+
href={`/posts/${post.id}`}
|
|
22
|
+
>
|
|
20
|
-
|
|
23
|
+
{post.data.title}
|
|
21
|
-
|
|
24
|
+
</a>
|
|
22
|
-
|
|
25
|
+
<span class="hover:cursor-default">{post.data.description}</span>
|
|
23
|
-
|
|
26
|
+
</div>
|
|
24
|
-
|
|
27
|
+
<span class="flex flex-1 justify-end sm:ml-4 text-md text-gray-900">
|
|
25
|
-
|
|
28
|
+
<FormattedDate date={post.data.pubDate} />
|
|
26
|
-
|
|
29
|
+
</span>
|
|
27
|
-
|
|
30
|
+
</li>
|
|
28
|
-
|
|
31
|
+
))
|
|
29
|
-
|
|
32
|
+
}
|
|
30
|
-
|
|
33
|
+
</ul>
|
|
31
|
-
|
|
34
|
+
</div>
|
|
35
|
+
<hr />
|
|
32
36
|
</Layout>
|
|
33
37
|
<style>
|
|
34
|
-
|
|
38
|
+
.container {
|
|
35
|
-
|
|
39
|
+
display: flex;
|
|
36
|
-
|
|
40
|
+
float: left;
|
|
37
|
-
|
|
41
|
+
}
|
|
42
|
+
hr {
|
|
43
|
+
padding-bottom: 75%;
|
|
44
|
+
}
|
|
38
45
|
</style>
|