From cd82a3c66f7f0af755b37e7555484a35a0d44d03 Mon Sep 17 00:00:00 2001 From: "Michael D. Norman" Date: Sat, 14 May 2022 12:40:56 -0500 Subject: [PATCH] chore: [#3] replaced plot with nft --- components/ClaimButton.tsx | 8 ++++---- components/ClaimSuccessModal/ClaimSuccessModal.tsx | 4 ++-- components/NotEligibleModal/NotEligibleModal.tsx | 4 ++-- parcel-properties.ts | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/ClaimButton.tsx b/components/ClaimButton.tsx index 9cfab0c..0f56fc0 100644 --- a/components/ClaimButton.tsx +++ b/components/ClaimButton.tsx @@ -10,18 +10,18 @@ export interface ClaimButtonProps extends DefaultButtonProps { const ClaimButton = ({ allowance, walletAlreadyClaimed, withinClaimPeriod, disabled, ...rest }: ClaimButtonProps) => { const getClaimButtonText = () => { if (!withinClaimPeriod) { - return 'CLAIM PLOTS'; + return 'CLAIM NFTS'; } if (allowance > 0 && allowance > walletAlreadyClaimed) { - return `CLAIM ${allowance - walletAlreadyClaimed} PLOTS`; + return `CLAIM ${allowance - walletAlreadyClaimed} NFTS`; } if (walletAlreadyClaimed > 0) { - return `${walletAlreadyClaimed} PLOTS CLAIMED`; + return `${walletAlreadyClaimed} NFTS CLAIMED`; } - return 'CLAIM PLOTS'; + return 'CLAIM NFTS'; }; return ( diff --git a/components/ClaimSuccessModal/ClaimSuccessModal.tsx b/components/ClaimSuccessModal/ClaimSuccessModal.tsx index 1fcd2da..c25b044 100644 --- a/components/ClaimSuccessModal/ClaimSuccessModal.tsx +++ b/components/ClaimSuccessModal/ClaimSuccessModal.tsx @@ -21,10 +21,10 @@ export const ClaimSuccessModal: FC = ({ eligibleNftsCoun
Success! You just claimed - {` ${eligibleNftsCount}`} Parcel 0 Plot{eligibleNftsCount > 1 ? 's' : ''}. + {` ${eligibleNftsCount}`} Parcel 0 NFT{eligibleNftsCount > 1 ? 's' : ''}.

- Plot location will be revealed on June 15th, + NFT location will be revealed on June 15th,
2022.

diff --git a/components/NotEligibleModal/NotEligibleModal.tsx b/components/NotEligibleModal/NotEligibleModal.tsx index 1253268..433d846 100644 --- a/components/NotEligibleModal/NotEligibleModal.tsx +++ b/components/NotEligibleModal/NotEligibleModal.tsx @@ -16,9 +16,9 @@ export const NotEligibleModal: FC = () => { Parcel Zero NFT
Parcel 0 Claim
- This wallet is not eligible to claim any Plots + This wallet is not eligible to claim any NFTs
- Parcel 0 plots can only be claimed by + Parcel 0 NFTs can only be claimed by
CityDAO Citizen diff --git a/parcel-properties.ts b/parcel-properties.ts index 35048d5..fe1dc0d 100644 --- a/parcel-properties.ts +++ b/parcel-properties.ts @@ -2,9 +2,9 @@ import { ParcelPropertyProps } from './components/ParcelProperty'; export const getParcelProperties = (numberOfMinted: number, numberOfMaxNftToMint: number): ParcelPropertyProps[] => [ { - name: 'TOTAL PLOTS', + name: 'TOTAL NFTS', value: `${numberOfMinted}/${numberOfMaxNftToMint}`, - tooltip: 'The number of plots will depend on how many Parcel 0 NFTs are minted.', + tooltip: 'The number of NFTs will depend on how many Parcel 0 NFTs are minted.', iconPath: '/icons/icon_plot.png', }, {