| 12345678910111213141516171819202122232425262728 |
- interface Props {
- children: React.ReactNode
- }
- export default function AuthLayout({ children }: Props) {
- return (
- <div className='bg-primary-foreground container grid h-svh max-w-none items-center justify-center'>
- <div className='mx-auto flex w-full flex-col justify-center space-y-2 py-8 sm:w-[480px] sm:p-8'>
- <div className='mb-4 flex items-center justify-center'>
- <svg
- xmlns='http://www.w3.org/2000/svg'
- viewBox='0 0 24 24'
- fill='none'
- stroke='currentColor'
- strokeWidth='2'
- strokeLinecap='round'
- strokeLinejoin='round'
- className='me-2 h-6 w-6'
- >
- <path d='M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3' />
- </svg>
- <h1 className='text-xl font-medium'>Shadcn Admin</h1>
- </div>
- {children}
- </div>
- </div>
- )
- }
|