Skip to content

Commit 2aaed40

Browse files
committed
feat(2.7): Add Markdown component
1 parent 39c2d60 commit 2aaed40

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

‎src/pages/about.astro‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
---
2+
import Markdown from 'astro/components'
23
import DefaultPageLayout from '$/layouts/default.astro'
34
45
const title = 'About';
56
const description = 'There\'s a simple secret to building a faster website — just ship less.';
67
---
78
<DefaultPageLayout content={{ title, description }}>
89
<article class="page__content prose lg:prose-md max-w-none dark:text-white">
9-
<p>
10+
<Markdown>
1011
Astro-Ink is a crisp, minimal, personal blog theme for Astro, that shows the capability of statically built sites - offering all the goodness and DX of the modern JS ecosystem without actually shipping any JS by default. It's built by...
11-
</p>
12-
<h3>Few Bots, Meta-humans & a Guy!</h3>
13-
<div class="author">
14-
<img class="rounded-full" width="160" src="https://assets.website-files.com/5e51c674258ffe10d286d30a/5e5358878e2493fbea064dd9_peep-59.svg" title="Aalam" />
15-
<div>
16-
Aftab Alam //
17-
<a href="https://twitter.com/aftabbuddy" title="Author's Twitter Handle">@aftabbuddy</a> //
18-
<a href="https://github.com/one-aalam" title="Author's Github URL">one-aalam</a>
12+
13+
## Few Bots, Meta-humans & a Guy!
14+
<div class="author">
15+
<img class="rounded-full" width="160" src="https://assets.website-files.com/5e51c674258ffe10d286d30a/5e5358878e2493fbea064dd9_peep-59.svg" title="Aalam" />
16+
<div>
17+
Aftab Alam //
18+
[@aftabbuddy](https://twitter.com/aftabbuddy) //
19+
[one-aalam](https://github.com/one-aalam)
20+
</div>
1921
</div>
20-
</div>
22+
</Markdown>
2123
</article>
2224
</DefaultPageLayout>
2325

0 commit comments

Comments
 (0)