Something went wrong. Try again.
🌐 little site of mines angelcube.dev
Something went wrong. Try again.
321 B · 14 lines
Astro
at main
123456789101112131415---const { title, description, navTitle = "← return home", navHref = "/" } = Astro.props
import "../styles/components/header.scss"import Nav from "./Nav.astro"---
<header> <Nav title={navTitle} href={navHref} /> <div class="title"> <h1>{title}</h1> <p class="description">{description}</p> </div></header>