"use client";

import { AdminShell } from '../components/admin/admin-page.jsx';
import WhatsAppSection from '@/app/components/dashboard/whatsapp-section.jsx';

export default function WhatsAppPage() {
  return (
    <AdminShell
      kicker="madarX OS · WhatsApp"
      title="WhatsApp gateway"
      description={
        <>
          Text the main agent like you text Hermes. The bridge pairs as a WhatsApp Web client over Baileys
          and runs as a separate daemon (npm run whatsapp:bridge).{' '}
          <a className="admin-link" href="/marketplace?kind=connection">Configured in Marketplace →</a>
        </>
      }
    >
      <WhatsAppSection />
    </AdminShell>
  );
}
