forked from cardosofelipe/fast-next-template
- Implemented `AuthLayoutClient` with theme toggle and responsive layout. - Replaced legacy layout implementation in `layout.tsx` with `AuthLayoutClient` for improved modularity and styling consistency. - Added comprehensive Jest tests to verify layout structure, theme toggle placement, and responsive rendering.
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
import type { Metadata } from 'next';
|
|
import { AuthLayoutClient } from '@/components/auth/AuthLayoutClient';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Authentication',
|
|
};
|
|
|
|
export default function AuthLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return <AuthLayoutClient>{children}</AuthLayoutClient>;
|
|
}
|