From b2fefd2c6b13566e6d24992ab3f37a89e07952ac Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Thu, 7 May 2026 17:12:36 -0700 Subject: [PATCH] Move away from using `hidden` --- src/app/main/game/page.tsx | 213 +++++++++++++------------- src/app/main/layout.tsx | 14 +- src/app/main/page.tsx | 47 +++--- src/app/main/settings/page.tsx | 23 +-- src/app/update/layout.tsx | 7 +- src/components/Sidebar.tsx | 52 ++++--- src/popups/Downloads.tsx | 269 +++++++++++++++++---------------- src/popups/ManageGame.tsx | 148 +++++++++--------- src/popups/ModDownloads.tsx | 210 ++++++++++++------------- 9 files changed, 502 insertions(+), 481 deletions(-) diff --git a/src/app/main/game/page.tsx b/src/app/main/game/page.tsx index 497d161..f4d97b3 100644 --- a/src/app/main/game/page.tsx +++ b/src/app/main/game/page.tsx @@ -71,52 +71,55 @@ export default function Installs () { {game.name} Installs

- - - + {game.id == 1 && ( + + )} + {game.id == 9 && category == -1 && ( + + )} + {category != -1 && ( + + )}
- - + {platform() == 'linux' && + versionInfo.wine && + needsRevisionUpdate(versionInfo.lastRevision, v) && ( +
+ +

Uses wine

+
+ )} + {needsRevisionUpdate(versionInfo.lastRevision, v) && ( +
+ +

Needs revision update!

+
+ )} - + setManagingVersion(v) + setPopupMode(3) + setShowPopup(true) + setFadeOut(false) + }} + > + Mod Manager + + )} ) diff --git a/src/app/main/layout.tsx b/src/app/main/layout.tsx index 8a63ddd..162abb4 100644 --- a/src/app/main/layout.tsx +++ b/src/app/main/layout.tsx @@ -822,10 +822,9 @@ export default function RootLayout ({ {loading ? ( <> -