Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix sponsorship URL #440

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
)