diff --git a/app/components/general-layout.tsx b/app/components/general-layout.tsx index be41b25..337dd39 100644 --- a/app/components/general-layout.tsx +++ b/app/components/general-layout.tsx @@ -2,7 +2,7 @@ import { Button } from "~/components/ui/button" import logoPng from "~/images/lume-logo.png?url" import lumeColorLogoPng from "~/images/lume-color-logo.png?url" import discordLogoPng from "~/images/discord-logo.png?url" -import { Link } from "@remix-run/react" +import { Link, useLocation } from "@remix-run/react" import { Dialog, DialogContent, @@ -14,7 +14,7 @@ import { useUppy } from "./lib/uppy" import type { UppyFile } from "@uppy/core" import { Progress } from "~/components/ui/progress" import { DialogClose } from "@radix-ui/react-dialog" -import { TrashIcon } from "@radix-ui/react-icons" +import { ChevronDownIcon, TrashIcon } from "@radix-ui/react-icons" import { ClockIcon, DriveIcon, @@ -22,10 +22,15 @@ import { CloudUploadIcon, CloudCheckIcon, BoxCheckedIcon, - PageIcon + PageIcon, + ThemeIcon } from "./icons" +import { DropdownMenu, DropdownMenuTrigger } from "./ui/dropdown-menu" +import { Avatar } from "@radix-ui/react-avatar" +import { cn } from "~/utils" export const GeneralLayout = ({ children }: React.PropsWithChildren<{}>) => { + const location = useLocation(); return (
@@ -35,7 +40,7 @@ export const GeneralLayout = ({ children }: React.PropsWithChildren<{}>) => {
+
+ + + + + + + +
+ {children}