WIP Frontend structure & authentication.

This commit is contained in:
Ahmed Bouhuolia
2020-02-17 00:15:07 +02:00
parent b3849e55e9
commit e5c78fe555
56 changed files with 3539 additions and 322 deletions

View File

@@ -0,0 +1,21 @@
import React from 'react';
import {Menu, MenuItem, MenuDivider} from "@blueprintjs/core";
import sidebarMenuList from 'config/sidebarMenu';
export default function SidebarMenu() {
const items = sidebarMenuList.map((item) =>
(item.divider) ?
<MenuDivider
title={item.title} /> :
<MenuItem
icon={item.icon}
text={item.text}
label={item.label}
disabled={item.disabled} />
);
return (
<Menu className="sidebar-menu">
{items}
</Menu>
)
};