Skip to content

feat(web): add app/not-found.tsx and app/error.tsx error pages #48

Description

@GRACENOBLE

Problem

Next.js serves its default (unbranded) error pages when a route is not found or an unhandled error is thrown. A project starter should ship with branded error pages from day one.

Acceptance criteria

  • app/not-found.tsx — 404 page with a link back to /
  • app/error.tsx — client error boundary with a retry button (must be a Client Component with "use client")
  • app/global-error.tsx — root-level error boundary for layout errors
  • Pages use the existing theme (Tailwind v4, shadcn/ui tokens)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: webNext.js web apppriority: criticalMust fix immediately — production incident or blockertype: featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions