15
15
</div>
16
16
{{ /unless }}
17
17
18
- <div class=' member-plan member-plan--premium' >
19
- <header class=' member-plan__header' >
20
- <h2 class=' member-plan__title' >{{ t ' Monthly' }} </h2>
21
- <span class=' member-plan__sign' >{{ price currency = @price.currency }} </span>
22
- <strong class=' member-plan__amount' >{{ @price.monthly }} </strong>
23
- </header>
24
- <div class=' member-plan__content' >
25
- <ul class=' member-plan__list' >
26
- <li>Full access to all private posts</li>
27
- <li>Regular updates with new content</li>
28
- <li>Support independent publishing</li>
29
- <li>Simple, secure card payment</li>
30
- </ul>
31
- <a class=' btn btn--dark' href=' javascript:void(0)' data-members-plan=' Monthly' >{{ t ' Choose this plan' }} </a>
18
+ {{ #get " tiers" include =" monthly_price,yearly_price,benefits" limit =" all" as |tiers |}}
19
+ <div class=' member-plan member-plan--premium' >
20
+ <header class=' member-plan__header' >
21
+ <h2 class=' member-plan__title' >{{ t ' Monthly' }} </h2>
22
+ <span class=' member-plan__sign' >{{ price currency =currency }} </span>
23
+ <strong class=' member-plan__amount' >{{ monthly_price }} </strong>
24
+ </header>
25
+ <div class=' member-plan__content' >
26
+ <ul class=' member-plan__list' >
27
+ <li>Full access to all private posts</li>
28
+ <li>Regular updates with new content</li>
29
+ <li>Support independent publishing</li>
30
+ <li>Simple, secure card payment</li>
31
+ </ul>
32
+ <a class=' btn btn--dark' href=' javascript:void(0)' data-members-plan=' Monthly' >{{ t ' Choose this plan' }} </a>
33
+ </div>
32
34
</div>
33
- </div>
34
35
35
- <div class=' member-plan member-plan--premium' >
36
- <header class=' member-plan__header' >
37
- <h2 class=' member-plan__title' >{{ t ' Yearly' }} </h2>
38
- <span class=' member-plan__sign' >{{ price currency = @price.currency }} </span>
39
- <strong class=' member-plan__amount' >{{ @price.yearly }} </strong>
40
- </header>
41
- <div class=' member-plan__content' >
42
- <ul class=' member-plan__list' >
43
- <li>Full access to all private posts</li>
44
- <li>Regular updates with new content</li>
45
- <li>Support independent publishing</li>
46
- <li>Simple, secure card payment</li>
47
- <li>One easy payment instead of 12!</li>
48
- </ul>
49
- <a class=' btn btn--dark' href=' javascript:void(0)' data-members-plan=' Yearly' >{{ t ' Choose this plan' }} </a>
36
+ <div class=' member-plan member-plan--premium' >
37
+ <header class=' member-plan__header' >
38
+ <h2 class=' member-plan__title' >{{ t ' Yearly' }} </h2>
39
+ <span class=' member-plan__sign' >{{ price currency =currency }} </span>
40
+ <strong class=' member-plan__amount' >{{ yearly_price }} </strong>
41
+ </header>
42
+ <div class=' member-plan__content' >
43
+ <ul class=' member-plan__list' >
44
+ <li>Full access to all private posts</li>
45
+ <li>Regular updates with new content</li>
46
+ <li>Support independent publishing</li>
47
+ <li>Simple, secure card payment</li>
48
+ <li>One easy payment instead of 12!</li>
49
+ </ul>
50
+ <a class=' btn btn--dark' href=' javascript:void(0)' data-members-plan=' Yearly' >{{ t ' Choose this plan' }} </a>
51
+ </div>
50
52
</div>
51
53
</div>
52
- </div>
54
+ {{ /get }}
0 commit comments