From b4bd190b5554dc42a5e20426dd19a1baa6cd6610 Mon Sep 17 00:00:00 2001
From: LynithDev <61880709+LynithDev@users.noreply.github.com>
Date: Thu, 21 Mar 2024 11:23:03 +0100
Subject: [PATCH] Instance pages
---
src-tauri/tauri.conf.json | 4 +++-
src/ui/pages/Home.tsx | 2 +-
src/ui/pages/instances/InstanceMods.tsx | 9 +++++++++
src/ui/pages/instances/InstanceOverview.tsx | 21 +++++++++++++++++++++
src/ui/pages/instances/index.tsx | 11 +++++++++++
5 files changed, 45 insertions(+), 2 deletions(-)
create mode 100644 src/ui/pages/instances/InstanceMods.tsx
create mode 100644 src/ui/pages/instances/InstanceOverview.tsx
create mode 100644 src/ui/pages/instances/index.tsx
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 4a5d0e01..e7654b89 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -13,7 +13,9 @@
"title": "polyfrost-launcher",
"width": 1280,
"height": 800,
- "resizable": false,
+ "minWidth": 1080,
+ "minHeight": 600,
+ "resizable": true,
"center": true,
"decorations": false,
"shadow": true
diff --git a/src/ui/pages/Home.tsx b/src/ui/pages/Home.tsx
index 5133c06a..66b475df 100644
--- a/src/ui/pages/Home.tsx
+++ b/src/ui/pages/Home.tsx
@@ -152,7 +152,7 @@ function InstanceGroup(props: InstanceGroupProps) {
collisionDetector={closestCenter}
>