Skip to content

Commit f87112a

Browse files
authored
Merge pull request #584 from processing/hide-donate-character
2 parents 59c3dc1 + 4ea1a5b commit f87112a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/templates/download.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ import { useMachineOS, usePreparedReleases } from '../hooks/download';
2828
import * as css from '../styles/templates/download.module.css';
2929
import * as grid from '../styles/grid.module.css';
3030

31+
// Set to false to hide the Donate character
32+
const showDonate = false;
33+
3134
const Download = ({ data }) => {
3235
const intl = useIntl();
3336
const releases = usePreparedReleases(data.releases.nodes);
@@ -81,7 +84,7 @@ const Download = ({ data }) => {
8184

8285
<div className={classnames(grid.container, grid.grid)}>
8386
<div className={classnames(grid.col, css.headerContent)}>
84-
<Donate />
87+
{showDonate && <Donate />}
8588
<h1>{intl.formatMessage({ id: 'downloadTitle' })}</h1>
8689
<p>{intl.formatMessage({ id: 'downloadIntro' })}</p>
8790
</div>

0 commit comments

Comments
 (0)