feat: numerous other pages

This commit is contained in:
Cory Dransfeldt 2024-11-16 22:03:37 -08:00
parent 159b60b3fb
commit ca34a11ad4
No known key found for this signature in database
54 changed files with 1074 additions and 101 deletions

View file

@ -0,0 +1,26 @@
---
const { links } = Astro.props;
import { IconLink } from '@tabler/icons-react';
---
{links && links.length > 0 && (
<article>
<h3>
<a class="link" href="/links">
<IconLink size={24} />
Recent links
</a>
</h3>
<ul>
{links.slice(0, 5).map((link) => (
<li>
<a href={link.link} title={link.title}>
{link.title}
</a>
{link.author && (
<> via <a href={link.author.url}>{link.author.name}</a></>
)}
</li>
))}
</ul>
</article>
)}