diff --git a/web/app/docs/layout.tsx b/web/app/docs/layout.tsx
index 678fdb2..0037746 100644
--- a/web/app/docs/layout.tsx
+++ b/web/app/docs/layout.tsx
@@ -1,15 +1,17 @@
-import type React from "react"
-import DocSidebar from "@/components/DocSidebar"
-import Footer from "@/components/footer"
+import type { ReactNode } from "react"
+import DocSidebar from "@/components/doc-sidebar"
-export default function DocsLayout({ children }: { children: React.ReactNode }) {
+interface LayoutProps {
+ children: ReactNode
+}
+
+export default function DocsLayout({ children }: LayoutProps) {
return (
-
-
-
- {children}
-
-
+
)
}
diff --git a/web/components/DocSidebar.tsx b/web/components/DocSidebar.tsx
index a1a0c82..b9c6b99 100644
--- a/web/components/DocSidebar.tsx
+++ b/web/components/DocSidebar.tsx
@@ -67,7 +67,7 @@ export default function DocSidebar() {
useEffect(() => {
const handleResize = () => {
- if (window.innerWidth >= 768) {
+ if (window.innerWidth >= 1024) {
setIsMobileMenuOpen(false)
}
}
@@ -126,30 +126,30 @@ export default function DocSidebar() {
}
}
-return (
- <>
-
-
-
-
-
-
- >
-)
+
Documentation
+
{sidebarItems.map(renderMenuItem)}
+
+ >
+ )
}
+
+