chore: add project files and setup gitignore
This commit is contained in:
46
reserva-mesa-dashboard/app/layout.tsx
Normal file
46
reserva-mesa-dashboard/app/layout.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
import React from "react";
|
||||
import type { Metadata } from "next";
|
||||
import { Playfair_Display, DM_Sans, DM_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const playfair = Playfair_Display({
|
||||
subsets: ["latin"],
|
||||
variable: '--font-display'
|
||||
});
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
subsets: ["latin"],
|
||||
variable: '--font-body'
|
||||
});
|
||||
|
||||
const dmMono = DM_Mono({
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500"],
|
||||
variable: '--font-mono'
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "ReservaMesa Dashboard",
|
||||
description: "Dashboard de Gestão de Reservas para Restaurantes",
|
||||
};
|
||||
|
||||
import { AuthProvider } from "@/contexts/AuthContext";
|
||||
import { ToastProvider } from "@/components/ui/toast";
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="pt" className={`${playfair.variable} ${dmSans.variable} ${dmMono.variable}`}>
|
||||
<body className="min-h-screen bg-background text-foreground">
|
||||
<ToastProvider>
|
||||
<AuthProvider>
|
||||
{children}
|
||||
</AuthProvider>
|
||||
</ToastProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user