fix: 沙盒页英文换行 + Logo 多语言
- 沙盒页标题/副标题添加 truncate 防止英文换行 - Logo 使用 t.brand.name/suffix 实现中英切换(宇之然/Yuzhiran) - 新增 brand 翻译键(zh: 宇之然, en: Yuzhiran)
This commit is contained in:
@@ -86,9 +86,9 @@ export function Header() {
|
||||
>
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="flex items-center justify-between h-16">
|
||||
<Link href="/" className="flex items-center gap-2 group">
|
||||
<span className="text-2xl font-bold bg-gradient-to-r from-brand-600 to-brand-400 bg-clip-text text-transparent">宇之然</span>
|
||||
<span className="text-lg text-muted-foreground hidden sm:inline">AI</span>
|
||||
<Link href="/" className="flex items-center gap-2 group shrink-0">
|
||||
<span className="text-2xl font-bold bg-gradient-to-r from-brand-600 to-brand-400 bg-clip-text text-transparent whitespace-nowrap">{t.brand.name}</span>
|
||||
<span className="text-lg text-muted-foreground hidden sm:inline">{t.brand.suffix}</span>
|
||||
</Link>
|
||||
|
||||
<nav className="hidden md:flex items-center gap-1">
|
||||
|
||||
Reference in New Issue
Block a user