Remove intro popup, show username on home button

This commit is contained in:
2023-11-15 13:12:10 +01:00
parent fa0029eeb0
commit 326e77b6bf
4 changed files with 45 additions and 30 deletions

View File

@@ -6,16 +6,13 @@ let ad_type = ""
onMount(() => {
// 20% pixeldrain socials
// 20% reviews
// 10% battle cry
// 40% patreon
// 60% patreon
let rand = Math.random()
if (rand < 0.2) {
ad_type = "socials"
} else if (rand < 0.4) {
ad_type = "reviews"
} else if (rand < 0.5) {
ad_type = "slava_ukraini"
} else {
ad_type = "patreon_support"
}