sign-in-partner.tsx 759 B

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