websites/app/layout.tsx

30 lines
567 B
TypeScript
Raw Normal View History

2024-03-07 11:27:32 +01:00
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
2024-05-06 22:35:25 +02:00
import Nav from "../components/Nav";
import Footer from "../components/Footer";
2024-03-07 11:27:32 +01:00
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
2024-05-06 22:35:25 +02:00
}: {
2024-03-07 11:27:32 +01:00
children: React.ReactNode;
2024-05-06 22:35:25 +02:00
}) {
2024-03-07 11:27:32 +01:00
return (
2024-05-06 22:35:25 +02:00
<html lang="fr">
<body>
<Nav />
{children}
<Footer />
</body>
2024-03-07 11:27:32 +01:00
</html>
);
}