Files
afrov2/app/layout.tsx
2026-04-08 14:46:10 +02:00

33 lines
1.1 KiB
TypeScript

import React from 'react';
import Script from 'next/script';
import Navbar from '../components/Navbar';
import Footer from '../components/Footer';
import { UserProvider } from '../components/UserProvider';
import { Metadata } from 'next';
import './globals.css';
export const metadata: Metadata = {
title: 'Afropreunariat - L\'Annuaire 2.0',
description: 'Annuaire Afropreunariat',
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="fr">
<head>
<link rel="icon" type="image/svg+xml" href="https://cdn-icons-png.flaticon.com/512/1022/1022235.png" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap" rel="stylesheet" />
</head>
<body className="bg-gray-50 text-gray-900 antialiased min-h-screen flex flex-col font-sans">
<UserProvider>
<Navbar />
<main className="flex-grow">
{children}
</main>
<Footer />
</UserProvider>
</body>
</html>
);
}