You've already forked AstralRinth
forked from didirus/AstralRinth
Merge commit '870f92a94090b4d9aa4e942ec781e31fb8e13f22' into feature-clean
This commit is contained in:
@@ -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 data-ad="project-rail" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -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",
|
||||
},
|
||||
]);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Modrinth App Ad</title>
|
||||
<script
|
||||
src="https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js"
|
||||
type="module"
|
||||
src="//js.rev.iq"
|
||||
async
|
||||
data-domain="modrinth.com"
|
||||
></script>
|
||||
<link rel="preload" href="https://www.googletagservices.com/tag/js/gpt.js" as="script" />
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
@@ -45,19 +46,9 @@
|
||||
<body>
|
||||
<div class="ads-container">
|
||||
<a id="plus-link" href="https://modrinth.com/plus" target="_blank"></a>
|
||||
<div id="modrinth-rail-1" />
|
||||
<div data-ad="project-rail" />
|
||||
</div>
|
||||
<script>
|
||||
window.tude = window.tude || { cmd: [] };
|
||||
tude.cmd.push(function () {
|
||||
tude.refreshAdsViaDivMappings([
|
||||
{
|
||||
divId: "modrinth-rail-1",
|
||||
baseDivId: "pb-slot-square-2",
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
window.addEventListener(
|
||||
"message",
|
||||
(event) => {
|
||||
|
||||
Reference in New Issue
Block a user