-
Notifications
You must be signed in to change notification settings - Fork 2
/
routeList.ts
137 lines (136 loc) · 2.69 KB
/
routeList.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
export interface IRoute {
menuId?: number
title?: string
icon?: string
page?: string
color?: string
subMenu?: IRoute[]
}
export const routeList: IRoute[] = [
{
menuId: 1,
title: 'Fashion',
icon: 'dry_cleaning',
color: 'emerald.300',
subMenu: [
{
menuId: 11,
title: "Men's Fashion",
page: '/products?gender=men',
subMenu: [
{
menuId: 111,
title: 'T-Shirts',
page: '/products?gender=men&category=t-shirts',
},
{
menuId: 112,
title: 'Pants',
page: '/products?gender=men&category=pants',
},
{
menuId: 113,
title: 'Sneakers',
page: '/products?gender=men&category=sneakers',
},
],
},
{
menuId: 12,
title: "Women's Fashion",
page: '/products?gender=women',
subMenu: [
{
menuId: 121,
title: 'T-Shirts',
page: '/products?gender=women&category=t-shirts',
},
{
menuId: 122,
title: 'Pants',
page: '/products?gender=women&category=pants',
},
{
menuId: 123,
title: 'Sneakers',
page: '/products?gender=women&category=sneakers',
},
],
},
],
},
{
menuId: 2,
title: 'Toys & Games',
icon: 'sports_esports',
color: 'teal.300',
subMenu: [
{
menuId: 21,
title: 'Toys',
page: '/products?category=toys',
subMenu: [
{
menuId: 211,
title: 'Baby & Toddler Toys',
page: '/products?gender=kids&category=toys',
},
],
},
],
},
{
menuId: 3,
title: 'Work in Progress',
icon: 'computer',
color: 'cyan.300',
},
{
menuId: 4,
title: 'Work in Progress',
icon: 'restaurant',
color: 'rose.300',
},
{
menuId: 5,
title: 'Work in Progress',
icon: 'pets',
color: 'primary.300',
},
{
menuId: 6,
title: 'Work in Progress',
icon: 'sports_basketball',
color: 'fuschsia.300',
},
{
menuId: 7,
title: 'Work in Progress',
icon: 'new_releases',
color: 'gray.300',
},
{
menuId: 8,
title: 'Work in Progress',
icon: 'new_releases',
color: 'gray.300',
},
{
menuId: 9,
title: 'Work in Progress',
icon: 'new_releases',
color: 'gray.300',
},
{
menuId: 10,
title: 'Work in Progress',
icon: 'new_releases',
color: 'gray.300',
},
{
menuId: 11,
title: 'Work in Progress',
icon: 'new_releases',
color: 'gray.300',
},
]