mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 06:28:53 +00:00
feat(nui): Content container, right nav bar
This commit is contained in:
1 parent
e3b145bcbd
commit
6493762795
5 files changed
+51
-23
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { Box, VStack } from '@chakra-ui/react';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
const SideBar: React.FC = () => {
|
||||
return (
|
||||
<Box p="1.2vh" fontSize="1.5vh" float="left">
|
||||
<VStack align="left">
|
||||
<Link to="es_extended">es_extended</Link>
|
||||
<Link to="ox_inventory">ox_inventory</Link>
|
||||
<Link to="luke_garages">luke_garages</Link>
|
||||
</VStack>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
export default SideBar;
|
||||
@@ -0,0 +1,16 @@
|
||||
import React from 'react';
|
||||
import { Box, VStack } from '@chakra-ui/react';
|
||||
|
||||
const RightBar: React.FC = () => {
|
||||
return (
|
||||
<Box float="right" w="20%" h="max">
|
||||
<VStack align="left">
|
||||
<Box>Number of slow queries: 3</Box>
|
||||
<Box>Most active resource: essentialmode</Box>
|
||||
<Box>Total number of queries: 732</Box>
|
||||
</VStack>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
export default RightBar;
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Box, VStack } from '@chakra-ui/react';
|
||||
|
||||
const SideBar: React.FC = () => {
|
||||
return (
|
||||
<Box p="1.2vh" fontSize="1.5vh" position="fixed">
|
||||
<VStack align="left">
|
||||
<Box>es_extended</Box>
|
||||
<Box>ox_inventory</Box>
|
||||
<Box>luke_garages</Box>
|
||||
</VStack>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
export default SideBar;
|
||||
Reference in new issue
Block a user