fix soft wallet className issue

This commit is contained in:
akcodez
2024-02-05 09:37:41 -08:00
parent 2280502682
commit 91971a87d7

View File

@@ -5,9 +5,9 @@ import userIcon from "../static/img/icons/user.svg";
export const frontmatter = { export const frontmatter = {
seo: { seo: {
title: 'XRP Overview', title: "XRP Overview",
description: "Learn more about XRP Ledgers native digital asset, XRP.", description: "Learn more about XRP Ledgers native digital asset, XRP.",
} },
}; };
const links = [ const links = [
@@ -22,8 +22,8 @@ const softwallets = [
{ href: "https://towolabs.com/", id: "wallet-towo", alt: "Towo" }, { href: "https://towolabs.com/", id: "wallet-towo", alt: "Towo" },
{ href: "https://xumm.app/", id: "wallet-xumm", alt: "Xumm" }, { href: "https://xumm.app/", id: "wallet-xumm", alt: "Xumm" },
{ href: "https://trustwallet.com/", id: "wallet-trust", alt: "Trust Wallet" }, { href: "https://trustwallet.com/", id: "wallet-trust", alt: "Trust Wallet" },
{ href: "https://gatehub.net/", id: "wallet-gatehub", alt: "Gatehub" }, { href: "https://gatehub.net/", id: "wallet-gatehub", alt: "Gatehub", imgclasses: "invertible-img",},
{ href: "https://coin.space/", id: "wallet-coin", alt: "Coin Space" } { href: "https://coin.space/", id: "wallet-coin", alt: "Coin Space" },
]; ];
const hardwallets = [ const hardwallets = [
@@ -380,7 +380,9 @@ export default function XrpOverview() {
target="_blank" target="_blank"
> >
<img <img
className="mw-100 $$ if wallet.imgclasses $${wallet.imgclasses}$$ endif $$" className={`mw-100 ${
!!wallet?.imgclasses && wallet.imgclasses
}`}
id={wallet.id} id={wallet.id}
alt={wallet.alt} alt={wallet.alt}
/> />