"use client"; import Link from "next/link"; import { ArrowLeftIcon } from "@heroicons/react/24/outline"; import { Logo } from "@/components/atoms/logo"; export interface AuthLayoutProps { children: React.ReactNode; title: string; subtitle?: string; showBackButton?: boolean; backHref?: string; backLabel?: string; } export function AuthLayout({ children, title, subtitle, showBackButton = false, backHref = "/", backLabel = "Back to Home", }: AuthLayoutProps) { return (
{showBackButton && (
{backLabel}
)}

{title}

{subtitle && (

{subtitle}

)}
{children}
); }