Live preview. Server component, year rendered at build time.
Footer
Footer with brand block, link columns, tagline, giant wordmark, and a legal row with the current year.
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
brand |
string |
required | Brand name in the top-left block and the giant wordmark. |
logo |
string |
unset | Brand symbol next to the name. |
description |
string |
required | Short brand description. |
columns |
FooterColumn[] |
required | Link columns. Two to four read best. |
legalLinks |
FooterLink[] |
required | Legal links row, such as Terms, Privacy, and Security. |
gitlabUrl |
string |
unset | Outbound org link in the legal row. Hidden when unset. |
gitlabLabel |
string |
"GitLab" |
Label for the outbound link. |
tagline |
string |
unset | Tagline above the giant wordmark. |
copyrightName |
string |
brand |
Copyright owner name. |
Usage
import { Footer } from "@xeh/xehkit/components/footer/Footer";
import "@xeh/xehkit/xehkit.css";
<Footer
brand="XEH"
description="Independent open-source engineering organization."
columns={[
{ title: "Site", links: [{ label: "About", href: "/#about" }] },
{ title: "Focus", links: [{ label: "Linux systems", href: "/#focus" }] },
]}
legalLinks={[
{ label: "Terms of Use", href: "/terms" },
{ label: "Privacy", href: "/privacy" },
]}
gitlabUrl="https://gitlab.com/xehhq"
/>
Notes
- Server component. Uses
next/link. - The year is read at render time, so no manual updates.