first commit
This commit is contained in:
22
app/layout.tsx
Normal file
22
app/layout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import SessionProvider from "@/components/SessionProvider";
|
||||
import Navbar from "@/components/Navbar";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "فانتزی جام جهانی",
|
||||
description: "بازی فوتبال فانتزی جام جهانی",
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="fa" dir="rtl">
|
||||
<body className="bg-gray-50 text-gray-900 font-sans min-h-screen">
|
||||
<SessionProvider>
|
||||
<Navbar />
|
||||
{children}
|
||||
</SessionProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user