summaryrefslogtreecommitdiff
path: root/src/components/payment_methods_table.tsx
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-22 21:18:20 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-22 21:18:20 -0600
commit21508a3514500f8f38ddaa8bef7a9cd420d76628 (patch)
treee416d58752154f7cbe78a96c1fbe35dd34a8703f /src/components/payment_methods_table.tsx
parentb5885b23a8d3593428334683b8c03075ce071f3a (diff)
Añade carrito
Diffstat (limited to 'src/components/payment_methods_table.tsx')
-rw-r--r--src/components/payment_methods_table.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/payment_methods_table.tsx b/src/components/payment_methods_table.tsx
index e9ac639..03fe473 100644
--- a/src/components/payment_methods_table.tsx
+++ b/src/components/payment_methods_table.tsx
@@ -7,10 +7,16 @@ export default function PaymentMethodsTable({ payment_methods }) {
);
return(
- <div className="my-2 w-4/5 relative overflow-x-auto">
+ <div className="my-4 w-4/5 relative overflow-x-auto">
<h1 className="text-2xl my-2">
Métodos de pago
</h1>
+ <div className="absolute top-0 right-0">
+ <a type="button" className="focus:outline-none text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800"
+ href="/account/cards/new">
+ Nuevo método de pago
+ </a>
+ </div>
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400">
<thead className="bg-blue-arma text-xs text-white uppercase dark:bg-gray-700 dark:text-gray-400">
<tr>