Skip to content

Commit 93e460e

Browse files
committed
style: integrate Prose component into About page
1 parent d52a1dd commit 93e460e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/pages/about.astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
2+
import Prose from '@/components/Prose.astro';
23
import BaseLayout from '@/layouts/BaseLayout.astro';
34
import { render } from 'astro:content';
45
import { getCollection } from 'astro:content';
56
67
const [about] = await getCollection('about');
78
const { Content } = await render(about);
8-
99
---
1010

1111
<BaseLayout>
12-
<Content/>
12+
<Prose>
13+
<Content />
14+
</Prose>
1315
</BaseLayout>

0 commit comments

Comments
 (0)