From 45b31e9319f9643c61b5d17e7a6165e06b58507b Mon Sep 17 00:00:00 2001 From: kurihada Date: Wed, 25 Feb 2026 14:37:00 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E5=8E=8B=E7=BC=A9=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E9=80=82=E9=85=8D=E5=B0=8F=E5=B1=8F=E6=89=8B?= =?UTF-8?q?=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Logo 与标题改为横排显示 - 缩小图标和间距,整体高度减少 - 确保创建房间按钮在小屏上可见 --- src/app/page.tsx | 85 +++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 881b1ca..095461a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -256,13 +256,13 @@ export default function LandingPage() { }; return ( -
+
{/* Profile / Auth button */} -
+
{profile ? (
- -

- NoWhatever -

-

- 别说随便 -

-

- {sceneConfig.subtitle} -

+ +
+

+ NoWhatever +

+

+ 别说随便 +

+
+ + {sceneConfig.subtitle} + + -
-
- +
+
+
- 创建房间 - 邀请朋友加入 + 创建房间
- + -
-
- +
+
+
- 各自滑卡 - 右滑喜欢的店 + 各自滑卡
- + -
-
- +
+
+
- 匹配结果 - 滑中同一家就去 + 匹配结果
handleSceneChange(s)} disabled={loading} - className={`flex items-center gap-1.5 rounded-full px-4 py-2 text-sm font-semibold transition-all disabled:opacity-50 ${ + className={`flex items-center gap-1.5 rounded-full px-3.5 py-1.5 text-xs font-semibold transition-all disabled:opacity-50 ${ active ? "bg-emerald-500 text-white shadow-md shadow-emerald-200" : "bg-zinc-100 text-zinc-500 hover:bg-zinc-200" @@ -359,7 +364,7 @@ export default function LandingPage() { {loading && loadingText ? ( <> @@ -573,7 +578,7 @@ export default function LandingPage() { )} -
+
或加入已有房间
@@ -592,12 +597,12 @@ export default function LandingPage() { setError(""); }} disabled={loading} - className="h-12 flex-1 rounded-xl border border-zinc-200 bg-white px-4 text-center text-lg font-semibold tracking-[0.3em] text-zinc-900 outline-none transition-colors placeholder:text-sm placeholder:tracking-normal placeholder:text-zinc-300 focus:border-emerald-400 focus:ring-2 focus:ring-emerald-100 disabled:opacity-50" + className="h-11 flex-1 rounded-xl border border-zinc-200 bg-white px-4 text-center text-lg font-semibold tracking-[0.3em] text-zinc-900 outline-none transition-colors placeholder:text-sm placeholder:tracking-normal placeholder:text-zinc-300 focus:border-emerald-400 focus:ring-2 focus:ring-emerald-100 disabled:opacity-50" />