feat: add authenticated settings page.
This commit is contained in:
19
shadcn-admin/src/features/auth/auth-layout.tsx
Normal file
19
shadcn-admin/src/features/auth/auth-layout.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Logo } from '@/assets/logo'
|
||||
|
||||
type AuthLayoutProps = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export function AuthLayout({ children }: AuthLayoutProps) {
|
||||
return (
|
||||
<div className='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'>
|
||||
<Logo className='me-2' />
|
||||
<h1 className='text-xl font-medium'>Shadcn Admin</h1>
|
||||
</div>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user