aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/admin/sidebar/MobileSidebar.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-12-30 12:15:35 +0000
committerMohamed Bassem <me@mbassem.com>2024-12-30 12:15:35 +0000
commit5902664658a36e4afc81327eea9f8eef05561bcb (patch)
treeb72415e988efb5cd95e4a28634b0b53bf125b168 /apps/web/components/admin/sidebar/MobileSidebar.tsx
parent179f00b15525b024b6823088ef8fb94b7106b4f0 (diff)
downloadkarakeep-5902664658a36e4afc81327eea9f8eef05561bcb.tar.zst
refactor: Refactor sidebar into a shared component
Diffstat (limited to 'apps/web/components/admin/sidebar/MobileSidebar.tsx')
-rw-r--r--apps/web/components/admin/sidebar/MobileSidebar.tsx21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/web/components/admin/sidebar/MobileSidebar.tsx b/apps/web/components/admin/sidebar/MobileSidebar.tsx
deleted file mode 100644
index 416b944c..00000000
--- a/apps/web/components/admin/sidebar/MobileSidebar.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import MobileSidebarItem from "@/components/shared/sidebar/ModileSidebarItem";
-import { useTranslation } from "@/lib/i18n/server";
-
-import { adminSidebarItems } from "./items";
-
-export default async function MobileSidebar() {
- const { t } = await useTranslation();
- return (
- <aside className="w-full">
- <ul className="flex justify-between space-x-2 border-b-black px-5 py-2 pt-5">
- {adminSidebarItems(t).map((item) => (
- <MobileSidebarItem
- key={item.name}
- logo={item.icon}
- path={item.path}
- />
- ))}
- </ul>
- </aside>
- );
-}