feat: add download links to home page
Some checks failed
ci / build_and_publish (push) Has been cancelled
Some checks failed
ci / build_and_publish (push) Has been cancelled
resolves #5
This commit is contained in:
parent
a0fd8beb11
commit
93aa66b435
3 changed files with 33 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ import Translate, {translate} from '@docusaurus/Translate';
|
||||||
|
|
||||||
const CONTACT_US = '/contact';
|
const CONTACT_US = '/contact';
|
||||||
const BOOT_IMAGES = '/docs/build-a-box';
|
const BOOT_IMAGES = '/docs/build-a-box';
|
||||||
|
const RPI_DIRECT_IMAGE = 'https://files.sr2.uk/d/52bd8561a10d4d83be7b/files/?p=%2Fraspi4_butter_main_v0.0.2_080426.img.tar.gz';
|
||||||
|
const RPI_TORRENT_IMAGE = '/files/raspi4_butter_main_v0.0.2_080426.img.tar.gz.torrent';
|
||||||
|
const AMD_DIRECT_IMAGE = 'https://files.sr2.uk/d/52bd8561a10d4d83be7b/files/?p=%2Famd64_butter_main_v0.0.1_080426.img.tar.gz';
|
||||||
|
const AMD_TORRENT_IMAGE = '/files/amd64_butter_main_v0.0.1_080426.img.tar.gz.torrent';
|
||||||
const REPO = 'https://guardianproject.dev/butter';
|
const REPO = 'https://guardianproject.dev/butter';
|
||||||
const DOCS = '/docs';
|
const DOCS = '/docs';
|
||||||
|
|
||||||
|
|
@ -91,6 +95,35 @@ export default function Home(): ReactNode {
|
||||||
href={BOOT_IMAGES}>
|
href={BOOT_IMAGES}>
|
||||||
<Translate id="home.learnhow">Learn How!</Translate>
|
<Translate id="home.learnhow">Learn How!</Translate>
|
||||||
</a>
|
</a>
|
||||||
|
<table>
|
||||||
|
<tbody style={{display: "table", width: "100%"}}>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href={RPI_DIRECT_IMAGE}>
|
||||||
|
<Translate id="home.downloads.links.rpi_direct">Raspberry Pi 3/4 Direct Download</Translate>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href={RPI_TORRENT_IMAGE}>
|
||||||
|
<Translate id="home.downloads.links.rpi_torrent">Raspberry Pi 3/4 Torrent</Translate>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href={AMD_DIRECT_IMAGE}>
|
||||||
|
<Translate id="home.downloads.links.amd_direct">PC(AMD64) Direct Download</Translate>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href={AMD_TORRENT_IMAGE}>
|
||||||
|
<Translate id="home.downloads.links.amd_torrent">PC(AMD64) Torrent</Translate>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
<p className="content-text" style={{marginTop: '1.5rem'}}>
|
<p className="content-text" style={{marginTop: '1.5rem'}}>
|
||||||
<Translate id="home.getcode.title">Or, customize your Butter Box following the instructions in our
|
<Translate id="home.getcode.title">Or, customize your Butter Box following the instructions in our
|
||||||
open source repository.</Translate>
|
open source repository.</Translate>
|
||||||
|
|
|
||||||
BIN
static/files/amd64_butter_main_v0.0.1_080426.img.tar.gz.torrent
Normal file
BIN
static/files/amd64_butter_main_v0.0.1_080426.img.tar.gz.torrent
Normal file
Binary file not shown.
BIN
static/files/raspi4_butter_main_v0.0.2_080426.img.tar.gz.torrent
Normal file
BIN
static/files/raspi4_butter_main_v0.0.2_080426.img.tar.gz.torrent
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue