feat: Add a portfolio to the website

This commit is contained in:
Aria 2024-12-29 15:43:17 +11:00
parent e1ee5f3fa5
commit 4f347285bb
Signed by: aria
GPG key ID: 19AB7AA462B8AB3B
3 changed files with 201 additions and 2 deletions

View file

@ -45,9 +45,12 @@ const optimizedBackgroundLQ = await getImage({
</div>
</div>
<Partition>
<a href="/" class="nav-btn">Home</a> |
<p class="text-center">
| <a href="/" class="nav-btn">Home</a> |
<a href="/blog" class="nav-btn">Blog</a> |
<a href="/about" class="nav-btn">About</a> |
<a href="/friends" class="nav-btn">Friends</a> |
<a href="/other buttons" class="nav-btn">Moar 88x31</a>
<a href="/other buttons" class="nav-btn">Moar 88x31</a> |
<a href="/portfolio" class="nav-btn">Portfolio</a> |
</p>
</Partition>

View file

@ -0,0 +1,12 @@
---
import Partition from "./Partition.astro";
const { name, date, tags, description, link } = Astro.props;
---
<Partition>
<h2><a class="nav-btn text-2xl" href={link} target="_blank">{name}</a></h2>
<p>Date: {date}</p>
<p><sub>{tags}</sub></p>
<hr/>
<p><slot /></p>
</Partition>