museum-of-war / web

https://metahistory.gallery
6 stars 3 forks source link

[NEW FEATURES] A Drop for a whitelist #137

Open hypomaker opened 2 years ago

hypomaker commented 2 years ago

Figma: https://www.figma.com/file/7ZAqEFONiXTkT4wbtDR8Lv/metahistory.galery-website?node-id=3396%3A81785

Flow for a not signed in user: Came to the Warline -> Click on the 'Get NFT' button -> Login modal -> If the address is in the whitelist — send to the minting without any other modals. Came to the Warline -> Click on the 'Get NFT' button -> Login modal -> If the address is NOT in the whitelist — If there are available places in the whitelist, show the modal 'Get NFT'. Came to the Warline -> Click on the 'Get NFT' button -> Login modal -> If the address is NOT in the whitelist — If there are available places in the whitelist, show the modal 'Get NFT' without the black CTA.

Flow for a signed in user: Came to the Warline -> Click on the 'Get NFT' button -> If the address is in the whitelist — send to the minting without any other modals. Came to the Warline -> Click on the 'Get NFT' button -> If the address is NOT in the whitelist — If there are available places in the whitelist, show the modal 'Get NFT'. Came to the Warline -> Click on the 'Get NFT' button -> If the address is NOT in the whitelist — If there are available places in the whitelist, show the modal 'Get NFT' without the black CTA.

The same behaviour is for the 'NFT details' page.