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 yETH to the header popover #313

Merged
merged 2 commits into from
Aug 5, 2023
Merged

feat: Add yETH to the header popover #313

merged 2 commits into from
Aug 5, 2023

Conversation

karelianpie
Copy link
Contributor

Description

Add the yETH icon to the header popover

Related Issue

Closes #312

Motivation and Context

A logo link to yETH should be available on all pages for easy navigation.

How Has This Been Tested?

Locally, screenshot below

Screenshots (if appropriate):

Screenshot_2023-08-04_at_8_48_37

@karelianpie karelianpie self-assigned this Aug 4, 2023
@vercel
Copy link

vercel bot commented Aug 4, 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 Aug 4, 2023 6:04am

@@ -68,7 +68,7 @@ function LogoPopover(): ReactElement {
leaveTo={'opacity-0 translate-y-1'}>
<Popover.Panel className={'absolute left-1/2 z-10 mt-6 w-80 -translate-x-1/2 px-4 pt-4 sm:px-0 md:w-96'}>
<div className={'overflow-hidden border border-neutral-200 shadow-lg'}>
<div className={'relative grid grid-cols-2 bg-neutral-0 md:grid-cols-4'}>
<div className={'relative grid grid-cols-2 bg-neutral-0 md:grid-cols-3'}>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reduce to 3 cols so that we mimic the look in the homepage 3+2 icons, rather than 4+1

@@ -194,6 +194,7 @@ export function useSolverPortals(): TSolverContext {
to: toAddress(to),
...rest
});
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should address these any at some point™

@Majorfi Majorfi added this pull request to the merge queue Aug 5, 2023
Merged via the queue into main with commit 2a789bc Aug 5, 2023
9 checks passed
@Majorfi Majorfi deleted the issues/312 branch August 5, 2023 09:32
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: Link to yETH product missing
2 participants