chore: lint

This commit is contained in:
karishmas6
2024-03-07 03:28:39 +05:30
parent 03cc451943
commit 31b76e8c83

View File

@@ -4,34 +4,34 @@ import { Link } from "react-router-dom";
const { Sider } = Layout; const { Sider } = Layout;
const Sidebar = () => { const Sidebar = () => {
return ( return (
<Sider <Sider
className="h-screen bg-white text-gray-800 fixed top-16 left-0 flex flex-col justify-between" className="h-screen bg-white text-gray-800 fixed top-16 left-0 flex flex-col justify-between"
width={250} width={250}
> >
<div className="flex flex-col justify-between h-full"> <div className="flex flex-col justify-between h-full">
<Menu mode="vertical"> <Menu mode="vertical">
<Menu.Item key="1"> <Menu.Item key="1">
<Link to="/bots">Bots</Link> <Link to="/bots">Bots</Link>
</Menu.Item> </Menu.Item>
<Menu.Item key="2"> <Menu.Item key="2">
<Link to="/subscription">Subscription</Link> <Link to="/subscription">Subscription</Link>
</Menu.Item> </Menu.Item>
<Menu.Item key="3"> <Menu.Item key="3">
<Link to="/api">API</Link> <Link to="/api">API</Link>
</Menu.Item> </Menu.Item>
<Menu.Item key="4"> <Menu.Item key="4">
<Link to="/workflow">Workflow</Link> <Link to="/workflow">Workflow</Link>
</Menu.Item> </Menu.Item>
</Menu> </Menu>
<div className="flex items-center py-4 px-6"> <div className="flex items-center py-4 px-6">
{/* Add logo image here */} {/* Add logo image here */}
<img src="your_logo.png" alt="Maxun logo" className="h-8 w-auto mr-4" /> <img src="your_logo.png" alt="Maxun logo" className="h-8 w-auto mr-4" />
<span className="text-xl font-bold">Maxun</span> <span className="text-xl font-bold">Maxun</span>
</div> </div>
</div> </div>
</Sider> </Sider>
); );
}; };
export default Sidebar; export default Sidebar;