Initial commit of vite-saas template

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Rami Bitar
2026-10-04 13:16:12 -04:00
co-authored by Claude Opus 5.5
commit fd1b32640a
97 changed files with 15018 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
import { Link } from '@tanstack/react-router';
// Stand-ins for Next's built-in 404 and error pages.
export function NotFound() {
return (
<div className="flex min-h-screen items-center justify-center">
<div className="flex items-center gap-6">
<div className="text-lg font-medium whitespace-nowrap">404</div>
<div className="h-6 border-l border-border"></div>
<div className="max-w-lg text-sm text-muted-foreground">
This page could not be found.{' '}
<Link to="/" className="underline underline-offset-2">
Go home
</Link>
</div>
</div>
</div>
);
}
export function ErrorMessage({ error }: { error: unknown }) {
return (
<div className="flex min-h-screen items-center justify-center">
<div className="flex items-center gap-6">
<div className="text-lg font-medium whitespace-nowrap">Something went wrong</div>
<div className="h-6 border-l border-border"></div>
<div className="max-w-lg text-sm text-muted-foreground">
{error instanceof Error ? error.message : String(error)}
</div>
</div>
</div>
);
}