fbd09fbdae
Replace the emoji/gradient card with an editorial layout: small lucide glyph, oversized error code, hairline-divided serif bible quote. Extract shared ErrorView + SectionError components and a bilingual string helper. Add +error.svelte at each section root (faith, recipes, fitness, tasks, cospend) so errors render inside the correct layout and inherit the section-specific header/nav. Catch-all [...rest]/+page.ts stubs route unmatched URLs through the section layout so the right error page catches them.
6 lines
98 B
TypeScript
6 lines
98 B
TypeScript
import { error } from '@sveltejs/kit';
|
|
|
|
export const load = () => {
|
|
error(404, 'Not found');
|
|
};
|