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
@@ -6,13 +6,19 @@ import { getChangelog, type Product } from '@modrinth/utils'
import NavTabs from '~/components/ui/NavTabs.vue'
const route = useRoute()
const router = useRouter()
const filter = ref<Product | undefined>(undefined)
const allChangelogEntries = ref(getChangelog())
function updateFilter() {
if (route.query.filter) {
filter.value = route.query.filter as Product
let value = route.query.filter
if (route.query.filter === 'servers') {
router.push({ query: { ...route.query, filter: 'hosting' } })
value = 'hosting'
}
filter.value = value as Product
} else {
filter.value = undefined
}
@@ -42,8 +48,8 @@ const changelogEntries = computed(() =>
href: 'web',
},
{
label: 'Servers',
href: 'servers',
label: 'Hosting',
href: 'hosting',
},
{
label: 'App',