import { Suspense } from 'react' import type { Metadata } from 'next' import { AuthWrapper } from '@nextsparkjs/core/components/auth/layouts/AuthWrapper' import { getTemplateOrDefault, getMetadataOrDefault } from '@nextsparkjs/core/lib/template-resolver' const defaultMetadata: Metadata = { title: { default: 'Authentication | Boilerplate', template: '%s | Boilerplate', }, description: 'Sign in or create an account to access our platform', robots: { index: false, follow: false, }, } export const metadata: Metadata = getMetadataOrDefault( 'app/(auth)/layout.tsx', defaultMetadata ) function AuthLayout({ children }: { children: React.ReactNode }) { return (

Boilerplate

Modern Full-Stack Application

{children}

Protected with enterprise-grade encryption

) } export default getTemplateOrDefault('app/(auth)/layout.tsx', AuthLayout)