Show rewards notification on DApp
Closed this issue · 0 comments
rohitmalhotra1420 commented
After completing this task #1797
We will implement a notification component in DApp https://www.figma.com/design/FvJL0JWHlsVohsHTERB1Lh/Push-Design-Foundations?node-id=3682-30737&t=xtvA5BxQdRlTzLLS-1
- It will be shown when user lands on the Dapp for the first time on any of the page. So it is not page specific to any page but the whole dapp.
- When user goes to another page from the current page the notification should persist.
- If the user goes to rewards page from header or directly lands on the rewards page then it should not be visible.
- If the user clicks on the close icon in it should be hidden and not visible again until the cookies(localstorage) are not cleared.
- If the user clicks on the notification itself it should redirect user to the notification page and be hidden and not visible again until the cookies(localstorage) are not cleared.