fix(web): 收斂 IwoooS 單一資安入口
This commit is contained in:
@@ -127,6 +127,7 @@ export function AppLayout({
|
||||
<Header
|
||||
locale={locale}
|
||||
sidebarCollapsed={shellCollapsed}
|
||||
compact={mobileShell}
|
||||
/>
|
||||
|
||||
{/* Main Content */}
|
||||
|
||||
@@ -177,6 +177,7 @@ export function Header({
|
||||
<button
|
||||
onClick={() => switchLocale('zh-TW')}
|
||||
style={{
|
||||
display: compact ? 'none' : 'block',
|
||||
padding: '5px 12px',
|
||||
fontFamily: 'var(--font-body), "DM Mono", monospace',
|
||||
fontSize: 11,
|
||||
@@ -194,6 +195,7 @@ export function Header({
|
||||
<button
|
||||
onClick={() => switchLocale('en')}
|
||||
style={{
|
||||
display: compact ? 'none' : 'block',
|
||||
padding: '5px 12px',
|
||||
fontFamily: 'var(--font-body), "DM Mono", monospace',
|
||||
fontSize: 11,
|
||||
@@ -211,11 +213,11 @@ export function Header({
|
||||
|
||||
{/* Avatar — 34px 圓形 #d97757 */}
|
||||
<div style={{
|
||||
display: compact ? 'none' : 'flex',
|
||||
width: 34,
|
||||
height: 34,
|
||||
borderRadius: '50%',
|
||||
background: '#d97757',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
fontSize: 12,
|
||||
|
||||
@@ -72,7 +72,7 @@ type NavSection = {
|
||||
// 可觀測性 /observability → 整合: 監控 + APM + 錯誤 + 應用 + 服務 (5 Tab) [暫指 /monitoring]
|
||||
// 自動化 /automation → 整合: 自動修復 + 神經指揮 + Drift (3 Tab) [暫指 /auto-repair]
|
||||
// 營運 /operations → 整合: 部署 + 工單 + 成本 + 行動日誌 + 計費 (5 Tab) [暫指 /deployments]
|
||||
// IwoooS 安全合規 /iwooos → 整合: IwoooS + 安全合規;/security-compliance 保留相容高亮
|
||||
// IwoooS /iwooos → 單一資安主入口;/security-compliance 保留相容高亮
|
||||
// 知識 /knowledge → 知識庫 [暫指 /knowledge-base]
|
||||
// ============================================================
|
||||
|
||||
@@ -85,7 +85,7 @@ const NAV_SECTIONS: NavSection[] = [
|
||||
{ id: 'observability', href: '/observability', labelKey: 'observability', Icon: Monitor },
|
||||
{ id: 'automation', href: '/automation', labelKey: 'automation', Icon: Wrench },
|
||||
{ id: 'operations', href: '/operations', labelKey: 'operations', Icon: Package },
|
||||
{ id: 'iwooos-security', href: '/iwooos', labelKey: 'iwooosSecurityCompliance', Icon: Radar, aliases: ['/security-compliance'] },
|
||||
{ id: 'iwooos-security', href: '/iwooos', labelKey: 'iwooos', Icon: Radar, aliases: ['/security-compliance'] },
|
||||
{ id: 'knowledge', href: '/knowledge', labelKey: 'knowledge', Icon: BookOpen },
|
||||
{ id: 'governance', href: '/governance', labelKey: 'governance', Icon: ShieldCheck },
|
||||
{ id: 'awooop', href: '/awooop/work-items', labelKey: 'awooop', Icon: BrainCircuit },
|
||||
|
||||
Reference in New Issue
Block a user