diff --git a/vue-app/src/views/AboutHowItWorks.vue b/vue-app/src/views/AboutHowItWorks.vue index e44470204..0534b8278 100644 --- a/vue-app/src/views/AboutHowItWorks.vue +++ b/vue-app/src/views/AboutHowItWorks.vue @@ -162,9 +162,8 @@ export default class AboutHowItWorks extends Vue { return MAX_CONTRIBUTION_AMOUNT } - // TODO: should we hardcode defaults instead of TBD for our round? - get maxRecipients(): number | string { - return this.$store.state?.currentRound?.maxRecipients || 'TBD' + get maxRecipients(): number | null { + return this.$store.state?.currentRound?.maxRecipients || 124 // TODO fix hardcode } get nativeTokenSymbol(): string { diff --git a/vue-app/src/views/AboutRecipients.vue b/vue-app/src/views/AboutRecipients.vue index c1187dec9..7cda16c8e 100644 --- a/vue-app/src/views/AboutRecipients.vue +++ b/vue-app/src/views/AboutRecipients.vue @@ -42,6 +42,12 @@ transaction) then complete KYC requirements to verify your project is legitimate.

+

+ MACI, our anti-bribery tech, currently limits the amount of projects + allowed per round. + More on MACI. The round only accepts a + total of {{ maxRecipients }} projects, so we encourage you to apply early. +

Note: all application data (except contact email address) will be publicly stored on-chain. @@ -155,5 +161,9 @@ export default class AboutRecipients extends Vue { get depositToken(): string { return this.$store.state.recipientRegistryInfo?.depositToken ?? '' } + + get maxRecipients(): number | null { + return this.$store.state?.currentRound?.maxRecipients || 124 // TODO fix hardcode + } } diff --git a/vue-app/src/views/JoinLanding.vue b/vue-app/src/views/JoinLanding.vue index 6f8b7f663..3acfd89fc 100644 --- a/vue-app/src/views/JoinLanding.vue +++ b/vue-app/src/views/JoinLanding.vue @@ -62,6 +62,10 @@ {{ formatAmount(deposit) }} {{ depositToken }} security deposit. +

+ The round only accepts a total of {{ maxRecipients }} projects, so apply + now while there’s still room! +
Time left to join
@@ -112,6 +116,10 @@ {{ formatAmount(deposit) }} {{ depositToken }} security deposit.
+
+ The round only accepts a total of {{ maxRecipients }} projects, so apply + now while there’s still room! +
Time to complete
@@ -193,6 +201,10 @@ export default class JoinLanding extends Vue { return this.$store.state.currentRound?.signUpDeadline } + get maxRecipients(): number | null { + return this.$store.state?.currentRound?.maxRecipients || 124 // TODO fix hardcode + } + get spacesRemaining(): number | null { if (!this.$store.state.currentRound || !this.registryInfo) { return null