Skip to content

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

init 404 error page

Isaiah Hamiltona2339888861e
diff --git a/www/pages/404.tsx b/www/pages/404.tsx
index 1196e285ff5..d1d7e215698 100644
--- a/www/pages/404.tsx
+++ b/www/pages/404.tsx
@@ -6,7 +6,7 @@ import { Button, Typography } from '@supabase/ui'
import DefaultLayout from '../components/Layouts/Default'
-type Props ={
+type Props = {
darkMode: boolean
}
@@ -22,53 +22,57 @@ const Error404 = (props: Props) => {
return (
<DefaultLayout hideHeader hideFooter>
- <div className="w-full h-screen relative flex flex-col 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 ? '/images/supabase-logo-wordmark--light.svg' : '/images/supabase-logo-wordmark--dark.svg'}
- alt=""
- height={24}
- width={120}
- />
- </a>
+ <div className="w-full h-screen relative flex flex-col 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
+ ? '/images/supabase-logo-wordmark--light.svg'
+ : '/images/supabase-logo-wordmark--dark.svg'
+ }
+ alt=""
+ height={24}
+ width={120}
+ />
+ </a>
+ </div>
</div>
- </div>
- </nav>
- </div>
- <div className="absolute">
- <Typography.Title
- className={`select-none filter transition opacity-[5%] duration-200 ${
- show404 ? 'blur-sm' : 'blur-none'
+ </nav>
+ </div>
+ <div className="absolute">
+ <Typography.Title
+ className={`select-none filter transition opacity-[5%] duration-200 ${
+ show404 ? 'blur-sm' : 'blur-none'
+ }`}
+ style={{ fontSize: '28rem' }}
+ >
+ 404
+ </Typography.Title>
+ </div>
+ <div
+ className={`transition flex flex-col space-y-6 items-center justify-center ${
+ show404 ? 'opacity-100' : 'opacity-0'
}`}
- style={{ fontSize: '28rem' }}
>
- 404
- </Typography.Title>
- </div>
- <div
- className={`transition flex flex-col space-y-6 items-center justify-center ${
- show404 ? 'opacity-100' : 'opacity-0'
- }`}
- >
- <div className="w-[320px] flex flex-col items-center justify-center space-y-3">
- <Typography.Title level={3}>Looking for something? πŸ”</Typography.Title>
- <Typography.Text className="text-center">
- We couldn't find the page that you're looking for!
- </Typography.Text>
- </div>
- <div className="flex items-center space-x-4">
- <Link href="/">
- <a>
- <Button>Head back</Button>
- </a>
- </Link>
+ <div className="w-[320px] flex flex-col items-center justify-center space-y-3">
+ <Typography.Title level={3}>Looking for something? πŸ”</Typography.Title>
+ <Typography.Text className="text-center">
+ We couldn't find the page that you're looking for!
+ </Typography.Text>
+ </div>
+ <div className="flex items-center space-x-4">
+ <Link href="/">
+ <a>
+ <Button>Head back</Button>
+ </a>
+ </Link>
+ </div>
</div>
</div>
- </div>
</DefaultLayout>
)
}