diff --git a/apps/next/pages/_app.tsx b/apps/next/pages/_app.tsx index 02d3c6e5b..1369685e6 100644 --- a/apps/next/pages/_app.tsx +++ b/apps/next/pages/_app.tsx @@ -16,6 +16,8 @@ import { Provider } from 'app/provider' import { projectId, config as wagmiConfig } from 'app/provider/wagmi/config' import { createWeb3Modal } from '@web3modal/wagmi/react' import { baseMainnetClient } from '@my/wagmi' +import { YStack, H1, H2 } from '@my/ui' +import { IconSendLogo } from 'app/components/icons' createWeb3Modal({ wagmiConfig, @@ -73,7 +75,11 @@ function MyApp({ }} > - {getLayout()} + {process.env.NEXT_PUBLIC_MAINTENANCE_MODE === 'true' ? ( + + ) : ( + getLayout() + )} @@ -81,3 +87,26 @@ function MyApp({ } export default api.withTRPC(MyApp) + +function MaintenanceMode() { + return ( + + +

+ currently undergoing maintenance +

+

+ We will be back shortly! +

+
+ ) +}