From 62d704dec04cafb567204fe926ae4c42f12fca29 Mon Sep 17 00:00:00 2001 From: Ap_Tx <3045929398@qq.com> Date: Sun, 13 Sep 2026 11:01:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E5=8A=A0=E4=BA=86=E7=9A=AE=E8=82=A4=E7=AB=99=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E5=9C=A8=E5=90=AF=E5=8A=A8=E5=86=85=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E6=89=93=E5=BC=80=E7=9A=AE=E8=82=A4=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/app-frontend/src/App.vue | 12 ++++ .../src/data/about/contributors.json | 2 +- apps/app-frontend/src/pages/StarlightSkin.vue | 41 +++++++++++++ apps/app-frontend/src/routes.js | 8 +++ apps/app/tauri.conf.json | 6 +- tools/icon_work/add_nav.py | 59 +++++++++++++++++++ tools/icon_work/add_route.py | 27 +++++++++ tools/icon_work/fix_csp.py | 13 ++++ 8 files changed, 164 insertions(+), 4 deletions(-) create mode 100644 apps/app-frontend/src/pages/StarlightSkin.vue create mode 100644 tools/icon_work/add_nav.py create mode 100644 tools/icon_work/add_route.py create mode 100644 tools/icon_work/fix_csp.py diff --git a/apps/app-frontend/src/App.vue b/apps/app-frontend/src/App.vue index 6d867be..aef6aa9 100644 --- a/apps/app-frontend/src/App.vue +++ b/apps/app-frontend/src/App.vue @@ -3,6 +3,7 @@ import { AuthFeature, TauriModrinthClient, VerboseLoggingFeature } from '@modrin import { ChangeSkinIcon, CompassIcon, + GlobeIcon, DownloadIcon, ExternalIcon, FlaskConicalIcon, @@ -735,6 +736,10 @@ const messages = defineMessages({ id: 'app.navigation.skin-selector', defaultMessage: 'Skin selector', }, + starlightSkin: { + id: 'app.navigation.starlight-skin', + defaultMessage: '斯达莱特', + }, library: { id: 'app.navigation.library', defaultMessage: 'Library', @@ -2314,6 +2319,13 @@ provideAppUpdateDownloadProgress(appUpdateDownload) > + + + +import { defineMessages, useVIntl } from '@modrinth/ui' +import { ref } from 'vue' + +const { formatMessage } = useVIntl() + +const messages = defineMessages({ + title: { + id: 'app.starlight-skin.title', + defaultMessage: '斯达莱特', + }, + frameTitle: { + id: 'app.starlight-skin.frame-title', + defaultMessage: 'StarLight Skin Site', + }, +}) + +const SKIN_SITE_URL = 'https://skin.starlight.cool/' + +const loading = ref(true) + +function onLoad() { + loading.value = false +} + + +