"use client";

import { FeatureGate } from "@/core/feature-flags";
import { GeoportalModule } from "@/modules/geoportal";

export default function GeoportalPage() {
  return (
    <FeatureGate flag="module.geoportal" fallback={<ModuleDisabled />}>
      <GeoportalModule />
    </FeatureGate>
  );
}

function ModuleDisabled() {
  return (
    <div className="mx-auto max-w-7xl py-12 text-center text-muted-foreground">
      <p>Modulul Geoportal este dezactivat.</p>
    </div>
  );
}
