diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 914ab4b..3a2ea9f 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -20,6 +20,14 @@ const MENU = [ title: 'WebShell 检测', href: '/webShell', }, + { + title: '编码转化', + href: `/toolkit/cyberChef/Base64Encoder`, + }, + { + title: '加密解密', + href: `/toolkit/cyberChef/AESEncrypt`, + }, { title: '其他工具', href: '/tools', @@ -101,6 +109,7 @@ const Header = () => { }} onClick={(e) => { e.preventDefault(); + e.stopPropagation(); if (item.type === 'menu') { return; } else { @@ -154,6 +163,10 @@ const Header = () => { fontSize: '14px', '&:hover': { color: 'primary.main', + backgroundColor: 'rgba(0, 0, 0, 0.12) !important', + }, + '&:focus': { + backgroundColor: 'transparent', }, }} onClick={() => {