import type { Metadata } from "next";
import { ServiceFeesClient } from "@/components/ServiceFeesClient";

export const metadata: Metadata = {
  title: "Service Fee Payments | ELIT GOLD",
  description: "Pay fixed service fees for trust applications, transfer coordination, vault support, and related bullion service requests."
};

export default function ServiceFeesPage() {
  const squareAvailable = Boolean(
    process.env.NEXT_PUBLIC_SQUARE_APPLICATION_ID || process.env.SQUARE_APPLICATION_ID
  ) && Boolean(
    process.env.NEXT_PUBLIC_SQUARE_LOCATION_ID || process.env.SQUARE_LOCATION_ID
  );

  return <ServiceFeesClient squareAvailable={squareAvailable} />;
}
