'use client';

import Link from 'next/link';

/**
 * Settings › Integrations › Private Apps (design: settings-private-apps.php).
 * Private apps were consolidated into Legacy Apps; this page is a move notice.
 */
export function PrivateAppsSettingsView() {
  return (
    <div className="private-apps-page">
      <header className="set-head">
        <div>
          <h1 className="set-head__title">Private Apps</h1>
        </div>
      </header>

      <section className="private-apps-empty-state" aria-label="Private apps moved">
        <div className="private-apps-empty-state__content card">
          <div className="private-apps-empty-state__copy">
            <h2 className="fw-500 crm-mb-2">Your private apps have moved</h2>
            <p className="crm-mb-3">
              We&apos;ve consolidated all private apps into the new Legacy Apps page. Your existing
              private apps are still running and are ready for migration to the new developer
              platform.
            </p>
            <Link
              href="/settings/legacy-apps"
              className="btn-crm btn-crm--primary private-apps-empty-state__action"
            >
              Go to Legacy Apps
            </Link>
          </div>
        </div>
      </section>
    </div>
  );
}
