import React from "react";
import { cn } from "~/lib/utils";
interface LoginLayoutProps {
children: React.ReactNode;
className?: string;
}
export function LoginLayout({ children, className }: LoginLayoutProps) {
return (
{children}
);
}
interface LoginContentProps {
children: React.ReactNode;
className?: string;
}
export function LoginContent({ children, className }: LoginContentProps) {
return (
);
}
interface LoginSidebarProps {
children: React.ReactNode;
className?: string;
}
export function LoginSidebar({ children, className }: LoginSidebarProps) {
return (
);
}
interface LoginHeaderProps {
title: string;
subtitle: string;
description?: string;
className?: string;
}
export function LoginHeader({
title,
subtitle,
description,
className,
}: LoginHeaderProps) {
return (
{title}
{subtitle}
{description && (
{description}
)}
);
}
interface LoginBrandingProps {
brandName: string;
companyName: string;
logo?: React.ReactNode;
className?: string;
}
export function LoginBranding({
brandName,
companyName,
logo,
className,
}: LoginBrandingProps) {
return (
<>
{/* Top Logo */}
{brandName.split("\n").map((line, index) => (
{line}
{index === 0 &&
}
))}
{/* Bottom Section */}
{companyName}
{/* Logo */}
{logo &&
{logo}
}
>
);
}
interface LoginFormContainerProps {
children: React.ReactNode;
onSubmit: (e: React.FormEvent) => void;
className?: string;
}
export function LoginFormContainer({
children,
onSubmit,
className,
}: LoginFormContainerProps) {
return (
);
}