From 44a016256717b871ada858d5dc064d9d0e06425e Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Thu, 18 May 2023 22:04:52 -0600
Subject: Añade creación de direcciones
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/components/addresses_table.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/components/addresses_table.tsx')

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>
-- 
cgit v1.2.3

