From 75befd70bf7fc579a1ba7aa74fae3195082d0cb8 Mon Sep 17 00:00:00 2001 From: RDW Date: Mon, 17 Feb 2025 09:34:35 +0100 Subject: [PATCH 1/3] UI: Shorten the Win32 link text on the landing page Not like there's a popular Windows platform other than this. Prevents overflow issues since the text length is now more in line with the other platforms. --- src/components/LatestRelease/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LatestRelease/index.jsx b/src/components/LatestRelease/index.jsx index 8bb1563e..a6ecafe7 100644 --- a/src/components/LatestRelease/index.jsx +++ b/src/components/LatestRelease/index.jsx @@ -51,7 +51,7 @@ function LatestReleaseButton() {
- Download for Windows (x64) + Download for Windows Download for Linux (x64) From 747c2ee9753f1cf884b6e713c7c41065f757c37a Mon Sep 17 00:00:00 2001 From: RDW Date: Mon, 17 Feb 2025 09:35:22 +0100 Subject: [PATCH 2/3] UI: Split the landing page's latest release text Avoids another overflow issue on small-ish screen widths. --- src/components/LatestRelease/index.jsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/LatestRelease/index.jsx b/src/components/LatestRelease/index.jsx index a6ecafe7..685c630d 100644 --- a/src/components/LatestRelease/index.jsx +++ b/src/components/LatestRelease/index.jsx @@ -6,7 +6,11 @@ function LatestReleaseButton() { "https://github.com/evo-lua/evo-runtime/releases" ); const [releaseInfo, setReleaseInfo] = useState( - "Fetching latest release info..." + <> + Fetching latest release info... +
+ (JavaScript must be enabled for this to work) + ); const [assets, setAssets] = useState([]); @@ -26,7 +30,12 @@ function LatestReleaseButton() { setDownloadUrl(releaseUrl); setReleaseInfo( - `Latest Release: ${releaseTag} (${releaseDate.toDateString()} · ${humanReadableTimeDifference} ago)` + <> + Latest Release: +
+ {releaseTag} ({releaseDate.toDateString()} ·{" "} + {humanReadableTimeDifference} ago) + ); }) .catch((error) => { From 5d16f9d91d6593b869f89d3f9624e97e872ca65c Mon Sep 17 00:00:00 2001 From: RDW Date: Mon, 17 Feb 2025 09:39:00 +0100 Subject: [PATCH 3/3] UI: Link M1 release binaries on the landing page They didn't exist back when I created the landing page. --- src/components/LatestRelease/index.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/LatestRelease/index.jsx b/src/components/LatestRelease/index.jsx index 685c630d..bb2eaee5 100644 --- a/src/components/LatestRelease/index.jsx +++ b/src/components/LatestRelease/index.jsx @@ -68,6 +68,9 @@ function LatestReleaseButton() {
Download for Mac OS (x64) + + Download for Mac OS (M1) +
);