K KRDS · 05

Not found (404)

없는 페이지(404)

A left-aligned 404 page. A blue home button is followed by a numbered list of posts.

RuleLeft-aligned. Never a giant centered “404” splash.

Also known as: NotFound
···
usage (Astro)
---
// src/pages/404.astro
import { NotFound } from '../components/registry';
---
<NotFound homeHref="/" latest={latest} topics={topics} />
site.json
// sites/<사이트>/site.json — 적지 않으면 사이트 이름으로 자동으로 고른다
{
  "variants": { "NotFound": "simple" }
}
props (TypeScript)
export interface NotFoundProps {
  homeHref: string;
  latest: PostSummary[];
  topics: NavLink[];
  variant?: VariantOf<'NotFound'>;
}

A small "404 · Page not found" label, a large title, one line of explanation and a blue "Go home" button sit on the left. simple lists "New posts" below as ruled rows numbered 01, 02, 03. directory splits the lower part into two columns: "Find by topic" (topic names with post counts) on the left and "New posts" on the right.

It is a calm screen that shows a lost reader where to go next. Use directory for sites with several topics and simple to keep it short.

This pack sets the 404 page left-aligned instead of centring it.

Use it when — Variants 2

  1. simpleSimple Smaller sites, where a home button and a few recent posts are enough.Used by 5: babyfood, babyplay, babysick, newborn, vaccination
  2. directoryDirectory When there are many topics to help the reader re-route — topics and recent posts in two columns.Used by 6: babysleep, birthprep, feeding, milestone, toddlerfood, 허브
Open as page ↗

Suggest an entry

Tell us about a missing component or variant, or something a pack should fix. We read every suggestion.