From 76c93c767d46518a91e8ab0a7333a30f1bc0fdc5 Mon Sep 17 00:00:00 2001 From: Jai A Date: Wed, 4 Sep 2024 09:23:18 -0700 Subject: [PATCH] rev.iq support --- .../src/components/ui/AdPlaceholder.vue | 25 +- apps/frontend/src/public/ads.txt | 1884 ++++++++++++++++- .../src/public/promo-frame-rev-iq.html | 75 + 3 files changed, 1962 insertions(+), 22 deletions(-) create mode 100644 apps/frontend/src/public/promo-frame-rev-iq.html diff --git a/apps/frontend/src/components/ui/AdPlaceholder.vue b/apps/frontend/src/components/ui/AdPlaceholder.vue index 948ac273..ec1c39d3 100644 --- a/apps/frontend/src/components/ui/AdPlaceholder.vue +++ b/apps/frontend/src/components/ui/AdPlaceholder.vue @@ -13,7 +13,7 @@
-
+
@@ -23,7 +23,9 @@ import { ChevronRightIcon } from "@modrinth/assets"; useHead({ script: [ { - src: "https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js", + type: "module", + src: "//js.rev.iq", + "data-domain": "modrinth.com", async: true, }, { @@ -31,25 +33,6 @@ useHead({ async: true, }, ], - link: [ - { - rel: "preload", - as: "script", - href: "https://www.googletagservices.com/tag/js/gpt.js", - }, - ], -}); - -onMounted(() => { - window.tude = window.tude || { cmd: [] }; - tude.cmd.push(function () { - tude.refreshAdsViaDivMappings([ - { - divId: "modrinth-rail-1", - baseDivId: "pb-slot-square-2", - }, - ]); - }); }); + + +
+ +
+
+ + +