We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77cb1f4 commit 4ea1a5bCopy full SHA for 4ea1a5b
1 file changed
src/templates/download.js
@@ -28,6 +28,9 @@ import { useMachineOS, usePreparedReleases } from '../hooks/download';
28
import * as css from '../styles/templates/download.module.css';
29
import * as grid from '../styles/grid.module.css';
30
31
+// Set to false to hide the Donate character
32
+const showDonate = false;
33
+
34
const Download = ({ data }) => {
35
const intl = useIntl();
36
const releases = usePreparedReleases(data.releases.nodes);
@@ -81,7 +84,7 @@ const Download = ({ data }) => {
81
84
82
85
<div className={classnames(grid.container, grid.grid)}>
83
86
<div className={classnames(grid.col, css.headerContent)}>
- <Donate />
87
+ {showDonate && <Donate />}
88
<h1>{intl.formatMessage({ id: 'downloadTitle' })}</h1>
89
<p>{intl.formatMessage({ id: 'downloadIntro' })}</p>
90
</div>
0 commit comments