From f2f806a165dd81534d960ce8c3bd139e62f03afb Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 5 May 2023 08:50:35 -0300 Subject: init version --- packages/exchange-backoffice-ui/src/Dashborad.tsx | 373 ++++++++++++++++++++++ 1 file changed, 373 insertions(+) create mode 100644 packages/exchange-backoffice-ui/src/Dashborad.tsx (limited to 'packages/exchange-backoffice-ui/src/Dashborad.tsx') diff --git a/packages/exchange-backoffice-ui/src/Dashborad.tsx b/packages/exchange-backoffice-ui/src/Dashborad.tsx new file mode 100644 index 000000000..8e137d69d --- /dev/null +++ b/packages/exchange-backoffice-ui/src/Dashborad.tsx @@ -0,0 +1,373 @@ +import { Fragment, h } from "preact"; +import { Dialog, Menu, Transition } from "@headlessui/react"; +import { + Bars3Icon, + BellIcon, + CalendarIcon, + ChartPieIcon, + Cog6ToothIcon, + DocumentDuplicateIcon, + FolderIcon, + HomeIcon, + UsersIcon, + XMarkIcon, +} from "@heroicons/react/24/outline"; +import { + ChevronDownIcon, + MagnifyingGlassIcon, +} from "@heroicons/react/20/solid"; +import { useState } from "preact/hooks"; + +const navigation = [ + { name: "Dashboard", href: "#", icon: HomeIcon, current: true }, + { name: "Team", href: "#", icon: UsersIcon, current: false }, + { name: "Projects", href: "#", icon: FolderIcon, current: false }, + { name: "Calendar", href: "#", icon: CalendarIcon, current: false }, + { name: "Documents", href: "#", icon: DocumentDuplicateIcon, current: false }, + { name: "Reports", href: "#", icon: ChartPieIcon, current: false }, +]; +const teams = [ + { id: 1, name: "Heroicons", href: "#", initial: "H", current: false }, + { id: 2, name: "Tailwind Labs", href: "#", initial: "T", current: false }, + { id: 3, name: "Workcation", href: "#", initial: "W", current: false }, +]; +const userNavigation = [ + { name: "Your profile", href: "#" }, + { name: "Sign out", href: "#" }, +]; + +function classNames(...classes: string[]) { + return classes.filter(Boolean).join(" "); +} + +export function Dashboard() { + const [sidebarOpen, setSidebarOpen] = useState(false); + + return ( + <> +
+ + + +
+ + +
+ + + +
+ +
+
+
+
+ Your Company +
+ +
+
+
+
+
+
+ + + +
+
+ + + {/* Separator */} + +
+ + ); +} -- cgit v1.2.3