File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/components/pages/vaults Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import { MobileDrawerSettingsButton } from '@pages/vaults/components/widget/Mobi
2222import { WidgetRewards } from '@pages/vaults/components/widget/rewards'
2323import { WalletPanel } from '@pages/vaults/components/widget/WalletPanel'
2424import { YvUsdWidget } from '@pages/vaults/components/widget/yvUSD/YvUsdWidget'
25+ import { YvUsdHeaderBanner } from '@pages/vaults/components/yvUSD/YvUsdHeaderBanner'
2526import { getVaultView , type TKongVault , type TKongVaultView } from '@pages/vaults/domain/kongVaultSelectors'
2627import {
2728 mergeYBoldSnapshot ,
@@ -1277,6 +1278,7 @@ function Index(): ReactElement | null {
12771278 { label : `${ getVaultName ( currentVault ) } ` , isCurrent : true }
12781279 ] }
12791280 />
1281+ { isYvUsd ? < YvUsdHeaderBanner className = { 'mb-3 md:min-h-26' } /> : null }
12801282 < div className = "flex items-center gap-3" >
12811283 < div className = "flex items-center justify-center size-10 rounded-full bg-surface/70" >
12821284 < TokenLogo
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ export function YvUsdHeaderBanner({ className }: { className?: string }): ReactE
1616 style = { BANNER_BACKGROUND_STYLE }
1717 aria-label = { 'yvUSD announcement banner' }
1818 >
19- < div className = { 'flex w-full items-center px-8 py-4 ' } >
19+ < div className = { 'flex w-full items-center px-5 py-2 md:px-8 ' } >
2020 < div className = { 'min-w-0' } >
21- < p className = { 'max-w-[48rem ] text-4xl font-bold leading-none text-white lg:text-4xl lg:leading-[0.95] ' } >
21+ < p className = { 'max-w-[28rem ] text-xl font-bold leading-none text-white md:max-w-[48rem] md:text-4xl ' } >
2222 { 'Transparent, Verifiable, Real Yield' }
2323 </ p >
24- < p className = { 'mt-0 text-sm font-bold leading-tight text-white lg:text-[1.05rem]' } >
24+ < p className = { 'mt-2 text-[12pt] font-bold leading-tight text-white md:text-sm md:mt-0 lg:text-[1.05rem]' } >
2525 < a
2626 href = { YVUSD_LEARN_MORE_URL }
2727 className = { 'underline underline-offset-2 transition-opacity hover:opacity-85' }
You can’t perform that action at this time.
0 commit comments