Change to EthicalAds
This commit is contained in:
parent
42b568952e
commit
dd9b1c047c
@ -22,6 +22,7 @@
|
||||
<p>{{ mod.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div data-ea-publisher="modrinth-com" data-ea-type="text" />
|
||||
<div class="mod-navigation">
|
||||
<nuxt-link :to="'/mod/' + mod.id">
|
||||
<InfoIcon />
|
||||
|
||||
@ -209,10 +209,6 @@ export default {
|
||||
return []
|
||||
},
|
||||
},
|
||||
isAd: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
formatNumber(x) {
|
||||
|
||||
@ -70,8 +70,7 @@ export default {
|
||||
defer: true,
|
||||
},
|
||||
{
|
||||
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js',
|
||||
'data-ad-client': 'ca-pub-4615302805870170',
|
||||
src: 'https://media.ethicalads.io/media/client/ethicalads.min.js',
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<div class="content">
|
||||
<h2>My projects</h2>
|
||||
|
||||
<div class="section-header">
|
||||
<h3>Mods</h3>
|
||||
<nuxt-link class="create-button" to="/mod/create"
|
||||
@ -55,6 +54,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div data-ea-publisher="modrinth-com" data-ea-type="text" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@ -54,6 +54,7 @@
|
||||
></pagination>
|
||||
</section>
|
||||
<div class="results column-grow-4">
|
||||
<div data-ea-publisher="modrinth-com" data-ea-type="text" />
|
||||
<SearchResult
|
||||
v-for="(result, index) in results"
|
||||
:id="result.mod_id"
|
||||
|
||||
@ -11,9 +11,10 @@
|
||||
<p v-if="user.role === 'developer'" class="badge green">Developer</p>
|
||||
</div>
|
||||
</div>
|
||||
<div data-ea-publisher="modrinth-com" data-ea-type="text" />
|
||||
<div class="user-mods">
|
||||
<SearchResult
|
||||
v-for="(result, index) in mods"
|
||||
v-for="result in mods"
|
||||
:id="result.mod_id"
|
||||
:key="result.mod_id"
|
||||
:name="result.title"
|
||||
@ -26,7 +27,6 @@
|
||||
:author-url="result.author_url"
|
||||
:page-url="result.page_url"
|
||||
:categories="result.categories"
|
||||
:is-ad="index === -1"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user