diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx index 03d0cb8d251..1b50f85b9ed 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx @@ -192,7 +192,6 @@ const SideNav = () => { { label: 'Self hosting server', icon: '/img/icons/menu/platform', - hasLightIcon: false, href: '/new/reference/javascript/start', level: 'reference_javascript', }, diff --git a/apps/docs/pages/404.mdx b/apps/docs/pages/404.mdx deleted file mode 100644 index a24fcdaa7c7..00000000000 --- a/apps/docs/pages/404.mdx +++ /dev/null @@ -1,13 +0,0 @@ -import Layout from '~/layouts/DefaultGuideLayout' - -export const meta = { - id: '404', - title: '404', - description: 'Page not found', -} - -# Page not found - -export const Page = ({ children }) => - -export default Page diff --git a/apps/docs/pages/404.tsx b/apps/docs/pages/404.tsx new file mode 100644 index 00000000000..94f4db764e3 --- /dev/null +++ b/apps/docs/pages/404.tsx @@ -0,0 +1,52 @@ +import { useEffect, useState } from 'react' +import Link from 'next/link' +import { Button } from 'ui' +import Head from 'next/head' + +export default function Custom404() { + const [show404, setShow404] = useState(false) + + useEffect(() => { + setTimeout(() => { + setShow404(true) + }, 500) + }, []) + + return ( + <> + + 404 | Supabase + + + + + 404 + + + + + Looking for something? 🔍 + + We couldn't find the page that you're looking for! + + + + + + Head back + + + + + + > + ) +}
+ We couldn't find the page that you're looking for! +