260204_01_ENH: 카테고리 하위 페이지들 경로명 수정
This commit is contained in:
@@ -47,11 +47,12 @@ export const totalFilters:TotalFilterItem[] = [
|
||||
variable:"pyeong",
|
||||
variableName:"거주 평형",
|
||||
children:[
|
||||
{ value: "0", label: "19평 이하"},
|
||||
{ value: "1", label: "20평형 대"},
|
||||
{ value: "2", label: "30평형 대"},
|
||||
{ value: "3", label: "40평형 대"},
|
||||
{ value: "4", label: "50평형 이상"},
|
||||
{ value: "0", label: "전체"},
|
||||
{ value: "1", label: "19평 이하"},
|
||||
{ value: "2", label: "20평형 대"},
|
||||
{ value: "3", label: "30평형 대"},
|
||||
{ value: "4", label: "40평형 대"},
|
||||
{ value: "5", label: "50평형 이상"},
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -83,11 +84,12 @@ export const totalFilters:TotalFilterItem[] = [
|
||||
variable:"age",
|
||||
variableName:"연령대",
|
||||
children:[
|
||||
{ value: "0", label: "20대"},
|
||||
{ value: "1", label: "30대"},
|
||||
{ value: "2", label: "40대"},
|
||||
{ value: "3", label: "50대"},
|
||||
{ value: "4", label: "60대"},
|
||||
{ value: "0", label: "전체"},
|
||||
{ value: "2", label: "20대"},
|
||||
{ value: "3", label: "30대"},
|
||||
{ value: "4", label: "40대"},
|
||||
{ value: "5", label: "50대"},
|
||||
{ value: "6", label: "60대"},
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -114,13 +116,13 @@ export const categoryTargetType: CategoryTargetTypeItem[] = [
|
||||
},
|
||||
{
|
||||
label:"향후 구매",
|
||||
value: CategoryTargetType.PURCHASE,
|
||||
value: CategoryTargetType.INTENDED,
|
||||
},
|
||||
]
|
||||
|
||||
export const categoryTarget: CategoryTargetItem[] = [
|
||||
{
|
||||
type: CategoryTargetType.PENETRATION,
|
||||
type: [CategoryTargetType.PENETRATION],
|
||||
children:[
|
||||
{ target: CategoryTargetData.PROFILE, label: "Profile"},
|
||||
{ target: CategoryTargetData.PENETRATION_CHANGE, label: "보급률 변화"},
|
||||
@@ -131,7 +133,7 @@ export const categoryTarget: CategoryTargetItem[] = [
|
||||
]
|
||||
},
|
||||
{
|
||||
type: CategoryTargetType.PURCHASE,
|
||||
type: [CategoryTargetType.PURCHASE, CategoryTargetType.INTENDED],
|
||||
children:[
|
||||
{ target: CategoryTargetData.PROFILE, label: "Profile"},
|
||||
{ target: CategoryTargetData.BRAND, label: "브랜드"},
|
||||
|
||||
@@ -12,6 +12,7 @@ export type TotalFilterItem = {
|
||||
export enum CategoryTargetType {
|
||||
PENETRATION = "PENETRATION",
|
||||
PURCHASE = "PURCHASE",
|
||||
INTENDED = "INTENDED"
|
||||
}
|
||||
|
||||
export enum CategoryTargetData {
|
||||
@@ -36,6 +37,6 @@ export type TargetChild = {
|
||||
}
|
||||
|
||||
export type CategoryTargetItem = {
|
||||
type: CategoryTargetType;
|
||||
type: CategoryTargetType[];
|
||||
children: TargetChild[];
|
||||
}
|
||||
@@ -10,7 +10,7 @@ export const topMenus: TopMenuItem[] = [
|
||||
{
|
||||
id: "category",
|
||||
label: "카테고리",
|
||||
path: "/category/ha-kitchen",
|
||||
path: "/category/kitchen",
|
||||
match: (pathname) => pathname.startsWith("/category"),
|
||||
},
|
||||
];
|
||||
@@ -40,23 +40,23 @@ export const totalSubMenus: SubMenuItem[] = [
|
||||
|
||||
export const categorySubMenus: SubMenuItem[] = [
|
||||
{
|
||||
id: "ha-kitchen",
|
||||
label: "H&A 주방가전(키친)",
|
||||
path: "/category/ha-kitchen",
|
||||
id: "kitchen",
|
||||
label: "키친솔루션",
|
||||
path: "/category/kitchen",
|
||||
},
|
||||
{
|
||||
id: "ha-living",
|
||||
label: "H&A 리빙가전",
|
||||
path: "/category/ha-living",
|
||||
id: "living",
|
||||
label: "리빙솔루션",
|
||||
path: "/category/living",
|
||||
},
|
||||
{
|
||||
id: "air-solution",
|
||||
label: "에어솔루션",
|
||||
path: "/category/air-solution",
|
||||
id: "es",
|
||||
label: "ES",
|
||||
path: "/category/es",
|
||||
},
|
||||
{
|
||||
id: "ms-digital",
|
||||
label: "MS 디지털가전",
|
||||
path: "/category/ms-digital",
|
||||
id: "ms",
|
||||
label: "MS",
|
||||
path: "/category/ms",
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user