+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/website/client/src/assets/svg/birthday-gems.svg b/website/client/src/assets/svg/birthday-gems.svg
new file mode 100644
index 0000000000..61bb0be1ed
--- /dev/null
+++ b/website/client/src/assets/svg/birthday-gems.svg
@@ -0,0 +1,22 @@
+
diff --git a/website/client/src/assets/svg/confetti.svg b/website/client/src/assets/svg/confetti.svg
new file mode 100644
index 0000000000..8b2f2f1104
--- /dev/null
+++ b/website/client/src/assets/svg/confetti.svg
@@ -0,0 +1,22 @@
+
diff --git a/website/client/src/assets/svg/cross.svg b/website/client/src/assets/svg/cross.svg
new file mode 100644
index 0000000000..c84758ba49
--- /dev/null
+++ b/website/client/src/assets/svg/cross.svg
@@ -0,0 +1,3 @@
+
diff --git a/website/client/src/assets/svg/divider.svg b/website/client/src/assets/svg/divider.svg
new file mode 100644
index 0000000000..4976bd68f3
--- /dev/null
+++ b/website/client/src/assets/svg/divider.svg
@@ -0,0 +1,4 @@
+
diff --git a/website/client/src/assets/svg/gifts-birthday.svg b/website/client/src/assets/svg/gifts-birthday.svg
new file mode 100644
index 0000000000..b797485b63
--- /dev/null
+++ b/website/client/src/assets/svg/gifts-birthday.svg
@@ -0,0 +1,37 @@
+
diff --git a/website/client/src/assets/svg/icon-background-birthday.svg b/website/client/src/assets/svg/icon-background-birthday.svg
new file mode 100644
index 0000000000..04545cfa61
--- /dev/null
+++ b/website/client/src/assets/svg/icon-background-birthday.svg
@@ -0,0 +1,9 @@
+
diff --git a/website/client/src/assets/svg/new-close.svg b/website/client/src/assets/svg/new-close.svg
new file mode 100644
index 0000000000..37936855b1
--- /dev/null
+++ b/website/client/src/assets/svg/new-close.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/website/client/src/assets/svg/stripe.svg b/website/client/src/assets/svg/stripe.svg
new file mode 100644
index 0000000000..c15e1979b2
--- /dev/null
+++ b/website/client/src/assets/svg/stripe.svg
@@ -0,0 +1,5 @@
+
diff --git a/website/client/src/components/creatorIntro.vue b/website/client/src/components/creatorIntro.vue
index dd6b88421b..1d8a32d304 100644
--- a/website/client/src/components/creatorIntro.vue
+++ b/website/client/src/components/creatorIntro.vue
@@ -121,7 +121,7 @@
v-if="editing"
class="menu-container col-2"
:class="{active: activeTopPage === 'backgrounds'}"
- @click="changeTopPage('backgrounds', '2022')"
+ @click="changeTopPage('backgrounds', '2023')"
>
@@ -232,9 +269,8 @@
margin-bottom: 16px;
}
- .check {
- width: 35.1px;
- height: 28px;
+ .svg-check {
+ width: 45px;
color: $white;
}
}
@@ -293,6 +329,34 @@
.group-billing-date {
width: 269px;
}
+
+ .words {
+ margin-bottom: 16px;
+ justify-content: center;
+ font-size: 0.875rem;
+ color: $gray-50;
+ line-height: 1.71;
+ }
+
+ .jub-success {
+ margin-top: 0px;
+ margin-bottom: 0px;
+ }
+
+ .gryph-bg {
+ width: 110px;
+ height: 104px;
+ align-items: center;
+ justify-content: center;
+ padding: 16px;
+ border-radius: 4px;
+ background-color: $gray-700;
+ }
+ .btn-jub {
+ margin-bottom: 8px;
+ margin-top: 24px;
+ }
+
}
.modal-footer {
background: $gray-700;
@@ -430,6 +494,9 @@ export default {
isNewGroup () {
return this.paymentData.paymentType === 'groupPlan' && this.paymentData.newGroup;
},
+ ownsJubilantGryphatrice () {
+ return this.paymentData.paymentType === 'sku'; // will need to be revised when there are other discrete skus in system
+ },
},
mounted () {
this.$root.$on('habitica:payment-success', data => {
@@ -458,6 +525,12 @@ export default {
this.sendingInProgress = false;
this.$root.$emit('bv::hide::modal', 'payments-success-modal');
},
+ closeAndRedirect () {
+ if (this.$router.history.current.name !== 'stable') {
+ this.$router.push('/inventory/stable');
+ }
+ this.close();
+ },
submit () {
if (this.paymentData.group && !this.paymentData.newGroup) {
Analytics.track({
diff --git a/website/client/src/components/settings/subscription.vue b/website/client/src/components/settings/subscription.vue
index 5a02860fc8..0fbc02c77c 100644
--- a/website/client/src/components/settings/subscription.vue
+++ b/website/client/src/components/settings/subscription.vue
@@ -93,7 +93,7 @@
{{ $t('youHaveGroupPlan') }}
@@ -130,7 +130,7 @@