You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.4 KiB
44 lines
1.4 KiB
const INITIAL_STATE = { |
|
sections: [ |
|
{ |
|
title: "موس (موشواره)", |
|
imageUrl: "https://www.pngkey.com/png/full/957-9575055_redragon-m908-impact-mmo-gaming-mouse-up-to.png", |
|
id: 1, |
|
linkUrl: "shop/hats" |
|
}, |
|
{ |
|
title: "کیبورد", |
|
imageUrl: "https://www.pngplay.com/wp-content/uploads/13/Gaming-Keyboard-Transparent-Free-PNG.png", |
|
id: 2, |
|
linkUrl: "shop/jackets" |
|
}, |
|
{ |
|
title: "وبکم", |
|
imageUrl: "https://www.pngkey.com/png/full/246-2465497_webcam-transparent-images-trust-exis-webcam-17003.png", |
|
id: 3, |
|
linkUrl: "shop/sneakers" |
|
}, |
|
{ |
|
title: "اسپیکر", |
|
imageUrl: "https://www.pngarts.com/files/12/Portable-Bluetooth-Speaker-Transparent-Images.png", |
|
size: "large", |
|
id: 4, |
|
linkUrl: "shop/womens" |
|
}, |
|
{ |
|
title: "مانیتور", |
|
imageUrl: "https://static.acer.com/up/Resource/Acer/Monitors/BE0/Image/20160503/BE240Y_sku_preview.png", |
|
size: "large", |
|
id: 5, |
|
linkUrl: "shop/mens" |
|
} |
|
] |
|
} |
|
const directoryReducer = (state = INITIAL_STATE, action) => { |
|
switch(action.type){ |
|
default: |
|
return state |
|
} |
|
} |
|
|
|
export default directoryReducer |