1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-30 15:04:38 +04:00
Files
tabler/pages/_docs/payments.md
T
2020-02-13 22:09:47 +01:00

41 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Payments
menu: docs.payments
plugin: payments
done: true
---
### Payment
{% capture code %}
{% include ui/payment.html class="mr-3" payment="shopify"%}
{% include ui/payment.html class="mr-3" payment="visa" %}
{% include ui/payment.html class="mr-3" payment="paypal"%}
{% endcapture %}
{% include example.html code=code %}
### Payment sizes
Using Bootstraps typical naming structure, you can create a standard payment, or scale it up to different sizes based on whats needed.
{% capture code %}
{% include ui/payment.html class="mr-3" payment="shopify" size="xl" %}
{% include ui/payment.html class="mr-3" payment="visa" size="lg" %}
{% include ui/payment.html class="mr-3" payment="paypal" size="md" %}
{% include ui/payment.html class="mr-3" payment="amazon" size="sm" %}
{% endcapture %}
{% include example.html code=code %}
### Types
<table class="table-vcenter">
{% for payment in site.data.payments %}
<tr>
<td>{{ payment.name }}</td>
<td><code>{{ payment.logo }}</code></td>
<td class="w-1">{% include ui/payment.html payment=payment.logo %}</td>
<td class="w-1">{% include ui/payment.html payment=payment.logo dark=true %}</td>
</tr>
{% endfor %}
</table>