Skip to content

Commit

Permalink
chore: Use cdn and remove images
Browse files Browse the repository at this point in the history
  • Loading branch information
memoyil committed Oct 2, 2024
1 parent bb72233 commit 2c5743f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file removed apps/web/public/images/floating-cake.png
Binary file not shown.
Binary file removed apps/web/public/images/nigeria-meetup-bunny.png
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
LinkExternalAction,
PancakeSwapBadge,
} from '@pancakeswap/widgets-internal'
import { ASSET_CDN } from 'config/constants/endpoints'

const NumberDisplayContainer = styled(FlexGap)`
border-radius: 1.5rem;
Expand Down Expand Up @@ -146,7 +147,7 @@ export const NigeriaMeetupBanner = memo(function NigeriaMeetupBanner() {

<BannerGraphics>
<BackgroundGraphic
src="/images/nigeria-meetup-bunny.png"
src={` ${ASSET_CDN}/web/banners/nigeria-meet-up/nigeria-meetup-bunny.png`}
width={isMobile ? 185 : isTablet ? 265 : 360}
height={isMobile ? 120 : isTablet ? 170 : 227}
/>
Expand All @@ -157,7 +158,7 @@ export const NigeriaMeetupBanner = memo(function NigeriaMeetupBanner() {
top={isMobile ? '15%' : isTablet ? '10%' : null}
>
<FloatingGraphic
src="/images/floating-cake.png"
src={`${ASSET_CDN}/web/banners/nigeria-meet-up/floating-cake.png`}
width={isMobile ? 70 : isTablet ? 86 : 104}
height={isMobile ? 68 : isTablet ? 84 : 101}
/>
Expand Down

0 comments on commit 2c5743f

Please sign in to comment.