diff --git a/web/app/docs/layout.tsx b/web/app/docs/layout.tsx
index 6471b0a..678fdb2 100644
--- a/web/app/docs/layout.tsx
+++ b/web/app/docs/layout.tsx
@@ -1,17 +1,15 @@
-import type { ReactNode } from "react"
+import type React from "react"
import DocSidebar from "@/components/DocSidebar"
+import Footer from "@/components/footer"
-interface LayoutProps {
- children: ReactNode
-}
-
-export default function DocsLayout({ children }: LayoutProps) {
+export default function DocsLayout({ children }: { children: React.ReactNode }) {
return (
-
-
-
- {children}
-
+
)
}
diff --git a/web/components/DocSidebar.tsx b/web/components/DocSidebar.tsx
index 5516cc4..a1a0c82 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 >= 1024) {
+ if (window.innerWidth >= 768) {
setIsMobileMenuOpen(false)
}
}
@@ -126,27 +126,30 @@ export default function DocSidebar() {
}
}
- return (
- <>
-
-
-
-