Skip to content

Commit 8dd0296

Browse files
committed
refactor: replace /pricing with /premium
This change is necessary, since `v1 app` and `v2 (this) app` are running on the same `url`. This will prevent name collisions with the current `/pricing` (including the api pricing page of v1)
1 parent db8396f commit 8dd0296

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

frontend/components/bc/footer/BcFooterMain.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const { t: $t } = useTranslation()
5555
<li>
5656
<BcLink
5757
class="link"
58-
to="/pricing"
58+
to="/premium"
5959
>
6060
{{ $t('footer.premium') }}
6161
</BcLink>

frontend/components/bc/header/BcHeaderMegaMenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ const items = computed(() => {
3838
3939
},
4040
{
41-
label: $t('header.megamenu.pricing'),
42-
url: '/pricing',
41+
label: $t('header.megamenu.premium'),
42+
url: '/premium',
4343
},
4444
...(hasV1Notifications.value
4545
? [

frontend/components/bc/premium/BcPremiumGem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defineProps<{
1212
:text="toolTipText ?? $t('premium.subscribe')"
1313
>
1414
<BcLink
15-
to="/pricing"
15+
to="/premium"
1616
target="_blank"
1717
class="link"
1818
>

frontend/components/bc/premium/BcPremiumModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ onUnmounted(() => {
5050
{{ props?.dismissLabel || $t("navigation.dismiss") }}
5151
</BcButton>
5252
<BcLink
53-
to="/pricing"
53+
to="/premium"
5454
target="_blank"
5555
@click="hide()"
5656
>

frontend/i18n/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@
622622
"notifications_v2": "v2 Notifications",
623623
"overview": "Overview",
624624
"pool_benchmarks": "Pool Blockchain",
625-
"pricing": "Pricing",
625+
"premium": "Premium",
626626
"profit_calculator": "Profit Calculator",
627627
"relays": "Relays",
628628
"reward_history": "Reward History",

frontend/pages/dashboard/[[id]]/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ const isTruncated = computed(() => 'isTruncated' in route.query)
428428
<BcTranslation
429429
keypath="dashboard.subsciprion_limit_reached.template"
430430
linkpath="dashboard.subsciprion_limit_reached._link"
431-
to="/pricing"
431+
to="/premium"
432432
/>
433433
</BcNotificationBanner>
434434
<BcNotificationBanner
@@ -438,7 +438,7 @@ const isTruncated = computed(() => 'isTruncated' in route.query)
438438
<LazyBcTranslation
439439
keypath="dashboard.truncated_validators.template"
440440
linkpath="dashboard.truncated_validators._link"
441-
to="/pricing"
441+
to="/premium"
442442
/>
443443
</BcNotificationBanner>
444444
</template>

frontend/pages/register.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const onSubmit = handleSubmit(async (values) => {
6363
}
6464
if (promoCode) {
6565
await navigateTo({
66-
path: '/pricing', query: { promoCode },
66+
path: '/premium', query: { promoCode },
6767
})
6868
}
6969
else {

0 commit comments

Comments
 (0)