"use client"; import { useRouter } from "next/navigation"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { CMS_TYPES, CMS_TYPE_LABELS } from "@/config/constants"; import { FileText, Sparkles, Image, Layout } from "lucide-react"; const contentTypes = [ { type: CMS_TYPES.SPLASH, label: CMS_TYPE_LABELS.splash, description: "Splash screen content for app launch", icon: Sparkles, color: "text-purple-500", }, { type: CMS_TYPES.PROMO, label: CMS_TYPE_LABELS.promo, description: "Promotional content and offers", icon: Image, color: "text-blue-500", }, { type: CMS_TYPES.ARTICLE, label: CMS_TYPE_LABELS.article, description: "Articles and blog posts", icon: FileText, color: "text-green-500", }, { type: CMS_TYPES.BANNER, label: CMS_TYPE_LABELS.banner, description: "Banner advertisements", icon: Layout, color: "text-orange-500", }, { type: CMS_TYPES.FLOATING_WIDGET, label: CMS_TYPE_LABELS.floatingWidget, description: "Floating widget content", icon: Image, color: "text-pink-500", }, ]; export default function ContentOverviewPage() { const router = useRouter(); return (

CMS Content Management

Manage different types of content for your applications

{contentTypes.map((item) => (
{item.label} {item.description}
Click "Manage" to view and edit {item.label.toLowerCase()} content
))}
); }