diff options
author | 2023-08-24 01:14:52 +0530 | |
---|---|---|
committer | 2023-08-23 14:44:52 -0500 | |
commit | 85f2c2464cbd9422cbf4df6d658b16ae73c38a5c (patch) | |
tree | d67cece90305d268be6374cee3bf2b694bc1f503 | |
parent | 0eb7f1972933c6046e47754144b2646cfbec6ad4 (diff) | |
download | astro-85f2c2464cbd9422cbf4df6d658b16ae73c38a5c.tar.gz astro-85f2c2464cbd9422cbf4df6d658b16ae73c38a5c.tar.zst astro-85f2c2464cbd9422cbf4df6d658b16ae73c38a5c.zip |
refactor: replace header with div (#8204)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
-rw-r--r-- | examples/portfolio/src/components/Hero.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/portfolio/src/components/Hero.astro b/examples/portfolio/src/components/Hero.astro index 21b5ed1bf..30460420a 100644 --- a/examples/portfolio/src/components/Hero.astro +++ b/examples/portfolio/src/components/Hero.astro @@ -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 { |