sign-in-partner.tsx25 lines · main
| 1 | import { cn } from 'ui' |
| 2 | |
| 3 | import { SignInPartner } from '@/components/interfaces/SignIn/SignInPartner' |
| 4 | import ForgotPasswordLayout from '@/components/layouts/SignInLayout/ForgotPasswordLayout' |
| 5 | import type { NextPageWithLayout } from '@/types' |
| 6 | |
| 7 | const SignInPartnerPage: NextPageWithLayout = () => { |
| 8 | return <SignInPartner /> |
| 9 | } |
| 10 | |
| 11 | SignInPartnerPage.getLayout = (page) => ( |
| 12 | // [Joshen] Just using this layout for the styling |
| 13 | <ForgotPasswordLayout |
| 14 | showHeadings={false} |
| 15 | className={cn( |
| 16 | 'mx-auto max-w-7xl px-8 sm:px-12 lg:px-16 gap-y-0!', |
| 17 | '[&>div:first-child]:absolute [&>div:first-child]:px-0!', |
| 18 | '[&>div:last-child]:grow [&>div:last-child>main]:px-0!' |
| 19 | )} |
| 20 | > |
| 21 | {page} |
| 22 | </ForgotPasswordLayout> |
| 23 | ) |
| 24 | |
| 25 | export default SignInPartnerPage |