added mobile category page

This commit is contained in:
Jelaletdin12
2026-03-22 20:45:18 +05:00
parent 5f30e81557
commit 96321ffcf5
6 changed files with 91 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
import type { Metadata } from "next";
import CategoriesClient from "@/features/category/components/CategoriesClient";
type Props = {
params: Promise<{ locale: string }>;
};
export async function generateMetadata({
params,
}: Props): Promise<Metadata> {
return {
title: "Categories | SmartElectronics",
};
}
export default async function CategoriesPage(props: Props) {
const params = await props.params;
return <CategoriesClient locale={params.locale} />;
}