Article listing in dashboard

This commit is contained in:
cdricms
2025-02-25 18:37:00 +01:00
parent a3f716446c
commit efec258ae3
3 changed files with 277 additions and 11 deletions

View File

@@ -28,6 +28,7 @@ import {
} from "@/components/ui/sidebar";
import useMe from "@/hooks/use-me";
import { useEffect } from "react";
import { title } from "process";
// This is sample data.
const data = {
@@ -78,16 +79,8 @@ const data = {
icon: BookOpen,
items: [
{
title: "Catégorie 1",
url: "/dashboard/blogs/categorie-1",
},
{
title: "Catégorie 2",
url: "/dashboard/blogs/categorie-2",
},
{
title: "Nouvelle catégorie",
url: "/dashboard/blogs/categories/new",
title: "Articles",
url: "/dashboard/blogs",
},
{
title: "Nouvel article",
@@ -96,7 +89,7 @@ const data = {
],
},
{
title: "Settings",
title: "Configurations",
url: "/dashboard/settings",
icon: Settings2,
items: [