footer and first desktop version completed

This commit is contained in:
hamid zarghami
2026-07-19 16:09:33 +03:30
parent 2c9b43c84a
commit 2adaac8ec4
12 changed files with 275 additions and 7 deletions
+5 -3
View File
@@ -2,6 +2,7 @@ import "@/assets/iranyekan/fonts.css";
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import Footer from "./shared/Footer";
import Header from "./shared/Header";
const geistSans = Geist({
@@ -25,10 +26,11 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en" className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}>
<body className="min-h-full flex flex-col">
<html lang="fa" className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}>
<body className="flex min-h-full flex-col">
<Header />
{children}
<main className="flex-1">{children}</main>
<Footer />
</body>
</html>
);