forked from RiseUP/riseup-squad20
- Reorganizes the components folder into ui, layout, features, shared, and providers for better modularity. - Groups routes in the app folder using a route group (auth). - Updates all imports to reflect the new file structure.
32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
import type React from "react"
|
|
import type { Metadata } from "next"
|
|
import { AuthProvider } from "@/hooks/useAuth"
|
|
import { ThemeProvider } from "@/components/providers/theme-provider"
|
|
import "./globals.css"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "MediConnect - Conectando Pacientes e Profissionais de Saúde",
|
|
description:
|
|
"Plataforma inovadora que conecta pacientes, clínicas, e médicos de forma prática, segura e humanizada. Experimente o futuro dos agendamentos médicos.",
|
|
keywords: "saúde, médicos, pacientes, agendamento, telemedicina, SUS",
|
|
generator: 'v0.app'
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="pt-BR" className="antialiased" suppressHydrationWarning>
|
|
<body style={{ fontFamily: "var(--font-geist-sans)" }}>
|
|
<ThemeProvider attribute="class" defaultTheme="light" enableSystem={false}>
|
|
<AuthProvider>
|
|
{children}
|
|
</AuthProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|