QR-master/src/app/(auth)/layout.tsx

38 lines
1.2 KiB
TypeScript

import '@/styles/globals.css';
import { Providers } from '@/components/Providers';
import type { Metadata } from 'next';
export const metadata: Metadata = {
title: 'Authentication | QR Master',
description: 'Securely login or sign up to QR Master to manage your dynamic QR codes, track analytics, and access premium features. Your gateway to professional QR management.',
icons: {
icon: [
{ url: '/favicon.svg', type: 'image/svg+xml' },
{ url: '/logo.svg', type: 'image/svg+xml' },
],
apple: '/logo.svg',
},
};
export default function AuthRootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className="font-sans">
<Providers>
<div className="min-h-screen bg-gradient-to-br from-primary-50 to-white">
{children}
<div className="py-6 text-center text-sm text-slate-500 space-x-4">
<a href="/" className="hover:text-primary-600 transition-colors">Home</a>
<a href="/privacy" className="hover:text-primary-600 transition-colors">Privacy</a>
<a href="/faq" className="hover:text-primary-600 transition-colors">FAQ</a>
</div>
</div>
</Providers>
</body>
</html>
);
}