From c1c456128bec733c46ad03a09a5bae4c79e02367 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期四, 10 四月 2025 10:18:54 +0800
Subject: [PATCH] 新建聊天页面

---
 src/components/layout/ClientLayoutContent.tsx |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/components/layout/ClientLayoutContent.tsx b/src/components/layout/ClientLayoutContent.tsx
index 2022e09..19286e6 100644
--- a/src/components/layout/ClientLayoutContent.tsx
+++ b/src/components/layout/ClientLayoutContent.tsx
@@ -12,14 +12,17 @@
   const [isClient, setIsClient] = useState(false);
   const [hasError, setHasError] = useState(false);
   const pathname = usePathname();
-  const isLoginPage = pathname === '/login';
-  const isRegisterPage = pathname === '/register';
-  const isHomePage = pathname === '/';
-  const isAIScenePage = pathname.startsWith('/ai-scene');
 
   useEffect(() => {
     setIsClient(true);
   }, []);
+
+  // 鍒ゆ柇褰撳墠椤甸潰
+  const isLoginPage = pathname === '/login';
+  const isRegisterPage = pathname === '/register';
+  const isHomePage = pathname === '/';
+  const isAIScenePage = pathname === '/ai-scene';
+  const isAISceneChatPage = pathname.startsWith('/ai-scene/chat');
 
   // 娣诲姞閿欒鎹曡幏
   useEffect(() => {
@@ -65,7 +68,7 @@
             <main className={`flex-1 ${isHomePage || isAIScenePage ? '' : 'bg-gradient-to-b from-[var(--ai-surface)] to-white'} pt-0 mt-0`}>
               {children}
             </main>
-            {!isLoginPage && !isRegisterPage && (
+            {!isLoginPage && !isRegisterPage && !isAISceneChatPage && (
               <footer className="relative z-20 bg-gradient-to-br from-[#0A1033] via-[#1E2B63] to-[#131C41] text-white py-10 overflow-hidden">
                 {/* 绉戞妧鎰熷姩鎬佽儗鏅厓绱� */}
                 <div className="absolute inset-0 overflow-hidden pointer-events-none">

--
Gitblit v1.9.3