- )
- }
-)
+ style={{
+ width: '100%',
+ height: '100%'
+ }}
+ ref={domRef}
+ >
+
+ )
+})
export default XTerm
diff --git a/napcat.webui/src/config/site.tsx b/napcat.webui/src/config/site.tsx
index 6e25253d..9dfa7ee6 100644
--- a/napcat.webui/src/config/site.tsx
+++ b/napcat.webui/src/config/site.tsx
@@ -1,6 +1,8 @@
import {
BugIcon2,
+ FileIcon,
InfoIcon,
+ LogIcon,
RouteIcon,
SettingsIcon,
SignalTowerIcon,
@@ -49,10 +51,10 @@ export const siteConfig = {
href: '/config'
},
{
- label: '系统日志',
+ label: 'NapCat日志',
icon: (