Skip to content

Commit

Permalink
Upgrade node, pnpm and also expose the GH Releases url in the Downloa…
Browse files Browse the repository at this point in the history
…ds page as requested by a user
  • Loading branch information
vraravam committed Feb 22, 2024
1 parent 19e1f58 commit e0c5eb5
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.8.0
20.11.1
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "1.0.0",
"private": true,
"engines": {
"node": "20.8.0",
"pnpm": "8.8.0"
"node": "20.11.1",
"pnpm": "8.15.3"
},
"volta": {
"node": "20.8.0",
"pnpm": "8.8.0"
"node": "20.11.1",
"pnpm": "8.15.3"
},
"scripts": {
"dev": "next dev",
Expand All @@ -28,13 +28,13 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.31",
"@types/react-dom": "18.2.14",
"eslint": "8.52.0",
"@types/node": "20.11.19",
"@types/react": "18.2.57",
"@types/react-dom": "18.2.19",
"eslint": "8.56.0",
"eslint-config-next": "13.5.6",
"next-sitemap": "4.2.3",
"sass": "1.69.4",
"typescript": "5.2.2"
"sass": "1.71.1",
"typescript": "5.3.3"
}
}
37 changes: 22 additions & 15 deletions pages/download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,23 +260,9 @@ const Download = (props: Props) => {
<div className={styles.copy}>
<p>
Something went wrong when getting the links to the latest Ferdium
release. Try again later or follow the link below to download the
latest nightly release of Ferdium from our GitHub Releases.{" "}
</p>

<p>
Once there click &quot;Assets&quot; and choose the version for
your platform (check the
<Link href="/faq"> FAQ </Link> if you are unsure which one to
get)! We currently have releases for macOS, Windows, Linux
(AppImage and DEB) and FreeBSD.
release. Try again later!{" "}
</p>
</div>
<ExternalLink href="https://github.com/ferdium/ferdium-app/releases/latest">
<Button cta size="huge">
Download from GitHub
</Button>
</ExternalLink>
</Section>
)}

Expand All @@ -298,6 +284,27 @@ const Download = (props: Props) => {
)}
<p style={{ fontSize: "0.5rem" }}>{primaryDownloadUrl?.name}</p>
</Section>
<Section>
<div className={styles.copy}>
<p>
Follow the link below to download the latest nightly release
of Ferdium from our GitHub Releases.{" "}
</p>

<p>
Once there click &quot;Assets&quot; and choose the version for
your platform (check the
<Link href="/faq"> FAQ </Link> if you are unsure which one to
get)! We currently have releases for macOS, Windows, Linux
(AppImage and DEB) and FreeBSD.
</p>
</div>
<ExternalLink href="https://github.com/ferdium/ferdium-app/releases">
<Button cta size="huge">
Download from GitHub
</Button>
</ExternalLink>
</Section>
{latestReleases && latestReleases.length > 0 && !isGettingRelease && (
<Section>
<h2>Alternative Downloads</h2>
Expand Down
Loading

0 comments on commit e0c5eb5

Please sign in to comment.