neu-fi / regen-bingo

Monorepo for both backend and contract developments of Regen Bingo!
https://regen.bingo
2 stars 1 forks source link

Keep a "floating at bottom" banner. #123

Open hantuzun opened 1 year ago

hantuzun commented 1 year ago

The component: https://tailwindui.com/components/marketing/elements/banners#component-39dd57897ef8e6d37aa07fbbafc188b1

In case the user is not in the first tab, show a banner with text and a button to the first tab. Use the names of the tabs for the buttons. Use the following texts: MINT: {Humanized countdown} is left for minting cards. DRAW: {drawCount} numbers are drawn. You need to claim the prize if you're eligible! END: The game has ended. See the donation we've made collectively!

Pick relevant icons from https://heroicons.com/

hantuzun commented 1 year ago

It should have a closing functionality. No need to work on making it persist state in refreshes in my opinion.