language bug fixing
This commit is contained in:
11
app/[lang]/[carType]/layout.tsx
Normal file
11
app/[lang]/[carType]/layout.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
13
app/[lang]/[carType]/page.tsx
Normal file
13
app/[lang]/[carType]/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
|
||||
import Title from "@/components/title";
|
||||
import { useParams } from "next/navigation";
|
||||
|
||||
export default function CartType() {
|
||||
const router = useParams();
|
||||
return (
|
||||
<div dir="ltr" className="my-20" >
|
||||
<Title text="tex-rent" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user