Skip to content

Commit

Permalink
Merge pull request #135 from dappforce/fix-banner-size
Browse files Browse the repository at this point in the history
Change open comm banner
  • Loading branch information
olehmell authored Aug 30, 2023
2 parents 3ee1fa1 + d6b5507 commit db1423f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 121 deletions.
Binary file added public/images/banners/open-comm-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 0 additions & 54 deletions public/images/banners/open-comm-desktop.svg

This file was deleted.

Binary file added public/images/banners/open-comm-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 0 additions & 66 deletions public/images/banners/open-comm-mobile.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/utils/banners/OpenCommBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const OpenCommBanner = () => (
uid={BANNER_STORAGE_KEY}
kinds={bannersKind}
href={href}
buildUrl={({ isMobile }) => `/images/banners/open-comm${isMobile ? '-mobile' : '-desktop'}.svg`}
buildUrl={({ isMobile }) => `/images/banners/open-comm${isMobile ? '-mobile' : '-desktop'}.png`}
/>
)

Expand Down

0 comments on commit db1423f

Please sign in to comment.