style the product page a bit

This commit is contained in:
Rimian Perkins 2019-11-14 11:13:12 +11:00
parent 399dca953a
commit 3999e1f7fd
4 changed files with 18 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{{#each products as |product|}} {{#each products as |product|}}
<div> <div class="product">
<h2>{{product.name}}</h2> <h2>{{product.name}}</h2>
<p> <p>
@ -16,3 +16,9 @@
{{/if}} {{/if}}
</div> </div>
{{/each}} {{/each}}
{{#unless currentUser}}
<p>
{{i18n 'discourse_patrons.subscribe.unauthenticated'}}
</p>
{{/unless}}

View File

@ -1,2 +1,4 @@
<div id="product-list">
{{product-list products=model}} {{product-list products=model}}
</div>

View File

@ -31,3 +31,10 @@
} }
} }
} }
#product-list {
padding: 40px 120px;
.product {
margin-bottom: 60px;
}
}

View File

@ -38,11 +38,11 @@ en:
confirm: Are you sure you want to cancel this subscription? confirm: Are you sure you want to cancel this subscription?
subscribe: subscribe:
title: Subscribe title: Subscribe
unauthenticated: You need to create an account to subscribe.
card: card:
title: Payment title: Payment
customer: customer:
title: Customer Details title: Customer Details
empty: We couldn't find a customer identifier in our system. A new one will be created for you.
buttons: buttons:
subscribe: Subscribe subscribe: Subscribe
one_time: one_time: