mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
- Add /tools/:toolId legacy redirect and catch-all 404 page (P1-12, P1-13) - Add Shift+O dodge/burn/sponge cycle and Ctrl+Y redo shortcut (P1-3, P1-4) - Fix Fit on Screen menu action to properly compute fit zoom (P1-8) - Add filename input to editor export dialog (P1-2) - Fix password validation mismatch: frontend now requires 8 chars (P1-11) - Add license info to Settings About section (P1-9) - Replace hardcoded strings in dropzone, files, pipeline with i18n keys (P1-17 to P1-25) - Add 20+ missing i18n keys to all 21 locale files - Translate Japanese editor.shapes and settings.aiFeatures sections (P1-19, P1-20) - Fix RTL: use logical CSS properties in sidebar, files, app-layout (P2-24 to P2-26) - Add single-file download button to pipeline results (P1-28) - Fix compress step settings restoration on pipeline load (P1-27) - Increase mobile nav touch targets to 44px minimum (P2-29)
23 lines
792 B
TypeScript
23 lines
792 B
TypeScript
import { Link } from "react-router-dom";
|
|
import { useTranslation } from "@/contexts/i18n-context";
|
|
|
|
export function NotFoundPage() {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<div className="flex h-screen items-center justify-center bg-background text-foreground">
|
|
<div className="text-center space-y-4 max-w-md px-6">
|
|
<h1 className="text-6xl font-bold text-primary">404</h1>
|
|
<h2 className="text-xl font-semibold">{t.common.pageNotFound}</h2>
|
|
<p className="text-sm text-muted-foreground">{t.common.pageNotFoundDescription}</p>
|
|
<Link
|
|
to="/"
|
|
className="inline-block px-4 py-2 rounded-lg bg-primary text-primary-foreground text-sm font-medium"
|
|
>
|
|
{t.common.goHome}
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|