From dd8dca4efbc41019ae09e43a9a7454296d9015fd Mon Sep 17 00:00:00 2001 From: Daniel Schulteis Date: Fri, 30 Jan 2026 00:04:10 +0100 Subject: [PATCH] feat: create initial users page and update ModuleCard to support navigation --- app/(backend)/page.tsx | 17 +++++--- app/(backend)/users/page.tsx | 82 ++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 7 deletions(-) create mode 100644 app/(backend)/users/page.tsx diff --git a/app/(backend)/page.tsx b/app/(backend)/page.tsx index 9a08a29..d99e071 100644 --- a/app/(backend)/page.tsx +++ b/app/(backend)/page.tsx @@ -20,6 +20,7 @@ import { UserCircle, Users, } from "lucide-react"; +import Link from "next/link"; import React from "react"; const Dashboard: React.FC = () => { @@ -222,13 +223,15 @@ const Dashboard: React.FC = () => {
{category.items.map((item) => ( - console.log(`Navigating to ${item.path}`)} - /> + + console.log(`Navigating to ${item.path}`)} + /> + ))}
diff --git a/app/(backend)/users/page.tsx b/app/(backend)/users/page.tsx new file mode 100644 index 0000000..b8504d4 --- /dev/null +++ b/app/(backend)/users/page.tsx @@ -0,0 +1,82 @@ +'use client'; + +import { useState } from "react"; +import { Button } from "@/components/ui/button"; +import { Search, Plus, MoreVertical, Filter } from "lucide-react"; + +export default function UsersPage() { + + const [open, setOpen] = useState(false) + + return ( +
+ {/* Header */} +
+
+

Users

+

Manage your community members and their permissions.

+
+ +
+ + {/* Filters & Search */} +
+
+ + +
+ +
+ + {/* Users List / Table */} +
+ + + + + + + + + + + + {/* Example Row */} + + + + + + + + +
UserRoleStatusJoined
+
+
JD
+
+
John Doe
+
john@example.com
+
+
+
+ Administrator + + Active + Jan 29, 2026 + +
+
+
+ ); +} \ No newline at end of file