Skip to content

Commit

Permalink
adds select reward section for delivery page
Browse files Browse the repository at this point in the history
  • Loading branch information
rep0x committed Apr 30, 2019
1 parent aa1d5ff commit 4e50e9a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Binary file added public/assets/mockups/buyer/city.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/mockups/buyer/order_tracking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/mockups/delivery/select_reward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/Components/Pages/Delivery.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default class extends Component {
<ShowCase sectionData={findPackagesData} />
<ShowCase sectionData={pickupData} />
<ShowCase sectionData={deliveryData} />
<ShowCase sectionData={rewardData} />
</Fragment>
)
}
Expand Down Expand Up @@ -128,3 +129,26 @@ const deliveryData = {
}
]
}
const rewardData = {
id: 'reward',
border: true,
background: 'white',
image_type: 'mobile',
image_path: '../assets/mockups/delivery/select_reward.png',
image_right: false,
title: 'Select your reward',
description: "Receive rewards once you complete the delivery!",
button: false,
link_to: '',
button_text: '',
items: [
{
title: 'Money',
description: 'You can decide to earn money: you set the price per km, the system will choose the delivery person with the feedback and $/km.',
},
{
title: 'Coupons',
description: 'If you prefer you can decide to get paid with coupons that you can use in the local shops: the longer is the path the more the reward will be interesting!',
}
]
}

0 comments on commit 4e50e9a

Please sign in to comment.