From a3b2d187aec63fc585a766e0cca0527f2b92a8fb Mon Sep 17 00:00:00 2001 From: Davron Chetin Date: Tue, 14 Oct 2025 12:51:25 +0500 Subject: [PATCH] ScroolToTop icon button --- app/[carType]/page.tsx | 2 +- app/layout.tsx | 15 +++++++++++---- app/page.tsx | 11 ----------- .../carType_head.tsx | 0 .../productCard.tsx | 0 components/pageParts/products.tsx | 2 +- 6 files changed, 13 insertions(+), 17 deletions(-) rename components/{carTypePageParts => carPageParts}/carType_head.tsx (100%) rename components/{carTypePageParts => carPageParts}/productCard.tsx (100%) diff --git a/app/[carType]/page.tsx b/app/[carType]/page.tsx index 0e741d3..7d0611f 100644 --- a/app/[carType]/page.tsx +++ b/app/[carType]/page.tsx @@ -1,6 +1,6 @@ "use client" -import CarType_Header from "@/components/carTypePageParts/carType_head"; +import CarType_Header from "@/components/carPageParts/carType_head"; import { useParams } from "next/navigation" export default function CartType() { diff --git a/app/layout.tsx b/app/layout.tsx index 13295e8..d10b476 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,6 +3,10 @@ import { Geist, Geist_Mono } from "next/font/google"; import { dir } from "i18next"; import "./globals.css"; import UpScrollIcon from "@/components/upScroll"; +import Contact from "@/components/pageParts/contact"; +import Footer from "@/components/nav_foot/footer"; +import Navbar from "@/components/nav_foot/navbar"; +import Header from "@/components/nav_foot/header"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -26,14 +30,17 @@ export default function RootLayout({ children: React.ReactNode; params: { lang: string }; }>) { - - - return ( +
+ {children} - +
+ +
+