add blog posts

This commit is contained in:
fiatcode 2026-01-19 08:49:38 +07:00
parent 16a73319ef
commit 0e397c444d
42 changed files with 2235 additions and 237 deletions

View file

@ -0,0 +1,16 @@
---
interface Props {
href: string;
ariaLabel?: string;
}
const { href, ariaLabel } = Astro.props;
---
<a
href={href}
class="hover:underline underline-offset-4 decoration-transparent hover:decoration-current transition-colors duration-300 aria-[current]:underline aria-[current]:decoration-current aria-[current]:font-semibold"
aria-label={ariaLabel}
>
<slot />
</a>