import { motion } from 'framer-motion'
import {
RadioTower,
Square,
GitFork,
Sparkles,
Star,
LineChart,
ScanSearch,
History,
Signal as SignalIcon,
Eye,
FileText,
} from 'lucide-react'
import { PageHeader } from '@/components/PageHeader'
interface Variant {
id: string
name: string
tagline: string
hint: string
icon: React.ComponentType<{ className?: string }>
iconAccent: string // tailwind text color
nameClass: string // 文字本身样式(字号/字重/字距/字体)
glow?: string // 名字下方的发光线条 hex
}
// 同一个名字 "TickFlow Stock Panel" 在 4 种风格语言里的呈现
// 长字符串自动用更小字号 + 更窄字距,免得撑爆卡片;但风格语言(字体/字重/配色/图标)保持不变
const VARIANTS: Variant[] = [
{
id: 'pulsar',
name: 'TickFlow Stock Panel',
tagline: 'A-SHARE · SIGNAL TERMINAL',
hint: '脉冲星、雷达波纹 — 青绿强调色,字重黑体,中等字距',
icon: RadioTower,
iconAccent: 'text-[#3DD68C]',
nameClass: 'font-sans font-black text-base tracking-[0.10em]',
glow: '#3DD68C',
},
{
id: 'vanta',
name: 'TickFlow Stock Panel',
tagline: 'MARKET · INTELLIGENCE',
hint: 'Vantablack — 纯白单色,字重最重,字距最宽,monochrome 高级感',
icon: Square,
iconAccent: 'text-[#FAFAFA]',
nameClass: 'font-sans font-black text-base tracking-[0.18em]',
glow: '#FAFAFA',
},
{
id: 'helix',
name: 'TickFlow Stock Panel',
tagline: 'QUANT · TERMINAL',
hint: 'DNA 螺旋 — 紫色强调,等宽字体,赛博朋克经典意象',
icon: GitFork,
iconAccent: 'text-[#8B5CF6]',
nameClass: 'font-mono font-bold text-base tracking-[0.08em]',
glow: '#8B5CF6',
},
{
id: 'aurora',
name: 'TickFlow Stock Panel',
tagline: 'A-SHARE · DASHBOARD',
hint: '极光 — 青色强调,细字优雅,适中字距,与涨跌语义色不冲突',
icon: Sparkles,
iconAccent: 'text-[#22D3EE]',
nameClass: 'font-sans font-light text-base tracking-[0.12em]',
glow: '#22D3EE',
},
]
const MOCK_NAV = [
{ icon: Star, label: '自选' },
{ icon: LineChart, label: 'K 线' },
{ icon: ScanSearch, label: '策略' },
{ icon: History, label: '回测' },
{ icon: SignalIcon, label: '信号' },
{ icon: Eye, label: '监控' },
{ icon: FileText, label: '财务分析' },
]
export function Branding() {
return (
<>
pulsar / vanta / helix / aurora 任一,
我把该风格的字体、配色、图标、发光效果应用到真实侧栏。
也可以告诉我你想微调哪里(比如"用 VANTA 但换青色"),都行。