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
AuroraHuang22 committed Sep 24, 2023
2 parents bcf8d83 + 5a5dd85 commit c28ef18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions components/NFTMint/WriterMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@
>
<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 === 0">
${{ price }}
<option v-for="{ batch, price } in initialBatchOptions" :key="batch" :value="batch" :selected="batch === 7">
{{ price }}
</option>
</select>
</div>
Expand Down Expand Up @@ -223,15 +223,15 @@ export default class WriterMessage extends Vue {
initialBatchOptions = [
{ batch: -1, price: this.$t('NFTPortal.label.initialBatch.free') },
// To maintain the compatibility of the DB data, minting starts from batch 7
{ batch: 7, price: 1 },
{ batch: 8, price: 2 },
{ batch: 9, price: 4 },
{ batch: 10, price: 8 },
{ batch: 11, price: 16 },
{ batch: 12, price: 32 },
{ batch: 13, price: 64 },
{ batch: 14, price: 128 },
{ batch: 15, price: 256 },
{ 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
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
"NFTPortal.label.fileUpload": "Has a file? Upload to ISCN here",
"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 c28ef18

Please sign in to comment.