import { useTheme } from 'next-themes' import Image from 'next/legacy/image' import Link from 'next/link' import { PropsWithChildren } from 'react' import { cn } from 'ui' import { BASE_PATH } from '@/lib/constants' type ForgotPasswordLayoutProps = { heading?: string subheading?: string logoLinkToMarketingSite?: boolean showHeadings?: boolean className?: string } const ForgotPasswordLayout = ({ heading, subheading, logoLinkToMarketingSite = false, showHeadings = true, className, children, }: PropsWithChildren) => { const { resolvedTheme } = useTheme() return (
{showHeadings && (

{heading}

{subheading}

)} {children}
) } export default ForgotPasswordLayout