From d9c8253019b2a7aa597b61e82de5379f306451ee Mon Sep 17 00:00:00 2001 From: alikia2x Date: Sat, 26 Apr 2025 20:50:30 +0800 Subject: [PATCH 1/3] add: custom fonts, register page improve: style --- .gitattributes | 1 + .idea/inspectionProfiles/Project_Default.xml | 11 + packages/frontend/astro.config.mjs | 3 + .../src/assets/TitleBar Mobile Dark.svg | 11 +- .../src/assets/TitleBar Mobile Light.svg | 11 +- packages/frontend/src/assets/标题-浅色.svg | 8 +- packages/frontend/src/assets/标题-深色.svg | 8 +- .../frontend/src/components/TitleBar.astro | 29 +- .../src/components/TitleBarDesktop.astro | 26 + .../src/components/TitleBarMobile.svelte | 2 +- .../frontend/src/components/Welcome.astro | 4 +- packages/frontend/src/content/about.md | 50 +- packages/frontend/src/layouts/Content.astro | 15 + packages/frontend/src/layouts/Footer.astro | 10 + packages/frontend/src/layouts/Header.astro | 3 + packages/frontend/src/layouts/Layout.astro | 6 +- packages/frontend/src/pages/LICENSE.astro | 12 + packages/frontend/src/pages/about.astro | 4 +- .../frontend/src/pages/register/index.astro | 9 + .../frontend/src/pages/song/[id]/info.astro | 48 +- .../src/styles/InterFont/Inter-Black.woff2 | 3 + .../styles/InterFont/Inter-BlackItalic.woff2 | 3 + .../src/styles/InterFont/Inter-Bold.woff2 | 3 + .../styles/InterFont/Inter-BoldItalic.woff2 | 3 + .../styles/InterFont/Inter-ExtraBold.woff2 | 3 + .../InterFont/Inter-ExtraBoldItalic.woff2 | 3 + .../styles/InterFont/Inter-ExtraLight.woff2 | 3 + .../InterFont/Inter-ExtraLightItalic.woff2 | 3 + .../src/styles/InterFont/Inter-Italic.woff2 | 3 + .../src/styles/InterFont/Inter-Light.woff2 | 3 + .../styles/InterFont/Inter-LightItalic.woff2 | 3 + .../src/styles/InterFont/Inter-Medium.woff2 | 3 + .../styles/InterFont/Inter-MediumItalic.woff2 | 3 + .../src/styles/InterFont/Inter-Regular.woff2 | 3 + .../src/styles/InterFont/Inter-SemiBold.woff2 | 3 + .../InterFont/Inter-SemiBoldItalic.woff2 | 3 + .../src/styles/InterFont/Inter-Thin.woff2 | 3 + .../styles/InterFont/Inter-ThinItalic.woff2 | 3 + .../frontend/src/styles/InterFont/Inter.css | 450 ++++++++++++++++++ .../styles/InterFont/InterDisplay-Black.woff2 | 3 + .../InterFont/InterDisplay-BlackItalic.woff2 | 3 + .../styles/InterFont/InterDisplay-Bold.woff2 | 3 + .../InterFont/InterDisplay-BoldItalic.woff2 | 3 + .../InterFont/InterDisplay-ExtraBold.woff2 | 3 + .../InterDisplay-ExtraBoldItalic.woff2 | 3 + .../InterFont/InterDisplay-ExtraLight.woff2 | 3 + .../InterDisplay-ExtraLightItalic.woff2 | 3 + .../InterFont/InterDisplay-Italic.woff2 | 3 + .../styles/InterFont/InterDisplay-Light.woff2 | 3 + .../InterFont/InterDisplay-LightItalic.woff2 | 3 + .../InterFont/InterDisplay-Medium.woff2 | 3 + .../InterFont/InterDisplay-MediumItalic.woff2 | 3 + .../InterFont/InterDisplay-Regular.woff2 | 3 + .../InterFont/InterDisplay-SemiBold.woff2 | 3 + .../InterDisplay-SemiBoldItalic.woff2 | 3 + .../styles/InterFont/InterDisplay-Thin.woff2 | 3 + .../InterFont/InterDisplay-ThinItalic.woff2 | 3 + .../InterFont/InterVariable-Italic.woff2 | 3 + .../src/styles/InterFont/InterVariable.woff2 | 3 + .../src/styles/MiSans/MiSans VF.woff2 | 3 + .../src/styles/MiSans/MiSans-Bold.woff2 | 3 + .../src/styles/MiSans/MiSans-Demibold.woff2 | 3 + .../src/styles/MiSans/MiSans-ExtraLight.woff2 | 3 + .../src/styles/MiSans/MiSans-Heavy.woff2 | 3 + .../src/styles/MiSans/MiSans-Light.woff2 | 3 + .../src/styles/MiSans/MiSans-Medium.woff2 | 3 + .../src/styles/MiSans/MiSans-Normal.woff2 | 3 + .../src/styles/MiSans/MiSans-Regular.woff2 | 3 + .../src/styles/MiSans/MiSans-Semibold.woff2 | 3 + .../src/styles/MiSans/MiSans-Thin.woff2 | 3 + .../frontend/src/styles/MiSans/MiSans.css | 88 ++++ packages/frontend/src/styles/content.css | 13 +- packages/frontend/src/styles/global.css | 21 + 73 files changed, 891 insertions(+), 99 deletions(-) create mode 100644 .gitattributes create mode 100644 packages/frontend/src/components/TitleBarDesktop.astro create mode 100644 packages/frontend/src/layouts/Content.astro create mode 100644 packages/frontend/src/layouts/Footer.astro create mode 100644 packages/frontend/src/layouts/Header.astro create mode 100644 packages/frontend/src/pages/LICENSE.astro create mode 100644 packages/frontend/src/pages/register/index.astro create mode 100644 packages/frontend/src/styles/InterFont/Inter-Black.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-BlackItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-Bold.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-BoldItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-ExtraBold.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-ExtraBoldItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-ExtraLight.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-ExtraLightItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-Italic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-Light.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-LightItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-Medium.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-MediumItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-Regular.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-SemiBold.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-SemiBoldItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-Thin.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter-ThinItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/Inter.css create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Black.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-BlackItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Bold.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-BoldItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-ExtraBold.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-ExtraBoldItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-ExtraLight.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-ExtraLightItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Italic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Light.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-LightItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Medium.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-MediumItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Regular.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-SemiBold.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-SemiBoldItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-Thin.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterDisplay-ThinItalic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterVariable-Italic.woff2 create mode 100644 packages/frontend/src/styles/InterFont/InterVariable.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans VF.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Bold.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Demibold.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-ExtraLight.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Heavy.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Light.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Medium.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Normal.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Regular.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Semibold.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans-Thin.woff2 create mode 100644 packages/frontend/src/styles/MiSans/MiSans.css diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..75449c8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.woff2 filter=lfs diff=lfs merge=lfs -text diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 5535e8f..42bf207 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,17 @@