Skip to content

Commit

Permalink
rev.iq support
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Sep 4, 2024
1 parent e69337a commit 76c93c7
Show file tree
Hide file tree
Showing 3 changed files with 1,962 additions and 22 deletions.
25 changes: 4 additions & 21 deletions apps/frontend/src/components/ui/AdPlaceholder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div
class="absolute top-0 flex items-center justify-center overflow-hidden rounded-2xl bg-bg-raised"
>
<div id="modrinth-rail-1" />
<div id="project-rail" />
</div>
</div>
</template>
Expand All @@ -23,33 +23,16 @@ 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,
},
{
src: "/inmobi.js",
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",
},
]);
});
});
</script>
<style>
Expand Down
Loading

0 comments on commit 76c93c7

Please sign in to comment.