You've already forked AstralRinth
forked from didirus/AstralRinth
Fix ads showing with Modrinth PLus (#2187)
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<template>
|
||||
<div
|
||||
v-if="!auth.user || isPermission(auth.user.badges, 1 << 0)"
|
||||
class="ad-parent relative mb-3 flex w-full justify-center rounded-2xl bg-bg-raised"
|
||||
>
|
||||
<div class="ad-parent relative mb-3 flex w-full justify-center rounded-2xl bg-bg-raised">
|
||||
<div class="flex max-h-[250px] min-h-[250px] min-w-[300px] max-w-[300px] flex-col gap-4 p-6">
|
||||
<p class="m-0 text-2xl font-bold text-contrast">90% of ad revenue goes to creators</p>
|
||||
<nuxt-link to="/plus" class="mt-auto items-center gap-1 text-purple hover:underline">
|
||||
@@ -43,8 +40,6 @@ useHead({
|
||||
],
|
||||
});
|
||||
|
||||
const auth = await useAuth();
|
||||
|
||||
onMounted(() => {
|
||||
window.tude = window.tude || { cmd: [] };
|
||||
tude.cmd.push(function () {
|
||||
|
||||
Reference in New Issue
Block a user