diff --git a/packages/client/src/components/gallery/DescItem.tsx b/packages/client/src/components/gallery/DescItem.tsx
new file mode 100644
index 0000000..566e889
--- /dev/null
+++ b/packages/client/src/components/gallery/DescItem.tsx
@@ -0,0 +1,26 @@
+import StyledLink from "@/components/gallery/StyledLink";
+import { cn } from "@/lib/utils";
+
+export function DescItem({ name, children, className }: {
+ name: string;
+ className?: string;
+ children?: React.ReactNode;
+}) {
+ return
+ {name}
+ {children}
+
;
+}
+export function DescTagItem({
+ items, name, className,
+}: {
+ name: string;
+ items: string[];
+ className?: string;
+}) {
+ return
+ {items.length === 0 ? "N/A" : items.map(
+ (x) => {x}
+ )}
+ ;
+}
diff --git a/packages/client/src/components/layout/nav.tsx b/packages/client/src/components/layout/nav.tsx
index 51fa2dd..88f1c37 100644
--- a/packages/client/src/components/layout/nav.tsx
+++ b/packages/client/src/components/layout/nav.tsx
@@ -1,8 +1,10 @@
import { Link } from "wouter"
import { MagnifyingGlassIcon, GearIcon, ActivityLogIcon, ArchiveIcon, PersonIcon } from "@radix-ui/react-icons"
-import { buttonVariants } from "@/components/ui/button.tsx"
+import { Button, buttonVariants } from "@/components/ui/button.tsx"
import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip.tsx"
import { useLogin } from "@/state/user.ts";
+import { useNavItems } from "./navAtom";
+import { Separator } from "../ui/separator";
interface NavItemProps {
icon: React.ReactNode;
@@ -29,11 +31,41 @@ export function NavItem({
}
+interface NavItemButtonProps {
+ icon: React.ReactNode;
+ onClick: () => void;
+ name: string;
+ className?: string;
+}
+
+export function NavItemButton({
+ icon,
+ onClick,
+ name,
+ className
+}: NavItemButtonProps) {
+ return
+
+
+
+ {name}
+
+}
+
export function NavList() {
const loginInfo = useLogin();
+ const navItems = useNavItems();
return