fix(web): unify IwoooS security entry
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user