{{/*### Handler=/donate TitleBar=Support Yozora KyutGrill=donate2.png AdditionalJS=https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/9.0.0/nouislider.min.js */}} {{ define "tpl" }} {{ $global := .Context }} {{ $ := $ }}
{{ $ief := ieForm .Gin }} {{ with .Get "users/self/donor_info" }} {{ if .has_donor }}

{{ $.T "You are a donor!" }}

{{ $.T "Your donor expires %s. No need to feel guilty for not having donated!" (time .expiration) | html }} <3
{{ end }}

{{ $.T "Did you know?" }}
{{ if .has_donor }}{{ $.T "(Probably.)" }}{{ else }}{{ $.T "(Probably not.)" }}{{ end }}

{{ $.T "Yozora is not cheap to run." }}

{{ $.T "While we provide this service for free, we still have to pay for it, and if we always took the money out of our own pockets, 1. we would be broke, 2. we wouldn't be able to upgrade our hardware to accomodate our users. While we do have loads of software optimisations that allow us to have Yozora run crazy fast while still being on not so high-end hardware, the more users we have, the higher-end our hardware needs to be. So we are asking you for help on this :)." }}

{{ $.T "We are still students." }}

{{ $.T "Yozora developers, and most of the Yozora staff, do not have a day job. This means that we get most of our income as students from doing small jobs as \"freelancers\" every so often, or, you know, allowance." }}

{{ $.T "We do not have ads. And never will." }}

{{ $.T "You may have adblock enabled and have not noticed, but we don't have ads anywhere on our website. We believe ads are bad, as they can be very annoying to you and that you would rather spend a few bucks to help us rather than watch annoying ads all the time." }}

{{ $.T "We love picking random icons from our icon library." }}

{{ $.T "So what can you do?" }}
{{ if .has_donor }}{{ $.T "Well, you can give us even more money." }}{{ else }}{{ $.T "Well, you can give us money." }}{{ end }}

{{ $.T "Here's what you get:" }}

{{ $.T "Yellow username" }}

{{ $.T "Just like in osu!, you get a shiny yellow username in the in-game chat to show everyone you're a really cool dude who has helped us pay the server bills." | html }}

{{ $.T "Donor badge" }}

{{ $.T "Again, just like in osu!, you will get a donor badge on your profile, to show everyone you're supporting us." | html }}

{{ $.T "Custom badge editor" }}

{{ $.T "You get to be able to create your own personal badge, with custom text and icon, to show off on your profile! Let the world know you're an anchor. Or prank people showing a spinnin' wheel with \"Loading...\"! Up to you." | html }}

{{ $.T "Friends ranking" }}

{{ $.T "Competing with friends is really cool, you can play on the leaderboard with someone more or less on your level, without getting crippling depression and RSI for not beating that pro!" | html }}

{{ $.T "Discord privileges" }}

{{ $.T "You'll get exclusive access to the \"#donators\" text and voice channels, you'll be able to change your discord nickname and you'll get a custom role with custom username colour!" | html }}

{{ $.T "Profile background" }}

{{ $.T "Think about spicing your profile up with some eggplants? Got you covered! Having donor privileges, you get to be able to change your profile background." | html }}

{{ $.T "Account wipe" }}

{{ $.T "Want to start over one more time? With donor you can! Normally you can only request an account wipe once, but having donated you'll be able to do it once again." | html }}

{{ $.T "More to come!" }}

{{ $.T "Who knows what we could implement next? You could be able to do even more stuff for donors once we implement it." | html }}
{{ if $global.User.ID }}

{{ $.T "And this is how you pay" }}

{{ $.T "You may donate through either PayPal (or credit/debit card linked to PayPal) or Bitcoin. Use the slider below to choose the amount of months you'd like to have the donor benefits, and the cost will be instantly calculated. Remember that if, for instance, you choose to donate € 4 instead of € 3.51, you will only be given one donor month." | html }}


{{ $.T "Loading..." }}

{{ $.T "PayPal" }}

{{ range _range 24 }} {{ $months := plus (float .) 1 }} {{ end }}
{{ $.T "User:" }}
{{ $ief }}

{{ $.T "I've donated, now what?" }}

{{ $.T "You'll have to wait until we verify and process your payment. It can take up to 12 hours. If 12 hours have passed and you still haven't received your Donor tag, contact a Dev/Community Manager in our Discord server or send an email to support@yozora.pw. Once we have processed your payment, you'll receive an email to the address you've used to sign up and you'll get all the donor privileges, except the Discord ones. To get the Discord donor privileges, go here." | html }} {{ else }}

{{ $.T "Please log in to get supporter" }}

{{ end }}
{{ end }}
{{ end }}