diff --git a/src/app/(admin)/dashboard/_components/sidebar-client.tsx b/src/app/(admin)/dashboard/_components/sidebar-client.tsx
new file mode 100644
index 0000000..e4b916f
--- /dev/null
+++ b/src/app/(admin)/dashboard/_components/sidebar-client.tsx
@@ -0,0 +1,23 @@
+"use client"
+
+import { SidebarTrigger } from "@/components/ui/sidebar"
+import { useIsMobile } from "@/hooks/use-mobile"
+import { ReactNode } from "react"
+
+export function SidebarClient({ children }: { children: ReactNode }) {
+ const isMobile = useIsMobile()
+
+ if (isMobile) {
+ return (
+
+
+
+ Linker
+
+
{children}
+
+ )
+ }
+
+ return children
+}
diff --git a/src/app/(admin)/dashboard/layout.tsx b/src/app/(admin)/dashboard/layout.tsx
index 6035433..875300b 100644
--- a/src/app/(admin)/dashboard/layout.tsx
+++ b/src/app/(admin)/dashboard/layout.tsx
@@ -1,6 +1,7 @@
import { SidebarProvider } from "@/components/ui/sidebar"
import { ReactNode } from "react"
import { DashboardSidebar } from "./_components/sidebar"
+import { SidebarClient } from "./_components/sidebar-client"
export default function DashboardLayout({
children
@@ -9,12 +10,14 @@ export default function DashboardLayout({
}) {
return (
-
-
-
- {children}
-
-
+
+
+
+
+ {children}
+
+
+
)
}