footer desktop

This commit is contained in:
2025-05-13 11:43:16 +03:00
parent a5ffa7ae13
commit 837c0f1fb6
8 changed files with 339 additions and 21 deletions

View File

@@ -2,6 +2,7 @@ import type { Metadata } from 'next'
import { Geist, Geist_Mono } from 'next/font/google'
import './globals.css'
import Header from '@/components/Header'
import Footer from '@/components/Footer'
const geistSans = Geist({
variable: '--font-geist-sans',
@@ -26,11 +27,10 @@ export default function RootLayout({
}>) {
return (
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
<body className="min-h-screen">
<main className="min-h-screen">
<Header />
{children}
</main>
<body className="min-h-screen flex flex-col">
<Header />
<main className="flex-grow">{children}</main>
<Footer />
</body>
</html>
)