diff --git a/packages/nextjs/pages/batches/components/BatchCta.tsx b/packages/nextjs/pages/batches/components/BatchCta.tsx new file mode 100644 index 0000000..cb0bc24 --- /dev/null +++ b/packages/nextjs/pages/batches/components/BatchCta.tsx @@ -0,0 +1,34 @@ +import { formatDate } from "../utils/formatDate"; +import TrackedLink from "~~/components/TrackedLink"; + +interface BatchCtaProps { + openBatchNumber: number | null; + openBatchStartDate: number | null; +} + +export const BatchCta = ({ openBatchNumber, openBatchStartDate }: BatchCtaProps) => { + return ( +
+ Complete SpeedRunEthereum and join BuidlGuidl to be part of the next batch starting + {openBatchStartDate ? ` on ${formatDate(openBatchStartDate)}` : " soon"}! +
+- Complete SpeedRunEthereum and join BuidlGuidl to be part of the next batch starting - {openBatchStartDate ? ` on ${formatDate(openBatchStartDate)}` : " soon"}! -
-- Complete SpeedRunEthereum and join BuidlGuidl to be part of the next batch starting - {openBatchStartDate ? ` on ${formatDate(openBatchStartDate)}` : " soon"}! -
-