25 lines
546 B
TypeScript
25 lines
546 B
TypeScript
|
|
// src/app/layout.tsx
|
||
|
|
import type { Metadata } from 'next';
|
||
|
|
import '@/styles/globals.css';
|
||
|
|
import { AuthProvider } from '@/lib/hooks/useAuth';
|
||
|
|
|
||
|
|
export const metadata: Metadata = {
|
||
|
|
title: 'DyoLink - Dental Clinic & Lab Communication Hub',
|
||
|
|
description: 'Connect dental clinics and laboratories seamlessly',
|
||
|
|
};
|
||
|
|
|
||
|
|
export default function RootLayout({
|
||
|
|
children,
|
||
|
|
}: {
|
||
|
|
children: React.ReactNode;
|
||
|
|
}) {
|
||
|
|
return (
|
||
|
|
<html lang="en">
|
||
|
|
<body>
|
||
|
|
<AuthProvider>
|
||
|
|
{children}
|
||
|
|
</AuthProvider>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
);
|
||
|
|
}
|