diff --git a/apps/portal/src/components/Document/ContractDeployCard.tsx b/apps/portal/src/components/Document/ContractDeployCard.tsx new file mode 100644 index 00000000000..f6417207999 --- /dev/null +++ b/apps/portal/src/components/Document/ContractDeployCard.tsx @@ -0,0 +1,35 @@ +import Link from "next/link"; +import { Paragraph } from "./Paragraph"; + +/** + * Usage: + * ```tsx + * + * ``` + */ +export function ContractDeployCard(props: { + contractName: string; + description?: string; + href: string; +}) { + return ( +
+
+ Deploy {props.contractName} +
+ + {props.description || + `The ${props.contractName} is available to deploy on Explore. Deploy it now through dashboard.`} + +
+ +
Deploy Now
+ +
+
+ ); +}