Skip to content

Commit

Permalink
🔀 Merge #388 updates to deploy/rinkeby
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiJun0827 committed Sep 26, 2023
2 parents 30c2c15 + 5a5dd85 commit fb3de7d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
18 changes: 12 additions & 6 deletions components/NFTMint/WriterMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
>
<span>{{ $t('NFTPortal.label.initialBatch.input') }}</span>
<select ref="batchInput" @change="(e) => $emit('update-initial-batch', e.target.value)">
<option v-for="{ batch, price } in initialBatchOptions" :key="batch" :value="batch" :selected="batch === 4">
<option v-for="{ batch, price } in initialBatchOptions" :key="batch" :value="batch" :selected="batch === 7">
{{ price }}
</option>
</select>
Expand All @@ -156,7 +156,7 @@
{{ $t('NFTPortal.label.collectExpiryDate.input') }}
</label>
<input v-if=shouldShowCollectExpiryDateInput ref="collectExpiryDateInput" type="date" :min="tomorrow" @change="updateCollectExpiryDate($event)" />
</div>
</div>
</div>
</template>
</div>
Expand Down Expand Up @@ -192,10 +192,16 @@ export default class WriterMessage extends Vue {
initialBatchOptions = [
{ batch: -1, price: this.$t('NFTPortal.label.initialBatch.free') },
{ batch: 0, price: 8 },
{ batch: 4, price: 128 },
{ batch: 7, price: 1024 },
{ batch: 9, price: 4096 },
// To maintain the compatibility of the DB data, minting starts from batch 7
{ batch: 7, price: this.$t('NFTPortal.label.price', { price: 1 }) },
{ batch: 8, price: this.$t('NFTPortal.label.price', { price: 2 }) },
{ batch: 9, price: this.$t('NFTPortal.label.price', { price: 4 }) },
{ batch: 10, price: this.$t('NFTPortal.label.price', { price: 8 }) },
{ batch: 11, price: this.$t('NFTPortal.label.price', { price: 16 }) },
{ batch: 12, price: this.$t('NFTPortal.label.price', { price: 32 }) },
{ batch: 13, price: this.$t('NFTPortal.label.price', { price: 64 }) },
{ batch: 14, price: this.$t('NFTPortal.label.price', { price: 128 }) },
{ batch: 15, price: this.$t('NFTPortal.label.price', { price: 256 }) },
]
get shouldShowInitialBatchSettings() {
Expand Down
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@
"NFTPortal.label.defaultDescription": "(no description)",
"NFTPortal.label.detailsPage": "NFT Details Page :",
"NFTPortal.label.fileUpload": "Has a file? Upload to ISCN here",
"NFTPortal.label.initialBatch.input": "Initial Price (LIKE)",
"NFTPortal.label.initialBatch.input": "Initial Price (USD)",
"NFTPortal.label.initialBatch.free": "All Free",
"NFTPortal.label.price": "${price}",
"NFTPortal.label.input.email": "Join our community and stay in the loop on exclusive product updates and offers. {link} now!",
"NFTPortal.label.input.link": "Please leave your email",
"NFTPortal.label.Iscn": "ISCN ID",
Expand Down

0 comments on commit fb3de7d

Please sign in to comment.