Initialize the user app and load home banners from the API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import type { ProductCategory, SeasonCategory } from '@/types/crm'
|
||||
|
||||
/** دستهبندی کاربرد/فصل — تاکسونومی ثابت اپ (همتراز با سرور) */
|
||||
export const CATALOG_USAGE_CATEGORIES: ProductCategory[] = [
|
||||
{ id: 'trousers', title: 'پارچههای شلواری', subtitle: 'مشاهده محصولات' },
|
||||
{ id: 'suit', title: 'پارچههای کتشلواری', subtitle: 'مشاهده محصولات' },
|
||||
{ id: 'shirt', title: 'پارچههای پیراهنی', subtitle: 'مشاهده محصولات' },
|
||||
]
|
||||
|
||||
export const CATALOG_SEASON_CATEGORIES: SeasonCategory[] = [
|
||||
{
|
||||
id: 'summer',
|
||||
title: 'تابستانه',
|
||||
description: 'سبک، خنک و مناسب فصل گرم',
|
||||
},
|
||||
{
|
||||
id: 'winter',
|
||||
title: 'زمستانه',
|
||||
description: 'گرم و مناسب فصل سرد',
|
||||
},
|
||||
{
|
||||
id: 'all_season',
|
||||
title: 'چهارفصل',
|
||||
description: 'مناسب استفاده در بیشتر فصلهای سال',
|
||||
},
|
||||
]
|
||||
|
||||
export function getCatalogCategories() {
|
||||
return {
|
||||
usage: CATALOG_USAGE_CATEGORIES,
|
||||
seasons: CATALOG_SEASON_CATEGORIES,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user