diff --git a/packages/comty/src/pages/debug/index.js b/packages/comty/src/pages/debug/index.js deleted file mode 100644 index cc4fa23b..00000000 --- a/packages/comty/src/pages/debug/index.js +++ /dev/null @@ -1,63 +0,0 @@ -import React from 'react' -import * as Icons from 'components/Icons' -import { ListedMenu } from 'components' - -import CoreDebug from 'debuggers/core' -import ThemeDebug from 'debuggers/theme' -import SocketDebug from 'debuggers/socket' -import VerbosityDebug from 'debuggers/verbosity' -import InternalDebug from 'debuggers/internals' -import ContextMenuDebug from 'debuggers/contextmenu.js' - -const Debuggers = { - core: , - theme: , - socket: , - verbosity: , - internals: , - contextMenu: , -} - -const menuList = [ - { - key: "api", - title: "API V3 Requester", - icon: , - }, - { - key: "core", - title: "Core", - icon: - }, - { - key: "theme", - title: "Theme", - icon: - }, - { - key: "socket", - title: "Socket", - icon: - }, - { - key: "contextMenu", - title: "contextMenu", - icon: - }, - { - key: "verbosity", - title: "Verbosity", - icon: - }, - { - key: "internals", - title: "Internals", - icon: - } -] - -export default class Debug extends React.Component { - render() { - return } title="Debug" childrens={Debuggers} menuArray={menuList} /> - } -} \ No newline at end of file diff --git a/packages/comty/src/pages/debug/index.less b/packages/comty/src/pages/debug/index.less deleted file mode 100644 index 53d532d9..00000000 --- a/packages/comty/src/pages/debug/index.less +++ /dev/null @@ -1,45 +0,0 @@ -@import '~theme/index.less'; - -.main { - font-family: "Nunito", sans-serif; - margin: 20px 0 0; - display: flex; - flex-direction: column; - width: 100%; - height: auto; - overflow: auto; - color: @__Global_layout_color; - background-color: #ffffff; - padding: 15px; - border-radius: 10px; - - .debuggerComponent { - padding: 15px; - } - - :global { - .ant-menu-inline { - color: @__Global_layout_color; - background-color: transparent; - border: none; - } - - .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected { - font-weight: bold; - } - - .ant-list-item { - padding-top: 7px; - padding-bottom: 7px; - } - - .ant-list-split .ant-list-item { - border-bottom: 0; - } - - .ant-list-item-meta-title { - color: rgba(0, 0, 0, 0.733); - font-size: 14px; - } - } -}