Skip to main content

max / makenotwork

3.0 KB · 75 lines History Blame Raw
1 {% extends "base.html" %}
2
3 {% block title %}Fan+ - Makenotwork{% endblock %}
4 {% block body_attrs %} class="{{ crate::shell::measure(crate::shell::Measure::Wide) }} fan-plus-page"{% endblock %}
5
6 {% block content %}
7 {% include "partials/site_header.html" %}
8
9 <div class="container">
10 <h1 class="page-title">Fan+</h1>
11
12 {% if just_subscribed %}
13 <div class="success-banner">
14 You're now a Fan+ member. Welcome.
15 </div>
16 {% endif %}
17
18 {% if is_subscribed %}
19 <div class="status-box">
20 <p><strong>Your Fan+ membership is active.</strong></p>
21 {% if let Some(end) = period_end %}
22 <p>Current period ends: {{ end }}</p>
23 {% endif %}
24 <p>You'll receive a $5 credit code each billing cycle via email.</p>
25 </div>
26 {% else %}
27 <div class="page-intro">
28 Support the platform and get something back every month.
29 </div>
30
31 <div class="fan-plus-section">
32 <h2 class="section-header">What you get</h2>
33 {# Keep this list and the Fan+ card on the landing page identical,
34 and keep both to what the code grants. Audited 2026-08-05. #}
35 <ul>
36 <li><strong>$5 monthly credit</strong>: a promo code delivered by email each billing cycle, usable toward any purchase on the platform</li>
37 <li><strong>+ badge</strong>: displayed next to your name on your forum posts</li>
38 <li><strong>Forum signatures</strong>: a signature block rendered under everything you post</li>
39 <li><strong>Image embeds</strong>: post images in forum threads</li>
40 </ul>
41 </div>
42
43 <div class="price-callout">$8/month</div>
44
45 <div class="fan-plus-section">
46 <p>
47 Makenotwork is built on 0% platform fees. Fan+ is how you directly
48 support the platform's development and operations, while getting real
49 value back each month.
50 </p>
51 </div>
52
53 {% if session_user.is_some() %}
54 <div class="subscribe-form">
55 <form method="post" action="/stripe/fan-plus">
56 {% if let Some(token) = csrf_token %}
57 <input type="hidden" name="_csrf" value="{{ token }}">
58 {% endif %}
59 <button type="submit" class="subscribe-btn" data-loading-text="Redirecting to Stripe...">Join Fan+</button>
60 </form>
61 </div>
62 {% else %}
63 {# Fan+ needs an account, so an anonymous visitor gets both paths: the
64 one for people who already have one and the one for people who do
65 not. Without the second this page is a dead end for exactly the
66 visitor it is written for. #}
67 <p class="login-link">
68 <a href="/join">Create an account</a> to join, or
69 <a href="/login">log in</a> if you already have one.
70 </p>
71 {% endif %}
72 {% endif %}
73 </div>
74 {% endblock %}
75