"use client"; import Link from "next/link"; import { AuthGuard } from "@/components/AuthGuard"; import { PageHeader, Card, CardContent, Button } from "@/components/ds"; import { LOYALTY_PORTALS } from "@/modules/loyalty/constants/portals"; import { LoyaltyServiceBadge, useLoyaltyHealth } from "@/modules/loyalty/pages/shared"; export function LoyaltyHub() { return ( ); } function LoyaltyHubInner() { const healthQ = useLoyaltyHealth(); return (
} />
{LOYALTY_PORTALS.map((portal) => { const Icon = portal.icon; return (

{portal.label}

{portal.description}

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