mirror of
https://github.com/dream-pep/koring-launcher.git
synced 2026-09-12 05:45:18 +08:00
feat(pages): 添加资源、实例页临时占位页面,更新版本至1.2.5
移除原有商城和图库页面的导入,替换对应路由为临时占位组件
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "koring-launcher",
|
"name": "koring-launcher",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.2.1",
|
"version": "1.2.5",
|
||||||
"description": "Koring Launcher - Minecraft launcher built with Electron + React",
|
"description": "Koring Launcher - Minecraft launcher built with Electron + React",
|
||||||
"author": "Shenzhen Lingke Network Technology Co., Ltd.",
|
"author": "Shenzhen Lingke Network Technology Co., Ltd.",
|
||||||
"license": "LL-1.0",
|
"license": "LL-1.0",
|
||||||
|
|||||||
+3
-4
@@ -10,13 +10,12 @@ import { useAuthStore } from "./stores/authStore";
|
|||||||
import { useKoringAuthStore } from "./stores/koringAuthStore";
|
import { useKoringAuthStore } from "./stores/koringAuthStore";
|
||||||
import type { AppConfig } from "./api/config";
|
import type { AppConfig } from "./api/config";
|
||||||
import { Home } from "./pages/home";
|
import { Home } from "./pages/home";
|
||||||
import { Store } from "./pages/store";
|
|
||||||
import { Today } from "./pages/today";
|
import { Today } from "./pages/today";
|
||||||
import { PlayLink } from "./pages/play-link";
|
import { PlayLink } from "./pages/play-link";
|
||||||
import { Setting } from "./pages/setting";
|
import { Setting } from "./pages/setting";
|
||||||
import { SettingLogin } from "./pages/setting/login";
|
import { SettingLogin } from "./pages/setting/login";
|
||||||
import { Gallery } from "./pages/gallery";
|
|
||||||
import { TaskQueue } from "./pages/task-queue";
|
import { TaskQueue } from "./pages/task-queue";
|
||||||
|
import { GalleryPlaceholder, StorePlaceholder } from "./pages/placeholder";
|
||||||
import { UpdatePage } from "./pages/update";
|
import { UpdatePage } from "./pages/update";
|
||||||
import { Debug } from "./pages/debug";
|
import { Debug } from "./pages/debug";
|
||||||
import { SplashDebug } from "./pages/debug/splash-debug";
|
import { SplashDebug } from "./pages/debug/splash-debug";
|
||||||
@@ -44,12 +43,12 @@ import { VERSION } from "./lib/version";
|
|||||||
|
|
||||||
const pageMap = {
|
const pageMap = {
|
||||||
home: Home,
|
home: Home,
|
||||||
store: Store,
|
store: StorePlaceholder,
|
||||||
today: Today,
|
today: Today,
|
||||||
"play-link": PlayLink,
|
"play-link": PlayLink,
|
||||||
setting: Setting,
|
setting: Setting,
|
||||||
"setting/login": SettingLogin,
|
"setting/login": SettingLogin,
|
||||||
gallery: Gallery,
|
gallery: GalleryPlaceholder,
|
||||||
"task-queue": TaskQueue,
|
"task-queue": TaskQueue,
|
||||||
update: UpdatePage,
|
update: UpdatePage,
|
||||||
oobe: Oobe,
|
oobe: Oobe,
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
import { UnderConstruction } from "@/components/UnderConstruction";
|
||||||
|
|
||||||
|
/** 实例页占位(与资讯页相同的占位组件,临时使用) */
|
||||||
|
export function GalleryPlaceholder() {
|
||||||
|
return (
|
||||||
|
<UnderConstruction
|
||||||
|
pageName="实例"
|
||||||
|
description="管理您的游戏实例、版本与存档"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 资源页占位(与资讯页相同的占位组件,临时使用) */
|
||||||
|
export function StorePlaceholder() {
|
||||||
|
return (
|
||||||
|
<UnderConstruction
|
||||||
|
pageName="资源"
|
||||||
|
description="Minecraft 游戏版本、MOD 与整合包下载"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user