fix(web): unify IwoooS security entry
All checks were successful
CD Pipeline / tests (push) Successful in 1m35s
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / build-and-deploy (push) Successful in 4m2s
CD Pipeline / post-deploy-checks (push) Successful in 2m29s

This commit is contained in:
Your Name
2026-06-01 00:20:56 +08:00
parent 58c009c2c7
commit 64747170f1
7 changed files with 79 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ import React, { useEffect, useRef, useState, useCallback } from 'react'
import { useTranslations } from 'next-intl'
import { useRouter, usePathname } from 'next/navigation'
import { useLocale } from 'next-intl'
import { Search, Terminal, Home, Activity, Wrench, Shield, BookOpen, Settings, Zap, GitBranch, Radar } from 'lucide-react'
import { Search, Terminal, Home, Activity, Wrench, BookOpen, Settings, Zap, GitBranch, Radar } from 'lucide-react'
import { useTerminalStore } from '@/stores/terminal.store'
import { Z_INDEX } from '@/lib/constants/z-index'
@@ -99,21 +99,23 @@ export function CommandPalette() {
action: () => nav('/operations'),
keywords: ['operations', '營運', 'ops'],
},
{
id: 'security',
label: t('actionGoSecurity'),
group: t('groupNav'),
icon: <Shield size={14} />,
action: () => nav('/security-compliance'),
keywords: ['security', '安全', 'compliance', '合規'],
},
{
id: 'iwooos',
label: t('actionGoIwooos'),
group: t('groupNav'),
icon: <Radar size={14} />,
action: () => nav('/iwooos'),
keywords: ['iwooos', 'information security', '資安網', '資安態勢'],
keywords: [
'iwooos',
'information security',
'security',
'安全',
'安全合規',
'compliance',
'合規',
'資安網',
'資安態勢',
],
},
{
id: 'knowledge',