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: Add OP boost fyi banner #242

Merged
merged 5 commits into from
Jun 19, 2023
Merged

feat: Add OP boost fyi banner #242

merged 5 commits into from
Jun 19, 2023

Conversation

karelianpie
Copy link
Member

@karelianpie karelianpie commented Jun 19, 2023

Closes #240

Implement the OP boost banner to guide users to the tab where they can unstake their rewards

Screenshot_2023-06-19_at_15_21_15

@karelianpie karelianpie requested a review from Majorfi June 19, 2023 12:26
@karelianpie karelianpie self-assigned this Jun 19, 2023
@vercel
Copy link

vercel bot commented Jun 19, 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 Jun 19, 2023 2:10pm

@@ -214,6 +229,15 @@ function VaultActionsTabsWrapper({currentVault}: {currentVault: TYDaemonVault}):
</div>
<div className={'-mt-0.5 h-0.5 w-full bg-neutral-300'} />

{shouldShowOpBoostInfo && !isZero(rewardBalance.normalized) && (
<div className={'mt-4'}>
Copy link
Member Author

Choose a reason for hiding this comment

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

Without this margin it looks a bit cluttered with the border bottom of the tab

@Majorfi Majorfi merged commit 9af7b64 into main Jun 19, 2023
@Majorfi Majorfi deleted the feat/op-boost-banner branch June 19, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🟢 Done
Development

Successfully merging this pull request may close these issues.

Bug: OpBoost staking indicator
2 participants