refactor(products): organize product showcase into feature module

This commit is contained in:
2026-09-29 09:44:00 +03:30
parent fcded6f139
commit ae6018a1f0
13 changed files with 68 additions and 45 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type {Metadata} from 'next';
import {notFound} from 'next/navigation';
import {content} from '@/data/content';
import ProductDetails from '@/components/ProductDetails';
import {ProductDetails} from '@/features/products';
import ProtectedPage from '@/components/auth/ProtectedPage';
type Props = {params: {id: string}};
+1 -1
View File
@@ -1,6 +1,6 @@
import {Suspense} from 'react';
import type {Metadata} from 'next';
import ProductsPage from '@/components/ProductsPage';
import {ProductsPage} from '@/features/products';
export const metadata: Metadata = {title: 'همه محصولات | روبات مارکت'};