Skip to main content

max / makenotwork

2.4 KB · 66 lines History Blame Raw
1 {% extends "base.html" %}
2
3 {% block title %}Fan+ - Makenot.work{% endblock %}
4 {% block body_attrs %} class="padded-page 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 <ul>
34 <li><strong>$5 monthly credit</strong>: a promo code delivered by email, usable toward any purchase on the platform</li>
35 <li><strong>+ badge</strong>: displayed next to your name in social contexts</li>
36 <li><strong>Platform polls</strong>: vote on feature priorities and platform direction</li>
37 <li><strong>Dev community access</strong>: join the conversation about how Makenotwork is built</li>
38 </ul>
39 </div>
40
41 <div class="price-callout">$8/month</div>
42
43 <div class="fan-plus-section">
44 <p>
45 Makenotwork is built on 0% platform fees. Fan+ is how you directly
46 support the platform's development and operations, while getting real
47 value back each month.
48 </p>
49 </div>
50
51 {% if session_user.is_some() %}
52 <div class="subscribe-form">
53 <form method="post" action="/stripe/fan-plus">
54 {% if let Some(token) = csrf_token %}
55 <input type="hidden" name="_csrf" value="{{ token }}">
56 {% endif %}
57 <button type="submit" class="subscribe-btn" data-loading-text="Redirecting to Stripe...">Join Fan+</button>
58 </form>
59 </div>
60 {% else %}
61 <p class="login-link"><a href="/login">Log in</a> to join.</p>
62 {% endif %}
63 {% endif %}
64 </div>
65 {% endblock %}
66