summaryrefslogtreecommitdiff
path: root/examples/portfolio/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/portfolio/src')
-rw-r--r--examples/portfolio/src/components/Hero.astro4
-rw-r--r--examples/portfolio/src/components/Nav.astro4
2 files changed, 4 insertions, 4 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 {
diff --git a/examples/portfolio/src/components/Nav.astro b/examples/portfolio/src/components/Nav.astro
index 2e9717884..bf9ac7869 100644
--- a/examples/portfolio/src/components/Nav.astro
+++ b/examples/portfolio/src/components/Nav.astro
@@ -36,7 +36,7 @@ const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[]
</template>
</menu-button>
</div>
- <noscript class="menu-noscript">
+ <noscript>
<ul class="nav-items">
{
textLinks.map(({ label, href }) => (
@@ -60,7 +60,7 @@ const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[]
}
</ul>
</noscript>
- <noscript style="display: contents;">
+ <noscript>
<div class="menu-footer">
<div class="socials">
{