Initial design based off original website, some things still to do

This commit is contained in:
2025-08-08 17:48:11 +09:30
parent d38c8fc694
commit ae3c38be17
185 changed files with 6799 additions and 1877 deletions

View File

@@ -0,0 +1,30 @@
---
interface Props {
colour?: String;
textColour?: String;
size?: String;
hover?: String;
className?: String;
}
const {
colour = "bg-primary",
textColour = "text-white",
size = "text-xs",
hover = "hover:bg-white hover:text-primary hover:ring-primary hover:ring-2",
className,
...attrs
} = Astro.props as Props;
---
<span
class:list={[
"inline-block rounded px-2 py-1 font-bold uppercase",
colour,
textColour,
className,
size,
hover
]}
{...attrs}><slot /></span
>