From 929fcf1e8fa9b6c1036409067ed0a3f53978d2b1 Mon Sep 17 00:00:00 2001 From: Denys Sedchenko Date: Wed, 23 Oct 2024 13:22:11 -0400 Subject: [PATCH] fix: fix sponsorship URL (#440) --- .github/FUNDING.yml | 1 - .../AboutModal/SponsorsBlock/SponsorsBlock.tsx | 14 ++++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 7cf8e5e5..b3deb00e 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,7 +2,6 @@ github: [x1unix] open_collective: bttr-go-playground -liberapay: x1unix #github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] #patreon: # Replace with a single Patreon username #ko_fi: # Replace with a single Ko-fi username diff --git a/web/src/components/modals/AboutModal/SponsorsBlock/SponsorsBlock.tsx b/web/src/components/modals/AboutModal/SponsorsBlock/SponsorsBlock.tsx index ece904a8..dd94218c 100644 --- a/web/src/components/modals/AboutModal/SponsorsBlock/SponsorsBlock.tsx +++ b/web/src/components/modals/AboutModal/SponsorsBlock/SponsorsBlock.tsx @@ -1,7 +1,10 @@ import React from 'react' import { mergeStyleSets, type IStackProps, Stack } from '@fluentui/react' -import gnolandLight from './img/gnoland-light.svg' -import gnolandDark from './img/gnoland-dark.svg' +import gnolandLight from './img/gnoland-light.svg?url' +import gnolandDark from './img/gnoland-dark.svg?url' + +const gnolandUrl = + 'https://gno.land/?utm_source=sponsor&utm_medium=goplay&utm_campaign=DevAcquisition+&utm_content=Devtool' interface Props { isDark?: boolean @@ -24,12 +27,15 @@ const tokens: IStackProps['tokens'] = { export const SponsorsBlock: React.FC = ({ isDark }) => ( - + gno.land - gno.land, an open-source smart contract platform powered by Gno, a deterministic variant of Go. + + gno.land + + , an open-source smart contract platform powered by Gno, a deterministic variant of Go. )