diff --git a/src/app/components/Modals/CongratModal.tsx b/src/app/components/Modals/CongratModal.tsx new file mode 100644 index 00000000..b6cccd17 --- /dev/null +++ b/src/app/components/Modals/CongratModal.tsx @@ -0,0 +1,52 @@ +import { Button, Heading } from "@babylonlabs-io/bbn-core-ui"; +import { LuPartyPopper } from "react-icons/lu"; + +import { GeneralModal } from "./GeneralModal"; + +interface CongratModalProps { + open: boolean; + onClose: () => void; +} + +export function CongratModal({ open, onClose }: CongratModalProps) { + return ( + +
+
+ + Conratulations +

+ Share feedback or report issues on our{" "} + + Forums + {" "} + or{" "} + + Discord + {" "} + (#feedback and #support) – thank you for being part of the Babylon + community! +

+
+ +
+
+ ); +} diff --git a/src/app/components/Modals/GeneralModal.tsx b/src/app/components/Modals/GeneralModal.tsx index 4bc9ec3a..65f1e0c8 100644 --- a/src/app/components/Modals/GeneralModal.tsx +++ b/src/app/components/Modals/GeneralModal.tsx @@ -43,7 +43,7 @@ export const GeneralModal: React.FC = ({ classNames={{ modalContainer: "flex items-end justify-center md:items-center", modal: twMerge( - `m-0 w-full max-w-none rounded-t-2xl bg-base-300 shadow-lg md:w-auto md:rounded-b-2xl max-h-[100svh] min-w-[20rem] md:max-h-[85svh] md:min-w-[30rem]`, + `m-0 w-full max-w-none rounded-t bg-secondary-contrast border-primary-light/20 p-6 md:w-auto md:rounded max-h-[100svh] min-w-[20rem] md:max-h-[85svh] md:min-w-[30rem]`, small ? "md:max-w-[25rem]" : "md:max-w-[45rem] lg:max-w-[55rem]", className, ), diff --git a/src/app/components/Modals/PendingVerificationModal.tsx b/src/app/components/Modals/PendingVerificationModal.tsx index 1610615d..08f268ed 100644 --- a/src/app/components/Modals/PendingVerificationModal.tsx +++ b/src/app/components/Modals/PendingVerificationModal.tsx @@ -1,5 +1,6 @@ +import { Button, Heading, Loader } from "@babylonlabs-io/bbn-core-ui"; import { useCallback } from "react"; -import { FaCheckCircle } from "react-icons/fa"; +import { BiSolidBadgeCheck } from "react-icons/bi"; import { useDelegationV2 } from "@/app/hooks/api/useDelegationV2"; import { useTransactionService } from "@/app/hooks/services/useTransactionService"; @@ -17,9 +18,9 @@ interface PendingVerificationModalProps { const Verified = () => ( <> - -

Verified

-

+ + Verified +

Your request has been verified by the babylon blockchain. You can now stake

@@ -28,9 +29,9 @@ const Verified = () => ( const NotVerified = () => ( <> - -

Pending Verification

-

+ + Pending Verification +

The babylon blockchain has received your request. Please wait while we confirm the neseccary amount of signatures

@@ -83,21 +84,20 @@ export function PendingVerificationModal({ closeOnOverlayClick={false} closeOnEsc={false} > -
+
{verified ? : }
- +
); diff --git a/src/app/components/TestingInfo/TestingInfo.tsx b/src/app/components/TestingInfo/TestingInfo.tsx index 621a77d2..41a04f55 100644 --- a/src/app/components/TestingInfo/TestingInfo.tsx +++ b/src/app/components/TestingInfo/TestingInfo.tsx @@ -5,7 +5,6 @@ import { shouldDisplayTestingMsg } from "@/config"; interface TestingInfoProps {} export const TestingInfo: React.FC = () => { - return null; if (!shouldDisplayTestingMsg()) return null; return (