Skip to content

Commit

Permalink
all the apple options
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 committed Aug 29, 2024
1 parent a31352f commit 9500636
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 18 deletions.
4 changes: 4 additions & 0 deletions src/assets/scss/downloads.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
margin: auto;
}

.border-end {
border-right: 2px solid #f1f1f1;
}

.downloads-container {
display: flex;
flex-direction: row;
Expand Down
17 changes: 9 additions & 8 deletions src/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ baseurl = "https://dex.decred.org/"
description = "DCRDEX is an open source, peer-to-peer cryptocurrency exchange built by the Decred Project."

# Bison Wallet URLs
win_bisonw_installer_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-windows-amd64-v1.0.0.msi"
win_bisonw_binary_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-tray-windows-amd64-v1.0.0.zip"
mac_bisonw_installer_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-amd64-v1.0.0.dmg"
mac_bisonw_binary_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-amd64-v1.0.0.tar.gz"
mac_bisonw_binary_arm_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-arm64-v1.0.0.tar.gz"
lin_bisonw_binary_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-linux-amd64-v1.0.0.tar.gz"
lin_bisonw_deb_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-debian-amd64-v1.0.0.deb"
lin_bisonw_arm_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-linux-arm64-v1.0.0.tar.gz"
win_bisonw_installer_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-windows-amd64-v1.0.0.msi"
win_bisonw_binary_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-tray-windows-amd64-v1.0.0.zip"
mac_bisonw_installer_amd_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-amd64-v1.0.0.dmg"
mac_bisonw_binary_amd_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-amd64-v1.0.0.tar.gz"
mac_bisonw_installer_arm_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-arm64-v1.0.0.dmg"
mac_bisonw_binary_arm_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-darwin-arm64-v1.0.0.tar.gz"
lin_bisonw_binary_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-linux-amd64-v1.0.0.tar.gz"
lin_bisonw_deb_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-debian-amd64-v1.0.0.deb"
lin_bisonw_arm_url = "https://github.com/decred/dcrdex/releases/download/v1.0.0/bisonw-linux-arm64-v1.0.0.tar.gz"

# Decrediton URLs
win_decrediton_url = "https://github.com/decred/decred-binaries/releases/download/v1.8.1/decrediton-v1.8.1.exe"
Expand Down
30 changes: 20 additions & 10 deletions src/layouts/partials/downloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,27 @@
<span>macOS</span>
</div>

<div class="btn-bg">
<a class="btn btn-primary" href="{{ $.Site.Params.mac_bisonw_installer_url }}" rel="noopener noreferrer">
Installer
</a>
<a class="btn btn-primary" href="{{ $.Site.Params.mac_bisonw_binary_url }}" rel="noopener noreferrer">
Binary
</a>
<a href="{{ $.Site.Params.mac_bisonw_binary_arm_url }}" rel="noopener noreferrer">
Need ARM?
</a>
<div class="d-flex align-items-stretch">
<div class="btn-bg me-1 flex-grow-1 border-end">
<div class="mt-2">Intel / AMD64</div>
<a class="btn btn-primary mt-2" href="{{ $.Site.Params.mac_bisonw_installer_amd_url }}" rel="noopener noreferrer">
Installer
</a>
<a class="btn btn-primary" href="{{ $.Site.Params.mac_bisonw_binary_amd_url }}" rel="noopener noreferrer">
Binary
</a>
</div>
<div class="btn-bg ms-1 flex-grow-1">
<div class="mt-2">Apple Silicon / ARM64</div>
<a class="btn btn-primary mt-2" href="{{ $.Site.Params.mac_bisonw_installer_arm_url }}" rel="noopener noreferrer">
Installer
</a>
<a class="btn btn-primary" href="{{ $.Site.Params.mac_bisonw_binary_arm_url }}" rel="noopener noreferrer">
Binary
</a>
</div>
</div>

</div>

<div class="download">
Expand Down

0 comments on commit 9500636

Please sign in to comment.