sign-in-partner.tsx25 lines · main
1import { cn } from 'ui'
2
3import { SignInPartner } from '@/components/interfaces/SignIn/SignInPartner'
4import ForgotPasswordLayout from '@/components/layouts/SignInLayout/ForgotPasswordLayout'
5import type { NextPageWithLayout } from '@/types'
6
7const SignInPartnerPage: NextPageWithLayout = () => {
8 return <SignInPartner />
9}
10
11SignInPartnerPage.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
25export default SignInPartnerPage