AuthenticationLayout.tsx14 lines · main
| 1 | import { PropsWithChildren } from 'react' |
| 2 | |
| 3 | import { AppBannerWrapper } from '@/components/interfaces/App/AppBannerWrapper' |
| 4 | |
| 5 | export const AuthenticationLayout = ({ children }: PropsWithChildren<{}>) => { |
| 6 | return ( |
| 7 | <div className="flex flex-col min-h-screen w-screen"> |
| 8 | <AppBannerWrapper /> |
| 9 | <div className="flex flex-1 w-full overflow-y-hidden"> |
| 10 | <div className="grow h-full overflow-y-auto">{children}</div> |
| 11 | </div> |
| 12 | </div> |
| 13 | ) |
| 14 | } |