2024-10-21 09:23:20 +08:00
|
|
|
import Header from '../signin/_header'
|
|
|
|
import style from '../signin/page.module.css'
|
|
|
|
|
|
|
|
import cn from '@/utils/classnames'
|
|
|
|
|
|
|
|
export default async function SignInLayout({ children }: any) {
|
|
|
|
return <>
|
|
|
|
<div className={cn(
|
2025-03-31 10:28:19 +08:00
|
|
|
'bg-background-body',
|
2024-10-21 09:23:20 +08:00
|
|
|
style.background,
|
2025-03-21 17:41:03 +08:00
|
|
|
'flex min-h-screen w-full',
|
2024-10-21 09:23:20 +08:00
|
|
|
'sm:p-4 lg:p-8',
|
|
|
|
'gap-x-20',
|
|
|
|
'justify-center lg:justify-start',
|
|
|
|
)}>
|
|
|
|
<div className={
|
|
|
|
cn(
|
2025-03-31 10:28:19 +08:00
|
|
|
'flex w-full shrink-0 flex-col rounded-2xl bg-background-section-burn shadow',
|
2024-10-21 09:23:20 +08:00
|
|
|
'space-between',
|
|
|
|
)
|
|
|
|
}>
|
|
|
|
<Header />
|
|
|
|
<div className={
|
|
|
|
cn(
|
2025-03-21 17:41:03 +08:00
|
|
|
'flex w-full grow flex-col items-center justify-center',
|
2024-10-21 09:23:20 +08:00
|
|
|
'px-6',
|
|
|
|
'md:px-[108px]',
|
|
|
|
)
|
|
|
|
}>
|
|
|
|
<div className='flex flex-col md:w-[400px]'>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
</div>
|
2025-03-21 17:41:03 +08:00
|
|
|
<div className='system-xs-regular px-8 py-6 text-text-tertiary'>
|
2024-10-21 09:23:20 +08:00
|
|
|
© {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
}
|