You've already forked AstralRinth
forked from didirus/AstralRinth
add checkbox for monetization program + explainer (#1293)
* Fix bugs with threads * remove modpack warning * add back msg * update project reveue info * Add faq * add checkbox with rewards terms
This commit is contained in:
@@ -54,6 +54,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="universal-card">
|
<section class="universal-card">
|
||||||
|
<h2>About the program</h2>
|
||||||
|
<p>
|
||||||
|
By uploading projects to Modrinth and withdrawing money from your account, you agree to the
|
||||||
|
<nuxt-link to="/legal/cmp" class="text-link">Rewards Program Terms</nuxt-link>. For more
|
||||||
|
information on how the rewards system works, see our information page
|
||||||
|
<nuxt-link to="/legal/cmp-info" class="text-link">here</nuxt-link>.
|
||||||
|
</p>
|
||||||
<h2>Processing fees</h2>
|
<h2>Processing fees</h2>
|
||||||
<p>
|
<p>
|
||||||
To avoid paying unnecessary fee deductions, you may want to wait to transfer your money out
|
To avoid paying unnecessary fee deductions, you may want to wait to transfer your money out
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
<input
|
<input
|
||||||
id="account-input"
|
id="account-input"
|
||||||
v-model="account"
|
v-model="account"
|
||||||
|
class="account-input"
|
||||||
:placeholder="`Enter your ${$formatWallet(selectedWallet)} ${formatAccountType(
|
:placeholder="`Enter your ${$formatWallet(selectedWallet)} ${formatAccountType(
|
||||||
accountType
|
accountType
|
||||||
).toLowerCase()}...`"
|
).toLowerCase()}...`"
|
||||||
@@ -62,8 +63,18 @@
|
|||||||
/>
|
/>
|
||||||
<span v-if="accountType === 'phone'"> Format: +18888888888 or +1-888-888-8888 </span>
|
<span v-if="accountType === 'phone'"> Format: +18888888888 or +1-888-888-8888 </span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="rewards-checkbox">
|
||||||
|
<Checkbox v-model="agreed">
|
||||||
|
I agree to the
|
||||||
|
<nuxt-link to="/legal/cmp" class="goto-link">Rewards Program Terms</nuxt-link>
|
||||||
|
</Checkbox>
|
||||||
|
</div>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<button class="iconified-button brand-button" @click="updatePayoutData(false)">
|
<button
|
||||||
|
:disabled="!agreed"
|
||||||
|
class="iconified-button brand-button"
|
||||||
|
@click="updatePayoutData(false)"
|
||||||
|
>
|
||||||
<SaveIcon /> Save information
|
<SaveIcon /> Save information
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
@@ -90,6 +101,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { Checkbox } from 'omorphia'
|
||||||
import { Multiselect } from 'vue-multiselect'
|
import { Multiselect } from 'vue-multiselect'
|
||||||
import Chips from '~/components/ui/Chips.vue'
|
import Chips from '~/components/ui/Chips.vue'
|
||||||
import SaveIcon from '~/assets/images/utils/save.svg'
|
import SaveIcon from '~/assets/images/utils/save.svg'
|
||||||
@@ -107,6 +119,7 @@ export default defineNuxtComponent({
|
|||||||
EditIcon,
|
EditIcon,
|
||||||
ChartIcon,
|
ChartIcon,
|
||||||
SettingsIcon,
|
SettingsIcon,
|
||||||
|
Checkbox,
|
||||||
},
|
},
|
||||||
async setup() {
|
async setup() {
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
@@ -117,6 +130,7 @@ export default defineNuxtComponent({
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
agreed: false,
|
||||||
editing: false,
|
editing: false,
|
||||||
enrolled:
|
enrolled:
|
||||||
this.auth.user.payout_data.payout_wallet &&
|
this.auth.user.payout_data.payout_wallet &&
|
||||||
@@ -202,4 +216,20 @@ export default defineNuxtComponent({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped>
|
||||||
|
.multiselect {
|
||||||
|
max-width: 15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-input {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rewards-checkbox {
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
|
||||||
|
a {
|
||||||
|
margin-left: 0.5ch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user