diff --git a/staking-dashboard/src/components/ExternalGovernanceModal/ExternalGovernanceModal.tsx b/staking-dashboard/src/components/ExternalGovernanceModal/ExternalGovernanceModal.tsx new file mode 100644 index 000000000..398cfe3c2 --- /dev/null +++ b/staking-dashboard/src/components/ExternalGovernanceModal/ExternalGovernanceModal.tsx @@ -0,0 +1,96 @@ +import { createPortal } from "react-dom"; +import { Icon } from "@/components/Icon"; +import { + EXTERNAL_GOVERNANCE_FRONTENDS, + type ExternalFrontend, +} from "@/config/externalGovernance"; + +interface ExternalGovernanceModalProps { + isOpen: boolean; + onClose: () => void; +} + +export function ExternalGovernanceModal({ + isOpen, + onClose, +}: ExternalGovernanceModalProps) { + if (!isOpen) return null; + + return createPortal( +
+ Access Aztec governance through one of the community-hosted frontends + below: +
+ + {/* Frontends List */} ++ Hosted by {frontend.hostedBy} +
+