diff --git a/src/components/DevconGrantsBanner.tsx b/src/components/DevconGrantsBanner.tsx deleted file mode 100644 index b9c8be6e3ff..00000000000 --- a/src/components/DevconGrantsBanner.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import DismissableBanner from "@/components/Banners/DismissableBanner" -import Emoji from "@/components/Emoji" - -import { BaseLink } from "./ui/Link" - -type DevconGrantsBannerProps = { - pathname: string -} - -const DevconGrantsBanner = ({ pathname }: DevconGrantsBannerProps) => { - if (pathname.includes("community") && pathname.includes("events")) { - return ( - -

- The Road to Devcon Grants support Ethereum education initiatives in - and close to Southeast Asia {" "} - Learn more{" "} - - here. - -

-
- ) - } - - return null -} - -export default DevconGrantsBanner diff --git a/src/components/EventCard.tsx b/src/components/EventCard.tsx index d310d2fd209..a18611f3a4e 100644 --- a/src/components/EventCard.tsx +++ b/src/components/EventCard.tsx @@ -48,6 +48,10 @@ const EventCard: React.FC = ({ {title} { + e.currentTarget.onerror = null + e.currentTarget.src = EventFallback.src + }} className="max-h-[224px] w-full object-cover xl:h-[124px]" /> ) : ( diff --git a/src/data/wallets/wallet-data.ts b/src/data/wallets/wallet-data.ts index 4675be8ad30..ebe1286e31e 100644 --- a/src/data/wallets/wallet-data.ts +++ b/src/data/wallets/wallet-data.ts @@ -13,8 +13,8 @@ import BridgeWalletImage from "@/public/images/wallets/bridge.png" import ClearWallet from "@/public/images/wallets/clearwallet.png" import CoinbaseImage from "@/public/images/wallets/coinbase.png" import CoinWalletImage from "@/public/images/wallets/coinwallet.png" -import CypherockX1Image from "@/public/images/wallets/cypherockx1.png" import CtrlWalletImage from "@/public/images/wallets/ctrl.png" +import CypherockX1Image from "@/public/images/wallets/cypherockx1.png" import EnkryptImage from "@/public/images/wallets/enkrypt.png" import ExodusImage from "@/public/images/wallets/exodus.png" import FoxWalletImage from "@/public/images/wallets/foxwallet.png" @@ -1546,7 +1546,20 @@ export const walletsData: WalletData[] = [ twGradiantBrandColor: "from-[#ffffff]", url: "https://web3.bitget.com/", active_development_team: true, - languages_supported: ["en", "zh","zh-tw", "ko", "ja", "vi", "tr", "es", "id", "hi", "ar", "pt"], + languages_supported: [ + "en", + "zh", + "zh-tw", + "ko", + "ja", + "vi", + "tr", + "es", + "id", + "hi", + "ar", + "pt", + ], twitter: "https://twitter.com/BitgetWallet", discord: "https://discord.gg/bitget-wallet", reddit: "", @@ -2102,7 +2115,8 @@ export const walletsData: WalletData[] = [ last_updated: "2024-08-24", name: "Cypherock X1", image: CypherockX1Image, - brand_color: "#e9b873", + twBackgroundColor: "bg-[#e9b873]", + twGradiantBrandColor: "from-[#e9b873]", url: "https://www.cypherock.com/", active_development_team: true, languages_supported: ["en", "de", "zh", "ar", "id"], @@ -2140,8 +2154,8 @@ export const walletsData: WalletData[] = [ social_recovery: false, onboard_documentation: "https://www.cypherock.com", documentation: "https://github.com/Cypherock/x1_wallet_firmware", - }, - { + }, + { last_updated: "2024-10-31", name: "Clear Wallet", image: ClearWallet, @@ -2177,7 +2191,7 @@ export const walletsData: WalletData[] = [ layer_2: true, gas_fee_customization: true, ens_support: false, - erc_20_support: true, + erc_20_support: true, buy_crypto: false, withdraw_crypto: false, multisig: false, diff --git a/src/layouts/Static.tsx b/src/layouts/Static.tsx index 3b39613413e..6ccc6653a78 100644 --- a/src/layouts/Static.tsx +++ b/src/layouts/Static.tsx @@ -7,7 +7,6 @@ import type { MdPageContent, StaticFrontmatter } from "@/lib/interfaces" import Breadcrumbs from "@/components/Breadcrumbs" import Callout from "@/components/Callout" import Contributors from "@/components/Contributors" -import DevconGrantsBanner from "@/components/DevconGrantsBanner" import EnergyConsumptionChart from "@/components/EnergyConsumptionChart" import FeedbackCard from "@/components/FeedbackCard" import GlossaryDefinition from "@/components/Glossary/GlossaryDefinition" @@ -94,7 +93,6 @@ export const StaticLayout = ({ return (
- {/* eslint-disable-next-line @next/next/no-img-element */} - + { + e.currentTarget.onerror = null + e.currentTarget.src = EventFallback.src + }} + /> {title} @@ -808,6 +816,10 @@ const HomePage = ({ { + e.currentTarget.onerror = null + e.currentTarget.src = EventFallback.src + }} className="max-w-full object-cover object-center" loading="lazy" />