11'use client'
22
33import type { ReactNode } from 'react'
4+ import AuthBackground from '@/app/(auth)/components/auth-background'
5+ import Navbar from '@/app/(home)/components/navbar/navbar'
46import { SupportFooter } from './support-footer'
57
68export interface StatusPageLayoutProps {
@@ -17,15 +19,24 @@ export function StatusPageLayout({
1719 showSupportFooter = true ,
1820} : StatusPageLayoutProps ) {
1921 return (
20- < >
21- < div className = 'flex flex-col items-center justify-center' >
22- < div className = 'space-y-1 text-center' >
23- < h1 className = 'font-[500] text-[#ECECEC] text-[32px] tracking-tight' > { title } </ h1 >
24- < p className = 'font-[380] text-[#999] text-[16px]' > { description } </ p >
22+ < AuthBackground className = 'dark font-[430] font-season' >
23+ < main className = 'relative flex min-h-full flex-col text-[#ECECEC]' >
24+ < header className = 'shrink-0 bg-[#1C1C1C]' >
25+ < Navbar logoOnly />
26+ </ header >
27+ < div className = 'relative z-30 flex flex-1 items-center justify-center px-4 pb-24' >
28+ < div className = 'w-full max-w-lg px-4' >
29+ < div className = 'flex flex-col items-center justify-center' >
30+ < div className = 'space-y-1 text-center' >
31+ < h1 className = 'font-[500] text-[#ECECEC] text-[32px] tracking-tight' > { title } </ h1 >
32+ < p className = 'font-[380] text-[#999] text-[16px]' > { description } </ p >
33+ </ div >
34+ { children && < div className = 'mt-8 w-full max-w-[410px] space-y-3' > { children } </ div > }
35+ </ div >
36+ </ div >
2537 </ div >
26- { children && < div className = 'mt-8 w-full max-w-[410px] space-y-3' > { children } </ div > }
27- </ div >
28- { showSupportFooter && < SupportFooter position = 'absolute' /> }
29- </ >
38+ { showSupportFooter && < SupportFooter position = 'absolute' /> }
39+ </ main >
40+ </ AuthBackground >
3041 )
3142}
0 commit comments