Skip to content

Commit 2cd3f6b

Browse files
committed
fix: portal layout ui
1 parent a82468a commit 2cd3f6b

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

apps/client/layouts/newLayout.tsx

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
import {
2-
Combobox,
32
Dialog,
4-
Disclosure,
5-
Menu,
63
Transition,
74
} from "@headlessui/react";
85
import {
96
Bars3Icon,
107
Cog6ToothIcon,
11-
FolderIcon,
12-
HomeIcon,
13-
InboxStackIcon,
14-
MagnifyingGlassIcon,
158
TicketIcon,
169
XMarkIcon,
1710
} from "@heroicons/react/24/outline";
18-
import { getCookie } from "cookies-next";
1911
import Link from "next/link";
2012
import { useRouter } from "next/router";
2113
import { Fragment, useEffect, useState } from "react";
@@ -32,21 +24,9 @@ import {
3224
Building,
3325
FileText,
3426
Settings,
35-
SquareActivity,
3627
SquareKanban,
37-
Text,
3828
} from "lucide-react";
39-
40-
const quickActions = [
41-
// { name: "Add new file...", icon: DocumentPlusIcon, shortcut: "N", url: "#" },
42-
// { name: "Add new folder...", icon: FolderPlusIcon, shortcut: "F", url: "#" },
43-
// { name: "Add hashtag...", icon: HashtagIcon, shortcut: "H", url: "#" },
44-
// { name: "Add label...", icon: TagIcon, shortcut: "L", url: "#" },
45-
];
46-
47-
function classNames(...classes) {
48-
return classes.filter(Boolean).join(" ");
49-
}
29+
import { classNames } from "@/shadcn/lib/utils";
5030

5131
export default function NewLayout({ children }: any) {
5232
const location = useRouter();

apps/client/layouts/portalLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export default function PortalLayout({ children }: any) {
301301
)}
302302
>
303303
<span className="whitespace-nowrap">
304-
{user.name}'s open
304+
open
305305
</span>
306306
<div className="flex w-full justify-end float-right">
307307
<span className="flex h-6 w-6 shrink-0 items-center bg-transparent border-none justify-center text-md font-medium">
@@ -322,7 +322,7 @@ export default function PortalLayout({ children }: any) {
322322
)}
323323
>
324324
<span className="whitespace-nowrap">
325-
{user.name}'s closed
325+
closed
326326
</span>
327327
<div className="flex w-full justify-end float-right">
328328
<span className="flex h-6 w-6 shrink-0 items-center bg-transparent border-none justify-center text-md font-medium">

0 commit comments

Comments
 (0)