Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove 500 error page

Isaiah Hamiltone0ce8de37997
diff --git a/www/pages/500.tsx b/www/pages/500.tsx
deleted file mode 100644
index 6a0f9db72be..00000000000
--- a/www/pages/500.tsx
+++ /dev/null
@@ -1,54 +0,0 @@
-import { NextPage } from 'next'
-import Link from 'next/link'
-import Image from 'next/image'
-import { Button, Typography } from '@supabase/ui'
-
-type Props = {
- darkMode: boolean
-}
-
-const Error500 = (props: Props) => {
- const { darkMode } = props
-
- return (
- <div className="w-full h-full relative flex flex-col space-y-6 items-center justify-center mx-auto">
- <div className="absolute top-0 w-full max-w-7xl mx-auto pt-6 px-8 sm:px-6 lg:px-8">
- <nav className="relative flex items-center justify-between sm:h-10">
- <div className="flex items-center flex-grow flex-shrink-0 lg:flex-grow-0">
- <div className="flex items-center justify-between w-full md:w-auto">
- <a href="/">
- <Image
- src={darkMode ? '/img/supabase-dark.svg' : '/img/supabase-light.svg'}
- alt=""
- height={24}
- width={120}
- />
- </a>
- </div>
- </div>
- </nav>
- </div>
- <div className="w-[320px] flex flex-col items-center justify-center space-y-3">
- <Typography.Title level={3}>Something went wrong 🤕</Typography.Title>
- <Typography.Text className="text-center">
- Sorry about that, please try again later or feel free to reach out to us if the problem
- persists.
- </Typography.Text>
- </div>
- <div className="flex items-center space-x-4">
- <Link href="/">
- <a>
- <Button>Head back</Button>
- </a>
- </Link>
- <Link href="/support/new">
- <a>
- <Button type="secondary">Submit a support request</Button>
- </a>
- </Link>
- </div>
- </div>
- )
-}
-
-export default Error500