added mobile category page
This commit is contained in:
1 parent
5f30e81557
commit
96321ffcf5
6 files changed
+91
-22
No files matched your search
@@ -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} />;
|
||||
}
|
||||
Reference in new issue
Block a user