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'"
>

View File

@@ -152,8 +152,8 @@
"changelog.product.app": {
"defaultMessage": "App"
},
"changelog.product.servers": {
"defaultMessage": "Servers"
"changelog.product.hosting": {
"defaultMessage": "Hosting"
},
"changelog.product.web": {
"defaultMessage": "Website"
@@ -930,7 +930,7 @@
"defaultMessage": "Where would you like your server to be located?"
},
"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>"
},
"servers.region.southeast-asia": {
"defaultMessage": "Southeast Asia"

View File

@@ -30,8 +30,8 @@
on getting them back online.
</li>
<li>
If you recently purchased your Modrinth Server, it is currently in a queue and will
appear here as soon as it's ready. <br />
If you recently purchased your Modrinth Hosting server, it is currently in a queue and
will appear here as soon as it's ready. <br />
<span class="font-medium text-contrast"
>Do not attempt to purchase a new server.</span
>
@@ -96,9 +96,9 @@
"
/>
<h1 class="m-0 text-contrast">You don't have any servers yet!</h1>
<p class="m-0">Modrinth Servers is a new way to play modded Minecraft with your friends.</p>
<p class="m-0">Modrinth Hosting is a new way to play modded Minecraft with your friends.</p>
<ButtonStyled size="large" type="standard" color="brand">
<AutoLink to="/servers#plan">Create a Server</AutoLink>
<AutoLink to="/servers#plan">Create a server</AutoLink>
</ButtonStyled>
</div>

View File

@@ -1 +1 @@
export { default as ServersManagePageIndex } from './servers/manage/index.vue'
export { default as ServersManagePageIndex } from './hosting/manage/index.vue'

View File

@@ -1,6 +1,6 @@
import dayjs from 'dayjs'
export type Product = 'web' | 'servers' | 'api' | 'app'
export type Product = 'web' | 'hosting' | 'api' | 'app'
export type VersionEntry = {
date: dayjs.Dayjs
@@ -30,7 +30,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-11-14T12:15:00-08:00`,
product: 'servers',
product: 'hosting',
body: `## Improvements
- Improved the performance of the servers list.
- Fixed startup commands not being updated properly.
@@ -172,7 +172,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-10-14T18:45:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Removed 'Prepare download' step for downloading backups, you can now just download them directly.`,
},
@@ -258,7 +258,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-09-08T14:45:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed world seed being rounded in options.`,
},
@@ -338,7 +338,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-08-28T16:50:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed issue with Files page not showing files in the correct order sometimes.
- Fixed Medal servers showing a confusing cancellation/suspension notice.`,
@@ -360,7 +360,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-08-19T11:10:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Improved upgrading experience.`,
},
@@ -373,7 +373,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-08-18T09:10:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed various dropdowns not appearing.`,
},
@@ -456,7 +456,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-08-01T21:30:00-04:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Server status information is now correctly displayed in the 'My Servers' page. ([#4071](https://github.com/modrinth/code/pull/4071))
- Fixed an error with displaying startup settings.
@@ -510,19 +510,19 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-07-08T11:10:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Reapplied error handling improvements, with more improvements.`,
},
{
date: `2025-07-07T22:20:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed issue with Servers panel failing to load.`,
},
{
date: `2025-07-07T17:45:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Reverted error handling improvements.`,
},
@@ -604,7 +604,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-06-30T19:15:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Progress will now show when installing Modrinth Pack (.mrpack) files.
- Fixed storage stats not linking to Files page.
@@ -619,7 +619,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-06-26T11:00:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed support bubble overlapping notifications sometimes.
- Fixed race condition when creating backups.`,
@@ -643,21 +643,21 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-06-16T11:00:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Improved error handling.
- Rolled out hotfixes with the previous days' updates.'`,
},
{
date: `2025-06-15T16:25:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed installing modpacks from search.
- Fixed setting subdomains.`,
},
{
date: `2025-06-15T14:30:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed various issues with the panel loading improperly in certain cases.
- Fixed CPU icon being smaller than the rest.
@@ -674,7 +674,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-06-03T14:35:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added support for servers in Europe.
- Added server setup for new servers upon opening the panel for the first time.`,
@@ -688,7 +688,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-05-08T09:00:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added the ability to extract .zip files in the Files page.
- Added the ability to extract a remote .zip file from a URL, or from a CurseForge modpack version URL.
@@ -743,7 +743,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-04-28T19:45:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added support for installing snapshot versions of Minecraft.
@@ -796,7 +796,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-04-17T02:25:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Completely overhauled the Backups interface and fixed them being non-functional.
- Backups will now show progress when creating and restoring.
@@ -808,7 +808,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-04-15T16:35:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added ability to send surveys to customers in the panel via notices.
@@ -817,7 +817,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-04-12T22:10:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added ability to notify customers in the panel with notices concerning their servers.`,
},
@@ -861,7 +861,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-03-24T22:30:00-07:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed server plugin loaders not being populated when browsing for plugins
- Fixed modpack search being filtered by Minecraft version when browsing for modpacks.`,
@@ -919,7 +919,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-02-25T10:20:00-08:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Fixed server upgrades being allowed when out of stock, despite warning.`,
},
@@ -960,7 +960,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-02-18T14:30:00-08:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Links will now be detected in console line viewer modal.
@@ -980,7 +980,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-02-16T19:10:00-08:00`,
product: 'servers',
product: 'hosting',
body: `### Improvements
- Check for availability before allowing a server upgrade.`,
},
@@ -992,7 +992,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-02-12T19:10:00-08:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added server upgrades to switch to a larger plan as an option in billing settings.`,
},
@@ -1029,7 +1029,7 @@ const VERSIONS: VersionEntry[] = [
},
{
date: `2025-02-10T08:00:00-08:00`,
product: 'servers',
product: 'hosting',
version: `February Release`,
body: `### Added
- You can now search and filter through your server's console in the Overview tab, jump to specific results to see the log in context, select them, and copy them.
@@ -1080,7 +1080,7 @@ Contributed by [IMB11](https://github.com/modrinth/code/pull/1301).`,
},
{
date: `2025-01-10T09:00:00-08:00`,
product: 'servers',
product: 'hosting',
version: 'January Release',
body: `### Added
- Added drag & drop upload support for mod and plugin files on the content page.
@@ -1110,7 +1110,7 @@ Contributed by [IMB11](https://github.com/modrinth/code/pull/1301).`,
},
{
date: `2024-12-26T22:05:00-08:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Added ability for users to clean install modpacks when switching versions.
@@ -1159,7 +1159,7 @@ Contributed by [IMB11](https://github.com/modrinth/code/pull/1301).`,
},
{
date: `2024-12-21T16:00:00-08:00`,
product: 'servers',
product: 'hosting',
body: `### Added
- Drag and drop anything in the file manager.
- Added file upload queue status bar.
@@ -1180,7 +1180,7 @@ Contributed by [IMB11](https://github.com/modrinth/code/pull/1301).`,
},
{
date: `2024-12-11T22:18:45-08:00`,
product: 'servers',
product: 'hosting',
version: `December Release`,
body: `### Added
- Expanded loader support to include **Paper** and **Purpur** servers, offering fully native plugin compatibility.