From 2cd3f6bdc12658a3a7e8edf4dc1f5710495794b7 Mon Sep 17 00:00:00 2001 From: Jack Andrews Date: Sat, 9 Nov 2024 01:13:42 +0000 Subject: [PATCH] fix: portal layout ui --- apps/client/layouts/newLayout.tsx | 22 +--------------------- apps/client/layouts/portalLayout.tsx | 4 ++-- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/apps/client/layouts/newLayout.tsx b/apps/client/layouts/newLayout.tsx index 83e5a4c95..cf3696a7f 100644 --- a/apps/client/layouts/newLayout.tsx +++ b/apps/client/layouts/newLayout.tsx @@ -1,21 +1,13 @@ import { - Combobox, Dialog, - Disclosure, - Menu, Transition, } from "@headlessui/react"; import { Bars3Icon, Cog6ToothIcon, - FolderIcon, - HomeIcon, - InboxStackIcon, - MagnifyingGlassIcon, TicketIcon, XMarkIcon, } from "@heroicons/react/24/outline"; -import { getCookie } from "cookies-next"; import Link from "next/link"; import { useRouter } from "next/router"; import { Fragment, useEffect, useState } from "react"; @@ -32,21 +24,9 @@ import { Building, FileText, Settings, - SquareActivity, SquareKanban, - Text, } from "lucide-react"; - -const quickActions = [ - // { name: "Add new file...", icon: DocumentPlusIcon, shortcut: "N", url: "#" }, - // { name: "Add new folder...", icon: FolderPlusIcon, shortcut: "F", url: "#" }, - // { name: "Add hashtag...", icon: HashtagIcon, shortcut: "H", url: "#" }, - // { name: "Add label...", icon: TagIcon, shortcut: "L", url: "#" }, -]; - -function classNames(...classes) { - return classes.filter(Boolean).join(" "); -} +import { classNames } from "@/shadcn/lib/utils"; export default function NewLayout({ children }: any) { const location = useRouter(); diff --git a/apps/client/layouts/portalLayout.tsx b/apps/client/layouts/portalLayout.tsx index 3b5422843..516b9614d 100644 --- a/apps/client/layouts/portalLayout.tsx +++ b/apps/client/layouts/portalLayout.tsx @@ -301,7 +301,7 @@ export default function PortalLayout({ children }: any) { )} > - {user.name}'s open + open
@@ -322,7 +322,7 @@ export default function PortalLayout({ children }: any) { )} > - {user.name}'s closed + closed