Add lemmy ad

This commit is contained in:
2023-07-07 17:01:54 +02:00
parent 3ea78af585
commit 879911366c
2 changed files with 14 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ Please send your advertising inquiries to this e-mail address:
your mails never get anywhere near my inbox.
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
Origin](https://ublockorigin.com/) to let the greedy ad tech companies know that
we're not standing for it.

View File

@@ -29,6 +29,8 @@ onMount(() => {
set_ad_type("reddit")
} else if (rand < 0.4) {
set_ad_type("reviews")
} else if (rand < 0.5) {
set_ad_type("lemmy")
} else {
set_ad_type("patreon_support")
}
@@ -189,6 +191,17 @@ head.valueimpression_loaded.subscribe(v => {
</a>
</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"}
<div class="banner support_banner">