import Link from 'next/link'; import { useRouter } from 'next/router'; import { Fragment, useState } from 'react'; import { Dialog, Transition } from '@headlessui/react'; import { Bars3Icon, HomeIcon, XMarkIcon, AcademicCapIcon, ArrowRightOnRectangleIcon, } from '@heroicons/react/24/outline'; const navigation = [ { name: 'Dashboard', href: '/', icon: HomeIcon }, { name: 'Trainings', href: '/trainings', icon: AcademicCapIcon }, ] function classNames(...classes: any) { return classes.filter(Boolean).join(' ') } export function Sidebar() { const [sidebarOpen, setSidebarOpen] = useState(false) const router = useRouter(); return ( <>
{/* Sidebar component, swap this element with another sidebar if you like */}
MaresHQ backoffice
{/* Static sidebar for desktop */}
{/* Sidebar component, swap this element with another sidebar if you like */}
MaresHQ backoffice
Dashboard
Sign out
) }