This commit is contained in:
Davron Chetin
2025-10-14 17:16:41 +05:00
parent a3b2d187ae
commit d126d7f8e3
14 changed files with 218 additions and 42 deletions

11
app/[carType]/layout.tsx Normal file
View File

@@ -0,0 +1,11 @@
import CarType_Header from "@/components/carPageParts/carType_head";
import React, { ReactNode } from "react";
export default function Layout({ children }: { children: ReactNode }) {
return (
<div>
<CarType_Header />
{children}
</div>
);
}

View File

@@ -1,13 +1,13 @@
"use client"
"use client";
import CarType_Header from "@/components/carPageParts/carType_head";
import { useParams } from "next/navigation"
import Title from "@/components/title";
import { useParams } from "next/navigation";
export default function CartType() {
const router = useParams();
const router = useParams();
return (
<div>
<CarType_Header/>
<div dir="ltr" className="my-20" >
<Title text="tex-rent" />
</div>
)
);
}