File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828<script setup>
2929import { AutoLink } from ' @modrinth/ui'
3030
31- const flags = useFeatureFlags ()
32-
3331useHead ({
3432 script: [
3533 // {
@@ -60,23 +58,15 @@ useHead({
6058})
6159
6260const AD_PRESETS = {
63- medal: {
64- light: ' https://cdn.modrinth.com/modrinth-hosting-medal-light.webp' ,
65- dark: ' https://cdn.modrinth.com/modrinth-hosting-medal-dark.webp' ,
66- description: ' Host your next server with Modrinth Hosting' ,
67- link: ' /hosting?plan&ref=medal' ,
68- },
6961 ' modrinth-hosting' : {
70- light: ' https://cdn.modrinth.com/modrinth- hosting-light.webp' ,
71- dark: ' https://cdn.modrinth.com/modrinth- hosting-dark.webp' ,
72- description: ' Host your next server with Modrinth Hosting ' ,
62+ light: ' https://cdn.modrinth.com/hosting-oct-26 -light.webp' ,
63+ dark: ' https://cdn.modrinth.com/hosting-oct-26 -dark.webp' ,
64+ description: ' Get your next server on Modrinth. ' ,
7365 link: ' /hosting' ,
7466 },
7567}
7668
77- const currentAd = computed (() =>
78- flags .value .enableMedalPromotion ? AD_PRESETS .medal : AD_PRESETS [' modrinth-hosting' ],
79- )
69+ const currentAd = computed (() => AD_PRESETS [' modrinth-hosting' ])
8070
8171onMounted (() => {
8272 window .tude = window .tude || { cmd: [] }
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export const DEFAULT_FEATURE_FLAGS = validateValues({
2929
3030 // Feature toggles
3131 projectTypesPrimaryNav : false ,
32- enableMedalPromotion : true ,
3332 hidePlusPromoInUserMenu : false ,
3433 projectBackground : false ,
3534 searchBackground : false ,
Original file line number Diff line number Diff line change 542542 </template >
543543 <span v-else ></span >
544544 </div >
545-
546- <MedalPlanPromotion v-if =" flags .enableMedalPromotion " />
547-
548545 <ul class =" m-0 flex w-full grid-cols-3 flex-col gap-8 p-0 lg:grid" >
549546 <ServerPlanSelector
550547 :capacity =" capacityStatuses ?.small ?.available "
@@ -654,7 +651,6 @@ import { monthsInInterval } from '@modrinth/ui/src/utils/billing.ts'
654651import { useQuery } from ' @tanstack/vue-query'
655652import { computed } from ' vue'
656653
657- import MedalPlanPromotion from ' ~/components/ui/servers/marketing/MedalPlanPromotion.vue'
658654import ServerPlanSelector from ' ~/components/ui/servers/marketing/ServerPlanSelector.vue'
659655import { products } from ' ~/generated/state.json'
660656
@@ -682,7 +678,6 @@ if (affiliateCode.value) {
682678const { addNotification } = injectNotificationManager ()
683679const { formatMessage } = useVIntl ()
684680const formatPrice = useFormatPrice ()
685- const flags = useFeatureFlags ()
686681
687682const messages = defineMessages ({
688683 errorFetchingPaymentDataTitle: {
You can’t perform that action at this time.
0 commit comments