Skip to content

Commit

Permalink
fix: fix sponsorship URL (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
x1unix authored Oct 23, 2024
1 parent 0186108 commit 929fcf1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -24,12 +27,15 @@ const tokens: IStackProps['tokens'] = {
export const SponsorsBlock: React.FC<Props> = ({ isDark }) => (
<Stack horizontal tokens={tokens} verticalAlign="center">
<Stack.Item className={styles.image}>
<a href="https://gno.land/?from=goplay-tools" target="_blank" rel="noreferrer">
<a href={gnolandUrl} target="_blank" rel="noreferrer">
<img src={isDark ? gnolandDark : gnolandLight} alt="gno.land" />
</a>
</Stack.Item>
<Stack.Item className={styles.text}>
gno.land, an open-source smart contract platform powered by Gno, a deterministic variant of Go.
<a href={gnolandUrl} target="_blank" rel="noreferrer">
gno.land
</a>
, an open-source smart contract platform powered by Gno, a deterministic variant of Go.
</Stack.Item>
</Stack>
)

0 comments on commit 929fcf1

Please sign in to comment.