import { RefreshCw } from 'lucide-react' import { useTheme } from 'next-themes' import Head from 'next/head' import { useMemo } from 'react' import { Button, cn } from 'ui' import { BASE_PATH } from '@/lib/constants' import type { NextPageWithLayout } from '@/types' const MaintenancePage: NextPageWithLayout = () => { const { resolvedTheme } = useTheme() const isDarkMode = resolvedTheme?.includes('dark') const imgUrl = useMemo( () => isDarkMode ? `${BASE_PATH}/img/briven-dark.svg` : `${BASE_PATH}/img/briven-light.svg`, [isDarkMode] ) return ( <> Briven | Under Maintenance
Briven

Under Maintenance

We are currently improving our services. The dashboard will be back online shortly.

If you need support while the dashboard is inaccessible, you can email us at{' '} support+maintenance@supabase.io

Reload the page to check if the maintenance window has ended

) } MaintenancePage.getLayout = (page) => (
{page}
) export default MaintenancePage