aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-10-27 12:03:14 +0000
committerMohamed Bassem <me@mbassem.com>2024-10-27 12:03:14 +0000
commiteb7da996a7c2d617d276f296cac07a6fd5648664 (patch)
tree4711de55b6f5fed3ac0cf3539099a9c0f115647e /apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx
parent801ba36af5900c84af5a88dea37aa7d2f793fed9 (diff)
downloadkarakeep-eb7da996a7c2d617d276f296cac07a6fd5648664.tar.zst
ui: Redesign the settings page and move it to its own layout
Diffstat (limited to 'apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx')
-rw-r--r--apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx27
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx b/apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx
deleted file mode 100644
index 4d3436ea..00000000
--- a/apps/web/components/dashboard/sidebar/ModileSidebarItem.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-"use client";
-
-import Link from "next/link";
-import { usePathname } from "next/navigation";
-import { cn } from "@/lib/utils";
-
-export default function MobileSidebarItem({
- logo,
- path,
-}: {
- logo: React.ReactNode;
- path: string;
-}) {
- const currentPath = usePathname();
- return (
- <li
- className={cn(
- "flex w-full rounded-lg hover:bg-background",
- path == currentPath ? "bg-background" : "",
- )}
- >
- <Link href={path} className="m-auto px-3 py-2">
- {logo}
- </Link>
- </li>
- );
-}