-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
signup.hbs
executable file
·48 lines (44 loc) · 2.33 KB
/
signup.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{{!< default}}
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
<div class="site-content-wrap">
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="post-wrap">
<article class="post-single page">
<div class="post-header d-flex">
<div class="header-content-wrap text-center">
<h1 class="post-title text-center">{{t "Choose your subscription plan"}}</h1>
</div>
</div>
<div class="members-page-content">
<div class="members-page-subtitle text-center">
{{t "Unlock full access to"}} {{@site.title}} {{t "and see the entire library of members-only content & updates"}}
</div>
{{#if @member.paid}}
{{!-- Logged in, paying member: Redirect home --}}
<script>window.location = '{{@site.url}}/';</script>
{{else if @member}}
{{!-- Logged in, not paying: Check out --}}
<div class="pricing-table-wrap">
{{> members/pricing-table-monthly}}
{{> members/pricing-table-yearly}}
</div>
{{else}}
{{!-- Logged in, not paying: Check out --}}
<div class="pricing-table-wrap">
{{> members/pricing-table-free}}
{{> members/pricing-table-monthly}}
{{> members/pricing-table-yearly}}
</div>
<div class="text-center member-alternate-link">
{{t "Already have an account?"}} <a href="{{@site.url}}/signin/">{{t "Sign in"}}</a>
</div>
{{/if}}
</div>
</article>
</div>
</div>
</div>
</div>
</div>