import React, { ReactNode, Fragment } from "react"; import { Disclosure, Menu, Transition } from "@headlessui/react"; import { Bars3Icon, BellIcon, XMarkIcon } from "@heroicons/react/24/outline"; interface Props { children?: any; } const user = { name: "Tom Cook", email: "tom@example.com", imageUrl: "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80", }; const navigation = [ { name: "Dashboard", href: "#", current: true }, { name: "Team", href: "#", current: false }, { name: "Projects", href: "#", current: false }, { name: "Calendar", href: "#", current: false }, { name: "Reports", href: "#", current: false }, ]; const userNavigation = [ { name: "Your Profile", href: "#" }, { name: "Settings", href: "#" }, { name: "Sign out", href: "#" }, ]; function classNames(...classes: any) { return classes.filter(Boolean).join(" "); } export default function Layout({ children }: Props) { return ( <>