Flesh out about a little more, still temporary
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 15m49s

This commit is contained in:
2025-08-22 16:42:08 +09:30
parent 51723e0c44
commit 352a9c18f5
5 changed files with 176 additions and 22 deletions

View File

@@ -3,14 +3,18 @@ interface Props {
Tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
lineColour?: string;
lineColourDark?: string;
class?: string;
}
const {
Tag = "h1",
lineColour = "border-primary",
lineColourDark = "dark:text-primary"
lineColourDark = "dark:text-primary",
class: className
} = Astro.props;
---
<Tag class="font-header m-0 text-center text-3xl"><slot /></Tag>
<hr class={`mx-auto my-4 w-16 border-2 ${lineColour} ${lineColourDark}`} />
<div class={className}>
<Tag class="font-header m-0 text-center text-3xl"><slot /></Tag>
<hr class={`mx-auto my-4 w-16 border-2 ${lineColour} ${lineColourDark}`} />
</div>