diff --git a/app/admin/layout.tsx b/app/admin/layout.tsx
index 0ca302b..331ab2b 100644
--- a/app/admin/layout.tsx
+++ b/app/admin/layout.tsx
@@ -1,6 +1,7 @@
"use client";
import type React from "react";
import { useState } from "react";
+import AdminLeftNavigation from "@/components/AdminLeftNavigation";
import {
LayoutDashboard,
Download,
@@ -8,10 +9,10 @@ import {
Boxes,
Store,
Users,
- Settings, LucideMail,
+ Settings,
+ LucideMail,
} from "lucide-react";
-
const navItems = [
{
label: "Dashboard",
@@ -38,13 +39,18 @@ const navItems = [
href: "/admin/merchants",
icon: ,
},
+ {
+ label: "Platforms",
+ href: "/admin/platforms",
+ icon: ,
+ },
{
label: "Users",
href: "/admin/users",
icon: ,
},
{
- label: "Settings (TO DO)",
+ label: "Settings",
href: "/admin/settings",
icon: ,
},
@@ -60,6 +66,7 @@ const navItems = [
},
];
+// ... existing code ...
// ADMIN CHECK FOR LOGIN
// const { user, loading } = useAuth();
@@ -68,101 +75,46 @@ const navItems = [
// }
export default function AdminLayout({
- children,
-}: {
+ children,
+ }: {
children: React.ReactNode;
}) {
const [collapsed, setCollapsed] = useState(false);
+
return (
-
- {/* Sidebar */}
-