Skip to content

Commit 2cc33c5

Browse files
committed
style(payment): Bundle Stripe and PayPal, and improve layout.
1 parent 9da5e81 commit 2cc33c5

File tree

4 files changed

+17
-23
lines changed

4 files changed

+17
-23
lines changed

src/app/account-app/shopping-cart.component.html

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -120,48 +120,34 @@ <h2> Payment method </h2>
120120

121121
<div class="paymentMethods">
122122
<app-payment-method
123-
logo="/_img/pay/stripe-logo.png"
123+
logo="/assets/payment/Credit_Cards_PayPal.png"
124124
logo_alt="Stripe logo"
125-
disable_payment="{{total <= 0}}"
125+
disable_payment="{{total <= 0}}"
126126
(clicked)="initiatePayment('stripe')"
127127
>
128128
<h4>
129-
Pay with a payment card or digital wallet
129+
Pay with a payment card or PayPal.
130130
</h4>
131131
<p>
132-
We support all major payment cards and wallets.
132+
All major cards and wallets are accepted.
133133
</p>
134134
</app-payment-method>
135135

136136
<app-payment-method
137-
logo="/_img/pay/bitcoin.png"
137+
logo="/assets/payment/bitcoin.png"
138138
logo_alt="Bitcoin logo"
139-
disable_payment="{{total <= 0}}"
139+
disable_payment="{{total <= 0}}"
140140
(clicked)="initiatePayment('coinbase')"
141-
>
141+
>
142142
<h4>
143143
Pay with cryptocurrencies using Coinbase
144144
</h4>
145145
<p>
146-
Your transaction is secured by cryptography.
146+
All major cryptocurrencies are accepted.
147147
</p>
148148
</app-payment-method>
149149

150-
<app-payment-method
151-
logo="/_img/pay/paypal_bundle_s.png"
152-
logo_alt="PayPal logo"
153-
disable_payment="{{total <= 0}}"
154-
(click)="initiatePayment('paypal')"
155-
>
156-
<h4>
157-
Pay with a PayPal wallet or payment card
158-
</h4>
159-
<p>
160-
Note that your subscription will not recur automatically with PayPal.
161-
</p>
162-
</app-payment-method>
163-
164-
<mat-expansion-panel style="margin: 50px 10px; text-align: center;">
150+
<mat-expansion-panel [expanded]="true" id="otherPaymentMethods">
165151
<mat-expansion-panel-header>
166152
<mat-panel-title style="text-align: center"> Other payment methods </mat-panel-title>
167153
</mat-expansion-panel-header>
343 KB
Loading

src/assets/payment/bitcoin.png

40.2 KB
Loading

src/styles.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,15 @@ app-calendar-event-editor-dialog p {
15831583
padding: 10px !important;
15841584
}
15851585

1586+
#otherPaymentMethods {
1587+
margin: 20px 0 50px 0;
1588+
max-width: 90%;
1589+
text-align: center;
15861590

1591+
mat-panel-title {
1592+
font-size: 20px;
1593+
}
1594+
}
15871595

15881596
/*** Runbox components ***/
15891597

0 commit comments

Comments
 (0)