From ddbda4e38f9d90c5e07ac24420ecec92c6debc40 Mon Sep 17 00:00:00 2001 From: Henry Li Date: Mon, 9 Feb 2026 08:59:40 +0800 Subject: [PATCH 1/3] feat: make the title golden in Ultra mode --- frontend/src/components/workspace/welcome.tsx | 17 ++++++++++++----- frontend/src/core/i18n/locales/zh-CN.ts | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/workspace/welcome.tsx b/frontend/src/components/workspace/welcome.tsx index 29299a6..4fa9ec7 100644 --- a/frontend/src/components/workspace/welcome.tsx +++ b/frontend/src/components/workspace/welcome.tsx @@ -1,11 +1,13 @@ "use client"; import { useSearchParams } from "next/navigation"; -import { useEffect } from "react"; +import { useEffect, useMemo } from "react"; import { useI18n } from "@/core/i18n/hooks"; import { cn } from "@/lib/utils"; +import { AuroraText } from "../ui/aurora-text"; + let waved = false; export function Welcome({ @@ -17,6 +19,13 @@ export function Welcome({ }) { const { t } = useI18n(); const searchParams = useSearchParams(); + const isUltra = useMemo(() => mode === "ultra", [mode]); + const colors = useMemo(() => { + if (isUltra) { + return ["#efefbb", "#e9c665", "#e3a812"]; + } + return ["var(--color-foreground)"]; + }, [isUltra]); useEffect(() => { waved = true; }, []); @@ -33,11 +42,9 @@ export function Welcome({ ) : (
- 👋 -
-
- {t.welcome.greeting} + {isUltra ? "🚀" : "👋"}
+ {t.welcome.greeting}
)} diff --git a/frontend/src/core/i18n/locales/zh-CN.ts b/frontend/src/core/i18n/locales/zh-CN.ts index fbd2479..316e762 100644 --- a/frontend/src/core/i18n/locales/zh-CN.ts +++ b/frontend/src/core/i18n/locales/zh-CN.ts @@ -49,7 +49,7 @@ export const zhCN: Translations = { welcome: { greeting: "你好,欢迎回来!", description: - "欢迎使用 🦌 DeerFlow,一个完全开源的超级智能体。通过内置和\n自定义的 Skills,DeerFlow 可以帮你搜索网络、分析数据,\n还能为你生成幻灯片、网页等作品,几乎可以做任何事情。", + "欢迎使用 🦌 DeerFlow,一个完全开源的超级智能体。通过内置和自定义的 Skills,\nDeerFlow 可以帮你搜索网络、分析数据,还能为你生成幻灯片、\n图片、视频、播客及网页等,几乎可以做任何事情。", createYourOwnSkill: "创建你自己的 Agent SKill", createYourOwnSkillDescription: From 305e8969ef63cda3085221dc36ecae6cc72b571c Mon Sep 17 00:00:00 2001 From: Henry Li Date: Mon, 9 Feb 2026 09:15:39 +0800 Subject: [PATCH 2/3] feat: make it golden --- frontend/src/components/ui/word-rotate.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ui/word-rotate.tsx b/frontend/src/components/ui/word-rotate.tsx index 46fa8a0..8daa9da 100644 --- a/frontend/src/components/ui/word-rotate.tsx +++ b/frontend/src/components/ui/word-rotate.tsx @@ -43,7 +43,9 @@ export function WordRotate({ className={cn(className)} {...motionProps} > - {words[index]} + + {words[index]} + From 8b053a4415e8a9ac007e4769f62eb5d9da499175 Mon Sep 17 00:00:00 2001 From: Henry Li Date: Mon, 9 Feb 2026 09:20:32 +0800 Subject: [PATCH 3/3] feat: update workspace header to conditionally render title based on environment variable --- .../src/components/workspace/workspace-header.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/workspace/workspace-header.tsx b/frontend/src/components/workspace/workspace-header.tsx index 9cfd5fc..db68c34 100644 --- a/frontend/src/components/workspace/workspace-header.tsx +++ b/frontend/src/components/workspace/workspace-header.tsx @@ -12,6 +12,7 @@ import { useSidebar, } from "@/components/ui/sidebar"; import { useI18n } from "@/core/i18n/hooks"; +import { env } from "@/env"; import { cn } from "@/lib/utils"; export function WorkspaceHeader({ className }: { className?: string }) { @@ -35,9 +36,15 @@ export function WorkspaceHeader({ className }: { className?: string }) { ) : (
- - DeerFlow - + {env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY === "true" ? ( + + DeerFlow + + ) : ( +
+ DeerFlow +
+ )}
)}