File: src/blocks/footer/Footer03.astro
Centered, stacked footer:
- Site title (home link)
- Navigation — top-level
navigation.linksthat have anhref(no dropdowns) - Copyright — auto
© {year}plustext - Social icons — from
seo.sameAs(GitHub, LinkedIn, X, etc.)
Helpers: src/lib/footer.ts (socialsFromSameAs)
Add to a page
---
import Footer03 from "@/blocks/footer/Footer03.astro";
---
<Footer03 />
Override copy, links, or socials:
<Footer03
text="BaseLayer Themes. All rights reserved."
links={[
{ label: "Themes", href: "/themes/" },
{ label: "Docs", href: "/docs/" },
{ label: "About", href: "/about/" },
]}
socials={[
{ href: "https://github.com/baselayer-themes", label: "GitHub", icon: "github" },
]}
/>
Config
Nav defaults come from identity.ts → navigation.links. Social icons default from integrations.ts → seo.sameAs:
seo: {
sameAs: [
"https://github.com/yourhandle",
"https://linkedin.com/in/yourhandle",
],
},
Known hosts map to brand SVGs in SocialIcon.astro (github, linkedin, twitter / x, instagram, facebook, youtube, dribbble). Anything else uses a globe mark. Lucide does not ship brand logos.
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
name |
string |
identity.name |
Title |
text |
string |
"All rights reserved." |
Copy after © {year} |
links |
{ label, href }[] |
top-level nav links with href |
Centered row |
socials |
{ href, label, icon }[] |
seo.sameAs |
Brand icon name (github, linkedin, …) |
