-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: set correct inverted state * feat: add sponsors block to about
- Loading branch information
Showing
6 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
web/src/components/modals/AboutModal/SponsorsBlock/SponsorsBlock.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react' | ||
import { mergeStyles } from '@fluentui/react' | ||
import gnolandLight from './img/gnoland-light.svg' | ||
import gnolandDark from './img/gnoland-dark.svg' | ||
|
||
interface Props { | ||
isDark?: boolean | ||
} | ||
|
||
const imgStyles = mergeStyles({ | ||
maxWidth: '100%', | ||
maxHeight: '32px', | ||
}) | ||
|
||
export const SponsorsBlock: React.FC<Props> = ({ isDark }) => ( | ||
<div> | ||
<a href="https://gno.land/?from=goplay-tools" target="_blank" rel="noreferrer"> | ||
<img className={imgStyles} src={isDark ? gnolandDark : gnolandLight} alt="gno.land" /> | ||
</a> | ||
</div> | ||
) |
1 change: 1 addition & 0 deletions
1
web/src/components/modals/AboutModal/SponsorsBlock/img/gnoland-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
web/src/components/modals/AboutModal/SponsorsBlock/img/gnoland-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './SponsorsBlock' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters