"use client";

import { TenantSitePage } from "@/components/TenantSitePage";
import { CommercialMarketingLanding } from "@/modules/commercial/features/landing-marketing";
import { useTenantHost } from "@/hooks/useTenantHost";

export default function HomePage() {
  const host = useTenantHost();
  if (host.isTenantHost) {
    return <TenantSitePage />;
  }
  return <CommercialMarketingLanding />;
}
