
Left-aligned light 404: eyebrow, headline and description start the column, and a flush arrow link leads home instead of a filled button. No artwork.
blocks/404/minimal-404-02/index.tsx
import { ArrowLeftIcon } from "@phosphor-icons/react/dist/ssr"
import { cn } from "cn"
import { Eyebrow } from "@/components/editorial/eyebrow"
import { Heading } from "@/components/editorial/heading"
import {
Section,
SectionActions,
SectionDescription,
SectionHeader,
SectionTitleGroup,
} from "@/components/editorial/section"
import { buttonVariants } from "@/components/ui/button"
// The copy: change text here, not in the markup.
const COPY = {
eyebrow: "404",
title: "Page not found",
body: "There is nothing at this address. Check the link, or start again from home.",
cta: "Back to home",
} as const
// The left-aligned 404: the header starts the column, the way home is a link.
export default function MinimalNotFound02() {
return (
<Section size="lg" className="flex min-h-svh flex-col justify-center">
<SectionHeader size="lg">
<SectionTitleGroup>
<Eyebrow>{COPY.eyebrow}</Eyebrow>
<Heading render={<h1 />} size="lg">
{COPY.title}
</Heading>
</SectionTitleGroup>
<SectionDescription size="lg">{COPY.body}</SectionDescription>
</SectionHeader>
<SectionActions>
<a
href="/"
data-slot="button"
className={cn(buttonVariants({ variant: "link" }), "px-0")}
>
<ArrowLeftIcon
weight="light"
data-icon="inline-start"
aria-hidden="true"
/>
{COPY.cta}
</a>
</SectionActions>
</Section>
)
}