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

feat: veYFI gauges #56

Closed
wants to merge 66 commits into from
Closed

feat: veYFI gauges #56

wants to merge 66 commits into from

Conversation

xgambitox
Copy link
Contributor

Description

  • Add veYFI gauge use cases

Motivation and Context

  • Prepare gauge voting for veYFI

How Has This Been Tested?

  • TBD

Screenshots (if appropriate):

  • TBD

@xgambitox xgambitox self-assigned this Jan 17, 2023
@vercel
Copy link

vercel bot commented Jan 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yearnfi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2023 7:31pm

)}
<div className={'relative flex w-full items-center justify-center'}>
<input
className={`h-10 w-full p-2 font-mono text-base font-normal outline-none ${error ? 'border border-solid border-[#EA5204] focus:border-[#EA5204]' : 'border-0 border-none'} ${disabled ? 'bg-neutral-300 text-neutral-600' : 'bg-neutral-0'}`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if there's a better way to handle these states rather than having all these ternary ops scattered around the className string? Looks hard to read, if there would be a better way that would be great :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just been adding the dynamically selected classes at the end, but not sure if that is the normal convention with tailwind. Maybe @Majorfi knows best ?

@karelianpie
Copy link
Member

👋 Gambito! Is this ready for re-review?

This was referenced Jun 20, 2023
@karelianpie
Copy link
Member

@xgambitox we could close this, it was successfully merged with main in #248

@xgambitox
Copy link
Contributor Author

Closing in favor of #248

@xgambitox xgambitox closed this Jul 6, 2023
@Majorfi Majorfi deleted the feat/veyfi-gauges branch September 6, 2023 16:58
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

Successfully merging this pull request may close these issues.

2 participants