Skip to content

Commit

Permalink
perf: convert the "slide" svgs with embedded base64 pngs to just pngs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Dec 18, 2024
1 parent f054257 commit 27c38a5
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 68 deletions.
Binary file added app/images/slide-bridge-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions app/images/slide-bridge-icon.svg

This file was deleted.

Binary file added app/images/slide-card-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions app/images/slide-card-icon.svg

This file was deleted.

Binary file added app/images/slide-fund-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 0 additions & 20 deletions app/images/slide-fund-icon.svg

This file was deleted.

Binary file added app/images/slide-sell-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 0 additions & 11 deletions app/images/slide-sell-icon.svg

This file was deleted.

8 changes: 4 additions & 4 deletions ui/components/multichain/account-overview/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const FUND_SLIDE = {
id: 'fund',
title: 'slideFundWalletTitle',
description: 'slideFundWalletDescription',
image: './images/slide-fund-icon.svg',
image: './images/slide-fund-icon.png',
href: 'https://portfolio.metamask.io/buy/build-quote',
};

Expand All @@ -11,23 +11,23 @@ export const BRIDGE_SLIDE = {
id: 'bridge',
title: 'slideBridgeTitle',
description: 'slideBridgeDescription',
image: './images/slide-bridge-icon.svg',
image: './images/slide-bridge-icon.png',
};
///: END:ONLY_INCLUDE_IF

export const CARD_SLIDE = {
id: 'card',
title: 'slideDebitCardTitle',
description: 'slideDebitCardDescription',
image: './images/slide-card-icon.svg',
image: './images/slide-card-icon.png',
href: 'https://portfolio.metamask.io/card',
};

export const CASH_SLIDE = {
id: 'cash',
title: 'slideCashOutTitle',
description: 'slideCashOutDescription',
image: './images/slide-sell-icon.svg',
image: './images/slide-sell-icon.png',
href: 'https://portfolio.metamask.io/sell',
};

Expand Down

0 comments on commit 27c38a5

Please sign in to comment.