mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
removed debug from pages
This commit is contained in:
parent
510ef113bb
commit
1eee78505a
@ -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: <CoreDebug />,
|
||||
theme: <ThemeDebug />,
|
||||
socket: <SocketDebug />,
|
||||
verbosity: <VerbosityDebug />,
|
||||
internals: <InternalDebug />,
|
||||
contextMenu: <ContextMenuDebug />,
|
||||
}
|
||||
|
||||
const menuList = [
|
||||
{
|
||||
key: "api",
|
||||
title: "API V3 Requester",
|
||||
icon: <Icons.Globe />,
|
||||
},
|
||||
{
|
||||
key: "core",
|
||||
title: "Core",
|
||||
icon: <Icons.Box />
|
||||
},
|
||||
{
|
||||
key: "theme",
|
||||
title: "Theme",
|
||||
icon: <Icons.Image />
|
||||
},
|
||||
{
|
||||
key: "socket",
|
||||
title: "Socket",
|
||||
icon: <Icons.Box />
|
||||
},
|
||||
{
|
||||
key: "contextMenu",
|
||||
title: "contextMenu",
|
||||
icon: <Icons.Menu />
|
||||
},
|
||||
{
|
||||
key: "verbosity",
|
||||
title: "Verbosity",
|
||||
icon: <Icons.Edit3 />
|
||||
},
|
||||
{
|
||||
key: "internals",
|
||||
title: "Internals",
|
||||
icon: <Icons.Box />
|
||||
}
|
||||
]
|
||||
|
||||
export default class Debug extends React.Component {
|
||||
render() {
|
||||
return <ListedMenu wrapperStyle={{ padding: "4px" }} mode="horizontal" renderOptionTitle={false} icon={<Icons.Activity />} title="Debug" childrens={Debuggers} menuArray={menuList} />
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user