diff --git a/apps/website/src/pages/GetStarted/get-started.tsx b/apps/website/src/pages/GetStarted/get-started.tsx
index 39027c55d..f458c9e4d 100644
--- a/apps/website/src/pages/GetStarted/get-started.tsx
+++ b/apps/website/src/pages/GetStarted/get-started.tsx
@@ -38,7 +38,8 @@ export default function DownloadPage() {
- {Object.entries(downloadMatrix.desktop).map(entry => (
+ {reorderPlatforms(Object.entries(downloadMatrix.desktop), userPlatform ?? "")
+ .map(entry => (
))}
@@ -126,3 +127,13 @@ export function DownloadCard({ app, arch, entry: [ platform, entry ], isRecommen
)
}
+
+function reorderPlatforms(entries: [string, DownloadMatrixEntry][], platformToCenter: Platform | "") {
+ const entryToCenter = entries.find(x => x[0] === platformToCenter);
+ if (!entryToCenter) return entries;
+
+ const others = entries.filter(x => x !== entryToCenter);
+ const mid = Math.floor(others.length / 2);
+ others.splice(mid, 0, entryToCenter);
+ return others;
+}