summaryrefslogtreecommitdiff
path: root/src/components/addresses_table.tsx
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-18 22:04:52 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-18 22:04:52 -0600
commit44a016256717b871ada858d5dc064d9d0e06425e (patch)
tree008bb13cc1b10355f335e24e46d0d74e85669364 /src/components/addresses_table.tsx
parent2cc3bd2a5ab71ced121ea6e8fef3be5db2b98e4f (diff)
Añade creación de direcciones
Diffstat (limited to 'src/components/addresses_table.tsx')
-rw-r--r--src/components/addresses_table.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/addresses_table.tsx b/src/components/addresses_table.tsx
index ae46f21..ea7d840 100644
--- a/src/components/addresses_table.tsx
+++ b/src/components/addresses_table.tsx
@@ -10,6 +10,12 @@ export default function AddressesTable({ addresses }) {
<h1 className="text-2xl my-2">
Direcciones de envío
</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/addresses/new">
+ Nueva dirección
+ </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>