Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stamp Detail - info details - conditional logic #420

Open
babalicious-io opened this issue Dec 2, 2024 · 3 comments
Open

Stamp Detail - info details - conditional logic #420

babalicious-io opened this issue Dec 2, 2024 · 3 comments

Comments

@babalicious-io
Copy link
Collaborator

Screenshot 2024-12-02 at 15 51 56

The icons need conditional logic applied to them
LOCK - displays if stamp is locked
UNLOCKED - displays if stamp is unlocked
FIRE - displays if keyburn
% - displays if stamp is divisible

One of either the LOCK or UNLOCKED icons should always display

HTML stamps
DIMENSION needs to be updated/calculated/fetched - maybe just display RESPONSIVE
SIZE needs to be updated

CPID external link - is this necessary ?

@babalicious-io
Copy link
Collaborator Author

#419

@reinamora137
Copy link
Contributor

Don’t really need the external link on the cpid now

@reinamora137 reinamora137 changed the title Stamp Detail - info details Stamp Detail - info details - conditional logic Dec 5, 2024
@babalicious-io
Copy link
Collaborator Author

The icons are positioned in place (align right/end) and just need logic applied
Either 🔒 or 🔓 is displayed - it's either one or the other (depending on the stamp being LOCKED or UNLOCKED)
If stamp is KEYBURNED then display 🔥
If stamp is divisible then display %

So always one icon displayed, with the possibility of 1 or 2 more shown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants