From f04c220570501b57b46f1d3a9416773182ac8729 Mon Sep 17 00:00:00 2001 From: wood chen Date: Mon, 10 Mar 2025 16:34:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=E5=92=8C=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将最大宽度从 max-w-5xl 调整为 max-w-screen-xl - 替换 Badge 组件为自定义样式的 p 标签 - 调整服务器卡片标签的颜色和样式 - 移除 Inter 字体,使用系统默认字体 --- src/components/Footer.tsx | 2 +- src/components/Header.tsx | 8 ++--- src/components/ServerCard.tsx | 32 +++++++++---------- src/components/ServerCardInline.tsx | 29 ++++++++--------- .../loading/ServerDetailLoading.tsx | 2 +- src/index.css | 2 +- src/pages/Server.tsx | 2 +- src/pages/ServerDetail.tsx | 2 +- 8 files changed, 39 insertions(+), 40 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 29ad239..d1b8a3d 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -15,7 +15,7 @@ const Footer: React.FC = () => { }) return ( -