Skip to content

Commit

Permalink
update download url
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Apr 16, 2024
1 parent 63d2fdf commit 60778f6
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions docs/src/components/DownloadSections/index.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
import styles from "./styles.module.css";

export default function DownloadSections(): JSX.Element {
const version = "v0.0.1";
const windowUrl = `https://github.com/lerte/zroker/releases/download/${version}/Wails.Build.Windows.Zroker.zip`;
const macosUrl = `https://github.com/lerte/zroker/releases/download/${version}/Wails.Build.macOS.Zroker.zip`;
const linuxUrl = `https://github.com/lerte/zroker/releases/download/${version}/Wails.Build.Linux.Zroker.zip`;

return (
<section className={styles.downloads}>
<div className="container">
<div className="row">
<div className="col col--4 text--center">
<button className="button button--lg button--success">
Windows
</button>
<a
download
href={windowUrl}
>
<button className="button button--lg button--success">
Windows
</button>
</a>
</div>
<div className="col col--4 text--center">
<button className="button button--lg button--info">macOS</button>
<a
download
href={macosUrl}
>
<button className="button button--lg button--info">macOS</button>
</a>
</div>
<div className="col col--4 text--center">
<button className="button button--lg button--warning">Linux</button>
<a
download
href={linuxUrl}
>
<button className="button button--lg button--warning">
Linux
</button>
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 60778f6

Please sign in to comment.