wip: course layout and func to context

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-05-16 11:05:04 +08:00
parent dcf5f43fd5
commit 2b1955608d
38 changed files with 3086 additions and 9 deletions
-2
View File
@@ -1,5 +1,3 @@
// modules/admin/data/dashboard.data.jsx
//
// Centralizes all icon maps, link maps, and chart link maps for the
// admin dashboard. To add a new section (e.g. Tasks), just add a new
// export block here and import it in UsersDashboard.jsx.
+11 -3
View File
@@ -1,6 +1,4 @@
// data/adminTiles.data.js
import { Users, GitFork, FolderOpen } from "lucide-react";
import { Users, GitFork, FolderOpen, BookText, ListCheck } from "lucide-react";
export const ADMIN_SECTIONS = [
{
@@ -22,6 +20,16 @@ export const ADMIN_SECTIONS = [
{ key: "assets", label: "Assets", icon: FolderOpen, link: "/admin/assets" },
],
},
{
id: "section-courses",
tab: "Content Management",
title: "Content Management",
description: "Manage tasks and courses",
tiles: [
{ key: "assets", label: "Courses", icon: BookText, link: "/admin/courses" },
{ key: "assets", label: "Tasks", icon: ListCheck, link: "" },
],
},
{
id: "section-site",
tab: "Site Content",