import { Suspense } from "react"; import { Code, Palette, FileText, Settings } from "lucide-react"; import Link from "next/link"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@nextsparkjs/core/components/ui/card"; import { getTranslations } from "next-intl/server"; /** * Developer Area Home Page * * Dashboard with quick links to development tools and documentation. * Shows overview of available sections in the dev area. */ async function DevHomePageContent() { const t = await getTranslations('dev'); const tCommon = await getTranslations('common'); const sections = [ { title: t('nav.styleGallery'), description: t('style.description'), icon: Palette, href: "/devtools/style", color: "text-pink-600 dark:text-pink-400", bgColor: "bg-pink-100 dark:bg-pink-950", cyId: "devtools-home-style-link" }, { title: t('nav.testCases'), description: t('tests.description'), icon: FileText, href: "/devtools/tests", color: "text-blue-600 dark:text-blue-400", bgColor: "bg-blue-100 dark:bg-blue-950", cyId: "devtools-home-tests-link" }, { title: t('nav.config'), description: t('config.description'), icon: Settings, href: "/devtools/config", color: "text-green-600 dark:text-green-400", bgColor: "bg-green-100 dark:bg-green-950", cyId: "devtools-home-config-link" }, ]; return (
{t('subtitle')}
{t('home.intro')}
{t('home.accessLevel')}
{tCommon('userRoles.developer')}
{t('home.hierarchy')}
100