diff --git a/src/app/[...slug]/page.tsx b/src/app/[...slug]/page.tsx
index 95068a0..adc0561 100644
--- a/src/app/[...slug]/page.tsx
+++ b/src/app/[...slug]/page.tsx
@@ -25,7 +25,7 @@ export default async function GetMarkdownPageView({ params }: StaticSlugParams)
const MdxData = blogs[slg.join("/")];
return (
-
+
{/* */}
diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx
new file mode 100644
index 0000000..21cd563
--- /dev/null
+++ b/src/app/not-found.tsx
@@ -0,0 +1,10 @@
+
+export default function NotFound(){
+ return
+
+
404 Not found
+
+
This is not page what are you looking for.
+
+
+}
\ No newline at end of file
diff --git a/src/components/BaseView.tsx b/src/components/BaseView.tsx
index 1a669cd..f005aa8 100644
--- a/src/components/BaseView.tsx
+++ b/src/components/BaseView.tsx
@@ -6,7 +6,7 @@ export default function BaseView(data: { children: any[] | any, sideBarOptions:
return
-
+
{data.children}
diff --git a/src/components/aside/aside.tsx b/src/components/aside/aside.tsx
index 930bbe8..2e20002 100644
--- a/src/components/aside/aside.tsx
+++ b/src/components/aside/aside.tsx
@@ -14,7 +14,11 @@ export default function SideBar(params: { options: SideBarOptions }) {
//TODO : Fix Re-Rendering Of Component on Resize With Memo
//const mobile = isMobile()
- const [expanded, setExpanded] = useState(true)
+ const [expanded, setExpanded] = useState(true);
+
+ useEffect(()=>{
+ (window as any).__sidebar = ()=>setExpanded(!expanded);
+ })
const container = {
hidden: { opacity: 1, scale: 0 },
@@ -64,23 +68,27 @@ export default function SideBar(params: { options: SideBarOptions }) {
}
return <>
-