Modrinth Hosting rebrand (#4846)

* Modrinth Hosting rebranding

* fix capitalization issue

* fix issues
This commit is contained in:
Prospector
2025-12-03 14:15:36 -08:00
committed by GitHub
parent 79c2633011
commit 16a6f7b352
61 changed files with 212 additions and 286 deletions

View File

@@ -5,7 +5,7 @@
<template v-if="productType === 'midas'">Subscribe to Modrinth+!</template>
<template v-else-if="productType === 'pyro'">
<template v-if="existingSubscription"> Upgrade server plan </template>
<template v-else> Subscribe to Modrinth Servers! </template>
<template v-else> Subscribe to Modrinth Hosting! </template>
</template>
<template v-else>Purchase product</template>
</span>
@@ -143,7 +143,7 @@
Max Burst CPUs
<UnknownIcon
v-tooltip="
'CPU bursting allows your server to temporarily use additional threads to help mitigate TPS spikes. See Modrinth Servers FAQ for more info.'
'CPU bursting allows your server to temporarily use additional threads to help mitigate TPS spikes. See Modrinth Hosting FAQ for more info.'
"
class="h-4 w-4text-secondary opacity-60"
/>
@@ -292,7 +292,7 @@
<p class="my-2 text-lg font-bold text-primary">Purchase details</p>
<div class="mb-2 flex justify-between">
<span class="text-secondary">
{{ mutatedProduct.metadata.type === 'midas' ? 'Modrinth+' : 'Modrinth Servers' }}
{{ mutatedProduct.metadata.type === 'midas' ? 'Modrinth+' : 'Modrinth Hosting' }}
{{
existingPlan
? `(${dayjs(renewalDate).diff(dayjs(), 'days')} days prorated)`

View File

@@ -170,7 +170,7 @@ const messages = defineMessages({
},
regionUnsupported: {
id: 'servers.region.region-unsupported',
defaultMessage: `Region not listed? <link>Let us know where you'd like to see Modrinth Servers next!</link>`,
defaultMessage: `Region not listed? <link>Let us know where you'd like to see Modrinth Hosting next!</link>`,
},
customPrompt: {
id: 'servers.region.custom.prompt',

View File

@@ -295,10 +295,10 @@ function setInterval(newInterval: ServerBillingInterval) {
{
title:
isProratedCharge && prorationDays
? `Modrinth Servers (${planName}) prorated for ${prorationDays} day${
? `Modrinth Hosting (${planName}) prorated for ${prorationDays} day${
prorationDays === 1 ? '' : 's'
}`
: `Modrinth Servers (${planName})`,
: `Modrinth Hosting (${planName})`,
amount: total - tax,
},
{

View File

@@ -44,7 +44,7 @@ const sharedCpus = computed(() => {
`CPU bursting allows your server to temporarily use additional threads to help mitigate TPS spikes. Click for more info.`
"
class="flex"
to="https://modrinth.com/servers#cpu-burst"
to="https://modrinth.com/hosting#cpu-burst"
target="_blank"
@click="() => emit('click-bursting-link')"
>

View File

@@ -9,7 +9,7 @@
:customer="customer"
:payment-methods="paymentMethods"
:currency="selectedCurrency"
:return-url="`${props.siteUrl}/servers/manage`"
:return-url="`${props.siteUrl}/hosting/manage`"
:pings="regionPings"
:regions="regionsData"
:refresh-payment-methods="fetchPaymentData"

View File

@@ -82,9 +82,9 @@ const messages = defineMessages({
id: 'changelog.product.web',
defaultMessage: 'Website',
},
servers: {
id: 'changelog.product.servers',
defaultMessage: 'Servers',
hosting: {
id: 'changelog.product.hosting',
defaultMessage: 'Hosting',
},
app: {
id: 'changelog.product.app',

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
<template>
<div>
<NuxtLink :to="status === 'suspended' ? '' : `/servers/manage/${props.server_id}`">
<NuxtLink :to="status === 'suspended' ? '' : `/hosting/manage/${props.server_id}`">
<div
class="flex flex-row items-center overflow-x-hidden rounded-2xl border-[1px] border-solid border-button-bg bg-bg-raised p-4 transition-transform duration-100"
:class="{

View File

@@ -7,7 +7,7 @@
<GameIcon aria-hidden="true" class="size-5 shrink-0" />
<AutoLink
v-if="isLink"
:to="serverId ? `/servers/manage/${serverId}/options/loader` : ''"
:to="serverId ? `/hosting/manage/${serverId}/options/loader` : ''"
class="flex min-w-0 items-center truncate text-sm font-semibold"
:class="serverId ? 'hover:underline' : ''"
>

View File

@@ -6,7 +6,7 @@
<div v-else class="size-5 shrink-0 animate-pulse rounded-full bg-button-border"></div>
<AutoLink
v-if="isLink"
:to="serverId ? `/servers/manage/${serverId}/options/loader` : ''"
:to="serverId ? `/hosting/manage/${serverId}/options/loader` : ''"
class="flex min-w-0 items-center text-sm font-semibold"
:class="serverId ? 'hover:underline' : ''"
>

View File

@@ -8,7 +8,7 @@
>
<MedalBackgroundImage />
<AutoLink
:to="status === 'suspended' ? '' : `/servers/manage/${props.server_id}`"
:to="status === 'suspended' ? '' : `/hosting/manage/${props.server_id}`"
class="z-10 flex flex-grow flex-row items-center overflow-x-hidden"
:class="status !== 'suspended' && 'active:scale-95'"
>