From fb38b0eb8a11fd8956c0bee998a71718b60c1376 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sun, 24 Nov 2024 01:45:33 +0800 Subject: [PATCH] feat: server group --- index.html | 15 ++-- src/components/Footer.tsx | 21 +++--- src/components/GroupSwitch.tsx | 45 ++++++++++++ src/components/motion/framer-lazy-feature.ts | 1 + src/components/motion/motion-provider.tsx | 14 ++++ src/lib/nezha-api.ts | 76 +------------------- src/main.tsx | 36 +++++----- src/pages/Server.tsx | 48 +++++++++++-- src/types/nezha-api.ts | 15 ++++ vite.config.ts | 5 ++ 10 files changed, 167 insertions(+), 109 deletions(-) create mode 100644 src/components/GroupSwitch.tsx create mode 100644 src/components/motion/framer-lazy-feature.ts create mode 100644 src/components/motion/motion-provider.tsx diff --git a/index.html b/index.html index 0ebfbae..9f8ed31 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,16 @@