add subscription to home page

This commit is contained in:
2020-08-03 15:26:22 +02:00
parent 7290975873
commit 73c1ae91c5
8 changed files with 197 additions and 8 deletions

View File

@@ -0,0 +1,62 @@
# Becoming a pixeldrain subscriber
## Register a pixeldrain account
{{if .Authenticated}}
✅ You are logged in to your pixeldrain account. Continue to the next step.
{{else}}
First you need to register a pixeldrain account. You can do so with our
[registration form](/register). If you already have an account you can [log in
here](/login).
{{end}}
## Verify your e-mail address
{{if eq .User.Email ""}}
Your e-mail address is not yet verified. You can change your e-mail address on
the [user settings page](/user/settings). After submitting your e-mail address
you will receive a verification link in your inbox. Click the verification link
to verify your e-mail address.
{{else}}
✅ Your e-mail address is verified. Continue to the next step.
{{end}}
## Join a support tier in Patreon
Make sure your Patreon account uses the same e-mail address as your pixeldrain
account. {{if .Authenticated}}(Your e-mail address: {{.User.Email}}){{end}}
{{$plan := .URLQuery.Get "plan"}}
{{if eq $plan "t1"}}
<a class="button button_highlight" href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427">
Order plan 'I'm doing my part!'
</a>
{{else if eq $plan "t2"}}
<a class="button button_highlight" href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291482">
Order plan 'Persistence'
</a>
{{else if eq $plan "t3"}}
<a class="button button_highlight" href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291516">
Order plan 'Tenacity'
</a>
{{else if eq $plan "t4"}}
<a class="button button_highlight" href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291528">
Order plan 'Eternity'
</a>
{{else}}
<a class="button button_highlight" href="https://www.patreon.com/join/pixeldrain">
See our subscription plans on Patreon
</a>
{{end}}
After ordering I will add the subscription to your pixeldrain account. This can
take a few hours depending on how busy I am at that moment. This part will soon
be automated.