Skip to main content
⌘K

Search

Search pages, pieces and blocks.

Footer/The end of a site: the brand and one line, three columns of quiet links, the small print under a rule.

components/blocks/footer.tsx
import { WavesIcon } from "@/components/icons"import { BrandMark } from "@/components/ui/brand-mark"import { Link } from "@/components/ui/link"import { Separator } from "@/components/ui/separator"import { Text } from "@/components/ui/text"
// Footer: the end of a site built on António. The Maré mark, name and one// line; three columns of quiet links; then the small print under a rule,// with the credit to what the site is built on. Columns stack on a phone.
const columns = [  { title: "Lessons", links: ["Beginner", "Improver", "Private", "Gift a lesson"] },  { title: "Schools", links: ["Ericeira", "Peniche", "Carcavelos", "Sagres"] },  { title: "Maré", links: ["About", "Instructors", "Questions", "Contact"] },]
function FooterBlock() {  return (    <footer className="mx-auto flex w-full max-w-6xl flex-col gap-10 px-6 py-16">      <div className="flex flex-col gap-10 md:flex-row md:justify-between">        <div className="flex max-w-xs flex-col gap-3">          <div className="flex items-center gap-2.5">            <BrandMark>              <WavesIcon />            </BrandMark>            <Text variant="strong">Maré</Text>          </div>          <Text>Surf lessons on seven beaches from Ericeira to Sagres, booked in a minute.</Text>        </div>        <div className="grid grid-cols-2 gap-10 sm:grid-cols-3 md:gap-16">          {columns.map((column) => (            <nav key={column.title} aria-label={column.title} className="flex flex-col gap-3">              <Text variant="strong" trim>                {column.title}              </Text>              <ul className="flex flex-col gap-2">                {column.links.map((link) => (                  <li key={link}>                    <Text>                      <Link variant="quiet" href="#">                        {link}                      </Link>                    </Text>                  </li>                ))}              </ul>            </nav>          ))}        </div>      </div>      <Separator />      <div className="flex flex-col gap-3 sm:flex-row sm:justify-between">        <Text variant="small">© 2026 Maré, Lisbon</Text>        <Text variant="small">          <Link variant="quiet" href="/">            Built on António          </Link>        </Text>      </div>    </footer>  )}
export { FooterBlock }