refactor: replace header with div (#8204)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
0eb7f19729
commit
85f2c2464c
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ interface Props {
|
|||
const { align = 'center', tagline, title } = Astro.props;
|
||||
---
|
||||
|
||||
<header class:list={['hero stack gap-4', align]}>
|
||||
<div class:list={['hero stack gap-4', align]}>
|
||||
<div class="stack gap-2">
|
||||
<h1 class="title">{title}</h1>
|
||||
{tagline && <p class="tagline">{tagline}</p>}
|
||||
</div>
|
||||
<slot />
|
||||
</header>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.hero {
|
||||
|
|
Loading…
Reference in a new issue