Skip to content

Commit

Permalink
build: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Feb 9, 2024
1 parent d0a1007 commit a8aa022
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yearn-finance/web-lib",
"version": "3.0.135",
"version": "3.0.136",
"main": "./dist/index.js",
"types": "./dist/index.d.js",
"files": [
Expand Down
12 changes: 11 additions & 1 deletion src/components/LogoPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {motion} from 'framer-motion';
import {cl} from '@builtbymom/web3/utils';
import {Popover, Transition} from '@headlessui/react';

import {LogoYearn} from '../icons/LogoYearn';
import {V3Logo} from '../icons/V3Logo';
import {APPS} from './YearnApps';

Expand Down Expand Up @@ -50,6 +51,15 @@ function Logo(): ReactElement {
</MotionDiv>
);
})}
<MotionDiv
name={'yearn'}
animate={pathname === '/' ? 'enter' : 'exit'}>
<LogoYearn
className={'size-8'}
back={'text-primary'}
front={'text-neutral-900'}
/>
</MotionDiv>
</>
);
}
Expand All @@ -76,7 +86,7 @@ export function LogoPopover(): ReactElement {
!isShowing ? 'opacity-0 pointer-events-none' : 'opacity-0 pointer-events-auto'
)}
/>
<Popover.Button className={'z-20 flex items-center'}>
<Popover.Button className={'z-20 -mt-4 flex items-center'}>
<Link href={'/'}>
<span className={'sr-only'}>{'Back to home'}</span>
<Logo />
Expand Down
4 changes: 2 additions & 2 deletions src/components/YearnApps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ export const APPS = {
icon: (
<LogoYearn
className={'size-8'}
back={'text-neutral-900'}
front={'text-neutral-0'}
back={'text-neutral-0'}
front={'text-neutral-900'}
/>
)
}
Expand Down

0 comments on commit a8aa022

Please sign in to comment.