Files
website/src/components/Link.astro

15 lines
208 B
Plaintext
Raw Normal View History

2024-03-09 22:41:35 +00:00
---
const { href, class: className, ...props } = Astro.props;
---
<a
href={href}
class:list={[
"underline",
2024-05-14 00:01:06 +01:00
"text-blue",
"hover:text-lavender",
"visited:text-mauve",
2024-03-09 22:41:35 +00:00
className,
]}><slot /></a
>