Skip to content

Commit

Permalink
feat: website add system requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Jul 12, 2024
1 parent f8c68b0 commit 036be80
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cyan-grapes-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website': minor
---

Software downloads now also list system requirements. Closes https://github.com/SiaFoundation/web/issues/553
12 changes: 11 additions & 1 deletion apps/website/components/DownloadSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ import { DownloadDesktopSelect } from './DownloadDesktopSelect'
import { backgrounds } from '../content/assets'
import { DownloadCard } from './DownloadCard'

const systemRequirements = {
renterd: 'quad-core processor, 8GB RAM, 256GB SSD for consensus data',
hostd:
'quad-core processor, 8GB RAM, 256GB SSD for consensus data, 4TB HDD for stored data',
walletd: 'quad-core processor, 8GB RAM, 256GB SSD for consensus data',
}

type Daemon = 'renterd' | 'hostd' | 'walletd'
type Props = {
daemon: Daemon
Expand All @@ -29,7 +36,10 @@ export function DownloadSection({
<Text size="24" weight="semibold" className="">
Download {daemon} software
</Text>
<div className="flex gap-3 justify-center items-center">
<Text color="subtle" size="14">
System requirements: {systemRequirements[daemon]}
</Text>
<div className="grid grid-cols-1 md:grid-cols-2 gap-3 justify-center items-center">
<DownloadCard
background={backgrounds.bamboo}
status="beta"
Expand Down

0 comments on commit 036be80

Please sign in to comment.