From fa7b675e5c8540c28173361a41ce0560d1144e83 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Wed, 29 Apr 2026 17:58:51 +0800
Subject: [PATCH] 添加了3个pipeline:静态短视频,动作迁移,数字人口播;拓展api模型能力,支持多模态参考生视频,视频编辑

---
 aigc-director/aigc-claw/frontend/components/TopBar.tsx |   17 +++--------------
 1 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/aigc-director/aigc-claw/frontend/components/TopBar.tsx b/aigc-director/aigc-claw/frontend/components/TopBar.tsx
index af270c2..d5649dc 100644
--- a/aigc-director/aigc-claw/frontend/components/TopBar.tsx
+++ b/aigc-director/aigc-claw/frontend/components/TopBar.tsx
@@ -1,8 +1,7 @@
 'use client';
 
 import React, { useState, useRef, useEffect } from 'react';
-import { CheckCircle, Circle, Loader, Edit3, AlertCircle, Square, Zap, Settings2, ChevronDown, Hexagon } from 'lucide-react';
-import Link from 'next/link';
+import { CheckCircle, Circle, Loader, Edit3, AlertCircle, Square, Zap, Settings2, ChevronDown } from 'lucide-react';
 import clsx from 'clsx';
 import { LLM_PROVIDERS, T2I_PROVIDERS, I2I_PROVIDERS, VIDEO_PROVIDERS, VLM_PROVIDERS, VIDEO_RATIOS, ProviderGroup } from '@/config/models';
 
@@ -226,7 +225,7 @@
   };
 
   return (
-    <header className="h-14 bg-white border-b border-gray-200 flex items-center px-4 flex-shrink-0 z-10">
+    <header className="min-h-14 bg-white border-b border-gray-200 flex items-center px-4 flex-shrink-0 z-10 min-w-0">
       {/* Logo & 名称 */}
       <button
         onClick={onHomeClick}
@@ -289,7 +288,7 @@
       )}
 
       {/* 右侧控制区 */}
-      <div className="ml-auto flex items-center gap-2 flex-shrink-0">
+      <div className="ml-auto flex min-w-0 items-center justify-end gap-2 flex-shrink-0">
         {/* 模型选择 */}
         {hasSession && modelConfig && onModelConfigChange && (
           <ModelSelector config={modelConfig} onChange={onModelConfigChange} />
@@ -352,16 +351,6 @@
           </div>
         )}
 
-
-        {/* 临时工作台入口 */}
-        <Link
-          href="/sandbox"
-          className="flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-gray-400 hover:text-indigo-600 hover:bg-indigo-50 transition-colors text-xs font-medium"
-          title="临时工作台"
-        >
-          <Hexagon className="w-3.5 h-3.5" />
-          <span>工作台</span>
-        </Link>
       </div>
     </header>
   );

--
Gitblit v1.8.0