Skip to content

Commit

Permalink
fix: portal layout ui
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Nov 9, 2024
1 parent a82468a commit 2cd3f6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
22 changes: 1 addition & 21 deletions apps/client/layouts/newLayout.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions apps/client/layouts/portalLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default function PortalLayout({ children }: any) {
)}
>
<span className="whitespace-nowrap">
{user.name}'s open
open
</span>
<div className="flex w-full justify-end float-right">
<span className="flex h-6 w-6 shrink-0 items-center bg-transparent border-none justify-center text-md font-medium">
Expand All @@ -322,7 +322,7 @@ export default function PortalLayout({ children }: any) {
)}
>
<span className="whitespace-nowrap">
{user.name}'s closed
closed
</span>
<div className="flex w-full justify-end float-right">
<span className="flex h-6 w-6 shrink-0 items-center bg-transparent border-none justify-center text-md font-medium">
Expand Down

0 comments on commit 2cd3f6b

Please sign in to comment.