Skip to content

Commit

Permalink
fix api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Aug 18, 2024
1 parent 5663b31 commit 78d148b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { globIterate } from "glob";
import { match as matchLocale } from "@formatjs/intl-localematcher";
import { consola } from "consola";

const STAGING_API_URL = "https://api.modrinth.com/v2/";
const STAGING_API_URL = "https://staging-api.modrinth.com/v2/";

const preloadedFonts = [
"inter/Inter-Regular.woff2",
Expand Down
10 changes: 5 additions & 5 deletions apps/frontend/src/pages/plus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
/>
<div class="main-hero">
<div class="flex max-w-screen-lg flex-col items-center gap-4 text-center">
<ModrinthPlusIcon class="text-contrast h-8 w-max" />
<ModrinthPlusIcon class="h-8 w-max text-contrast" />
<h1 class="m-0 text-[4rem]">Support creators and go ad-free</h1>
<p class="m-0 mb-4 text-[18px] leading-relaxed">
Subscribe to Modrinth Plus to go ad-free, support Modrinth's development, and get an
exclusive profile badge! Half your subscription goes directly to Modrinth creators. Cancel
anytime.
</p>
<p class="text-purple m-0 text-[2rem] font-bold">
<p class="m-0 text-[2rem] font-bold text-purple">
{{ formatPrice(vintl.locale, price.prices.intervals.monthly, price.currency_code) }}/mo
</p>
<p class="m-0 mb-4 text-secondary">
Expand Down Expand Up @@ -63,14 +63,14 @@
<h2>What you get with Modrinth Plus!</h2>
<div class="mt-8 grid max-w-screen-lg gap-8 lg:grid-cols-3">
<div class="flex flex-col gap-4 rounded-xl bg-bg-raised p-4">
<HeartIcon class="text-purple h-8 w-8" />
<HeartIcon class="h-8 w-8 text-purple" />
<span class="text-lg font-bold">Support Modrinth creators</span>
<span class="leading-5 text-secondary">
50% of your subscription goes directly to Modrinth creators.
</span>
</div>
<div class="flex flex-col gap-4 rounded-xl bg-bg-raised p-4">
<SparklesIcon class="text-purple h-8 w-8" />
<SparklesIcon class="h-8 w-8 text-purple" />
<span class="text-lg font-bold">Remove all ads</span>
<span class="leading-5 text-secondary">
Never see an advertisement again on
Expand All @@ -79,7 +79,7 @@
</span>
</div>
<div class="flex flex-col gap-4 rounded-xl bg-bg-raised p-4">
<StarIcon class="text-purple h-8 w-8" />
<StarIcon class="h-8 w-8 text-purple" />
<span class="text-lg font-bold">Profile badge</span>
<span class="leading-5 text-secondary">Get an exclusive badge on your user page.</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/pages/settings/billing/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
/>
<NewModal ref="addPaymentMethodModal">
<template #title>
<span class="text-contrast text-lg font-extrabold">
<span class="text-lg font-extrabold text-contrast">
{{ formatMessage(messages.paymentMethodTitle) }}
</span>
</template>
Expand Down Expand Up @@ -242,7 +242,7 @@
<PayPalIcon v-else-if="method.type === 'paypal'" class="h-8 w-8" />
<div class="flex flex-col">
<div class="flex items-center gap-2">
<div class="text-contrast font-bold">
<div class="font-bold text-contrast">
<template v-if="method.type === 'card'">
{{
formatMessage(messages.paymentMethodCardDisplay, {
Expand Down

0 comments on commit 78d148b

Please sign in to comment.