您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

layout.tsx 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import Header from '../signin/_header'
  2. import style from '../signin/page.module.css'
  3. import cn from '@/utils/classnames'
  4. export default async function SignInLayout({ children }: any) {
  5. return <>
  6. <div className={cn(
  7. 'bg-background-body',
  8. style.background,
  9. 'flex min-h-screen w-full',
  10. 'sm:p-4 lg:p-8',
  11. 'gap-x-20',
  12. 'justify-center lg:justify-start',
  13. )}>
  14. <div className={
  15. cn(
  16. 'flex w-full shrink-0 flex-col rounded-2xl bg-background-section-burn shadow',
  17. 'space-between',
  18. )
  19. }>
  20. <Header />
  21. <div className={
  22. cn(
  23. 'flex w-full grow flex-col items-center justify-center',
  24. 'px-6',
  25. 'md:px-[108px]',
  26. )
  27. }>
  28. <div className='flex flex-col md:w-[400px]'>
  29. {children}
  30. </div>
  31. </div>
  32. <div className='system-xs-regular px-8 py-6 text-text-tertiary'>
  33. © {new Date().getFullYear()} LangGenius, Inc. All rights reserved.
  34. </div>
  35. </div>
  36. </div>
  37. </>
  38. }