Files
supabase/apps/docs/app/error.tsx
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00

18 lines
464 B
TypeScript

'use client'
import Link from 'next/link'
import { Button } from 'ui'
const ErrorPage = () => (
<div className="h-full w-full flex flex-col gap-8 p-8 items-center justify-center">
<span className="text-center text-5xl text-foreground-lighter">
Sorry, something went wrong
</span>
<Button asChild type="secondary" className="w-fit p-4 text-lg">
<Link href="/">Return to homepage</Link>
</Button>
</div>
)
export default ErrorPage