improvement: account setting added to header in order to choose organizations/subscribtions/etc
This commit is contained in:
@@ -11,7 +11,6 @@ import {
|
||||
FlaskConical,
|
||||
FileText,
|
||||
CreditCard,
|
||||
Building2
|
||||
} from 'lucide-react';
|
||||
|
||||
const menu = [
|
||||
@@ -22,19 +21,19 @@ const menu = [
|
||||
{ name: 'Lab Management', path: '/lab', icon: FlaskConical },
|
||||
{ name: 'Billing', path: '/billing', icon: CreditCard },
|
||||
{ name: 'Reports', path: '/reports', icon: FileText },
|
||||
{ name: 'Organizations', path: '/select-organization', icon: Building2 },
|
||||
];
|
||||
|
||||
function Sidebar() {
|
||||
const pathname = usePathname();
|
||||
|
||||
return (
|
||||
<aside className="w-64 bg-background-secondary/90 border-r border-border text-text-primary flex flex-col p-4">
|
||||
<div className="mb-6 pb-4 border-b border-border">
|
||||
<h1 className="text-xl font-semibold tracking-tight">DyoLink</h1>
|
||||
<aside className="w-64 bg-background-secondary/90 border-r border-border text-text-primary flex flex-col">
|
||||
<div className="h-[71px] px-4 flex items-center">
|
||||
<h1 className="text-lg font-medium tracking-tight">DyoLink</h1>
|
||||
</div>
|
||||
<div className="mx-4 border-b border-border/70" />
|
||||
|
||||
<nav className="flex flex-col gap-2">
|
||||
<nav className="flex flex-col gap-2 p-4">
|
||||
{menu.map((item) => {
|
||||
const Icon = item.icon;
|
||||
const isActive = pathname === item.path;
|
||||
|
||||
Reference in New Issue
Block a user