Add lemmy ad
This commit is contained in:
@@ -68,7 +68,7 @@ Please send your advertising inquiries to this e-mail address:
|
|||||||
your mails never get anywhere near my inbox.
|
your mails never get anywhere near my inbox.
|
||||||
|
|
||||||
But in all seriousness, I am not interested in running ads on pixeldrain. Ads
|
But in all seriousness, I am not interested in running ads on pixeldrain. Ads
|
||||||
are destroying the web through greed and deception. I won't want anything to do
|
are destroying the web through greed and deception. I don't want anything to do
|
||||||
with that. I would recommend everyone to install [uBlock
|
with that. I would recommend everyone to install [uBlock
|
||||||
Origin](https://ublockorigin.com/) to let the greedy ad tech companies know that
|
Origin](https://ublockorigin.com/) to let the greedy ad tech companies know that
|
||||||
we're not standing for it.
|
we're not standing for it.
|
||||||
|
@@ -29,6 +29,8 @@ onMount(() => {
|
|||||||
set_ad_type("reddit")
|
set_ad_type("reddit")
|
||||||
} else if (rand < 0.4) {
|
} else if (rand < 0.4) {
|
||||||
set_ad_type("reviews")
|
set_ad_type("reviews")
|
||||||
|
} else if (rand < 0.5) {
|
||||||
|
set_ad_type("lemmy")
|
||||||
} else {
|
} else {
|
||||||
set_ad_type("patreon_support")
|
set_ad_type("patreon_support")
|
||||||
}
|
}
|
||||||
@@ -189,6 +191,17 @@ head.valueimpression_loaded.subscribe(v => {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{:else if ad_type === "lemmy"}
|
||||||
|
|
||||||
|
<div class="banner social_button">
|
||||||
|
<a href="https://lemmy.fornaxian.tech/c/pixeldrain"
|
||||||
|
rel="noreferrer" class="button" target="_blank" style="background-color: #14854f; color: #ffffff;"
|
||||||
|
>
|
||||||
|
Follow Pixeldrain on Lemmy: lemmy.fornaxian.tech
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
{:else if ad_type === "reviews"}
|
{:else if ad_type === "reviews"}
|
||||||
|
|
||||||
<div class="banner support_banner">
|
<div class="banner support_banner">
|
||||||
|
Reference in New Issue
Block a user