restructure donw, rearing 1.0.0 release

This commit is contained in:
Firq 2025-04-07 21:53:48 +02:00
parent aed70ccdd9
commit aa59137748
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
13 changed files with 207 additions and 23 deletions

View file

@ -1,13 +1,15 @@
---
export interface Props {
title: string
title: string,
titleHidden?: boolean
}
const { title } = Astro.props
const { title, titleHidden } = Astro.props
const hidden = titleHidden || false ? "visually-hidden" : ""
---
<div class="base">
<h1>{title}</h1>
<h1 class={hidden}>{title}</h1>
<div>
<slot />
</div>