"use client"; import Link from "next/link"; import { AuthGuard } from "@/components/AuthGuard"; import { PageHeader, Card, CardContent, Button } from "@/components/ds"; import { CRM_PORTALS } from "@/modules/crm/constants/portals"; import { CrmServiceBadge, useCrmHealth } from "@/modules/crm/pages/shared"; export function CrmHub() { return ( ); } function CrmHubInner() { const healthQ = useCrmHealth(); return (
} />
{CRM_PORTALS.map((portal) => { const Icon = portal.icon; return (

{portal.label}

{portal.description}

ورود ←
); })}
{healthQ.data ? ( سرویس {healthQ.data.service} — نسخه {healthQ.data.version} ) : null}
); }