layout changed and footer change bg color to primary

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-12-09 18:22:42 +05:00
parent 45fbeaf77d
commit 6d6a25637a
4 changed files with 41 additions and 26 deletions

View File

@@ -1,16 +1,18 @@
import { ReactNode } from "react";
import "../i18n/request"; // i18n config faylini import qilamiz
import { LanguageProvider } from "@/context/language-context";
import './globals.css'
import "./globals.css";
import { Navbar } from "@/components/Navbar";
import { Footer } from "@/components/Footer";
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="uz">
<body>
<LanguageProvider>
<Navbar />
{children}
<Footer />
</LanguageProvider>
</body>
</html>

View File

@@ -1,12 +1,8 @@
"use client";
import { Navbar } from "@/components/Navbar";
import { ShowCase } from "@/components/ShowCase";
import { About } from "@/components/About";
import { ProductsGrid } from "@/components/ProductsGrid";
import { FAQ } from "@/components/FAQ";
import { ContactForm } from "@/components/ContactForm";
import { Footer } from "@/components/Footer";
const HERO_IMAGES = [
"/product/product.jpg",
@@ -18,15 +14,12 @@ const HERO_IMAGES = [
export default function Home() {
return (
<main>
<Navbar />
<ShowCase
images={HERO_IMAGES}
/>
<ShowCase images={HERO_IMAGES} />
<About />
feature.labelKey
<ProductsGrid />
<FAQ />
<ContactForm />
<Footer />
</main>
);
}