Skip to content

Commit

Permalink
refactor: replace header with div (#8204)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <[email protected]>
  • Loading branch information
dotarjun and natemoo-re authored Aug 23, 2023
1 parent 0eb7f19 commit 85f2c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/portfolio/src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 85f2c24

Please sign in to comment.