Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: website sia-ui downloads #682

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/dry-schools-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website': minor
---

Fixed the Sia-UI download links.
5 changes: 5 additions & 0 deletions .changeset/empty-boats-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website': minor
---

Removed the beta badge for the walletd daemon.
5 changes: 5 additions & 0 deletions .changeset/quiet-numbers-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website': minor
---

Removed siad from the website.
1 change: 0 additions & 1 deletion apps/website/components/CalloutWalletd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export function CalloutWalletd() {
description={
'walletd is the flagship Sia wallet, suitable for miners, exchanges, and everyday hodlers. Its client-server architecture gives you the flexibility to access your funds from anywhere, on any device, without compromising the security of your private keys.'
}
status="beta"
daemon="walletd"
href={routes.software.walletd}
image={getAssetUrl('assets/walletd/send.png')}
Expand Down
113 changes: 29 additions & 84 deletions apps/website/components/SoftwareSectionCurrentGen.tsx
Original file line number Diff line number Diff line change
@@ -1,91 +1,36 @@
/* eslint-disable react/no-unescaped-entities */
import { webLinks } from '@siafoundation/design-system'
import { patterns } from '../content/assets'
import { SoftwareSection } from './SoftwareSection'

export type Versions = {
sia: {
latest: string
}
}

type Props = {
versions: Versions
}

export function SoftwareSectionCurrentGen({ versions }: Props) {
export function SoftwareSectionSiaUI() {
return (
<>
<SoftwareSection
title="siad"
status="deprecated"
description={
<>
Built for technical users comfortable with command line interfaces.
</>
}
sourceLink={webLinks.github.siad}
docsLink={webLinks.docs.siad}
version={versions.sia.latest}
background={patterns.light}
links={[
{
title: 'Windows',
link: `${webLinks.website.index}/releases/siad/Sia-v${versions.sia.latest}-windows-amd64.zip`,
newTab: true,
},
{
title: 'MacOS',
link: `${webLinks.website.index}/releases/siad/Sia-v${versions.sia.latest}-darwin-amd64.zip`,
newTab: true,
},
{
title: 'Linux',
link: `${webLinks.website.index}/releases/siad/Sia-v${versions.sia.latest}-linux-amd64.zip`,
newTab: true,
},
{
title: 'Raspberry Pi',
link: `${webLinks.website.index}/releases/siad/Sia-v${versions.sia.latest}-linux-arm64.zip`,
newTab: true,
},
{
title: 'Docker',
link: 'https://github.com/SiaFoundation/siad/pkgs/container/siad',
newTab: true,
},
]}
/>
<SoftwareSection
title="Sia UI"
status="deprecated"
sourceLink={webLinks.github.siaui}
docsLink={webLinks.docs.siaui}
background={patterns.mountain}
description={
<>
Built for users who prefer to work with a graphical user interface.
</>
}
version={versions.sia.latest}
links={[
{
title: 'Windows',
link: `${webLinks.website.index}/releases/Sia-UI-v${versions.sia.latest}.exe`,
newTab: true,
},
{
title: 'MacOS',
link: `${webLinks.website.index}/releases/Sia-UI-v${versions.sia.latest}.dmg`,
newTab: true,
},
{
title: 'Linux',
link: `${webLinks.website.index}/releases/Sia-UI-v${versions.sia.latest}.AppImage`,
newTab: true,
},
]}
/>
</>
<SoftwareSection
title="Sia UI"
status="deprecated"
sourceLink={webLinks.github.siaui}
docsLink={webLinks.docs.siaui}
background={patterns.mountain}
description={
<>Built for users who prefer to work with a graphical user interface.</>
}
version="1.5.9"
links={[
{
title: 'Windows',
link: 'https://github.com/SiaFoundation/siad/releases/download/v1.5.9/Sia-UI.Setup.1.5.9.exe',
newTab: true,
},
{
title: 'MacOS',
link: 'https://github.com/SiaFoundation/siad/releases/download/v1.5.9/Sia-UI-1.5.9.dmg',
newTab: true,
},
{
title: 'Linux',
link: 'https://github.com/SiaFoundation/siad/releases/download/v1.5.9/Sia-UI-1.5.9.AppImage',
newTab: true,
},
]}
/>
)
}
1 change: 0 additions & 1 deletion apps/website/pages/software/walletd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export default function Walletd({
daemon={daemon}
releaseDaemon={releaseDaemon}
releaseDesktop={releaseDesktop}
statusDaemon="beta"
statusDesktop="beta"
/>
<div className="relative">
Expand Down
11 changes: 2 additions & 9 deletions apps/website/pages/wallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { SectionTransparent } from '../../components/SectionTransparent'
import { SectionProjects } from '../../components/SectionProjects'
import { SectionTutorials } from '../../components/SectionTutorials'
import { CalloutWalletd } from '../../components/CalloutWalletd'
import { SoftwareSectionCurrentGen } from '../../components/SoftwareSectionCurrentGen'
import { SoftwareSectionSiaUI } from '../../components/SoftwareSectionCurrentGen'
import {
getWalletdLatestDaemonRelease,
getWalletdLatestDesktopRelease,
Expand Down Expand Up @@ -61,7 +61,6 @@ export default function Wallet({
daemon="walletd"
releaseDaemon={releaseDaemon}
releaseDesktop={releaseDesktop}
statusDaemon="beta"
statusDesktop="beta"
/>
<div className="flex flex-col">
Expand All @@ -86,13 +85,7 @@ export default function Wallet({
actionLink={webLinks.docs.wallet}
actionNewTab
/>
<SoftwareSectionCurrentGen
versions={{
sia: {
latest: '1.5.9',
},
}}
/>
<SoftwareSectionSiaUI />
</div>
<SiteHeading
size="32"
Expand Down
Loading