From 21508a3514500f8f38ddaa8bef7a9cd420d76628 Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Mon, 22 May 2023 21:18:20 -0600
Subject: Añade carrito
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/routes/account/cards/create.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 src/routes/account/cards/create.tsx

(limited to 'src/routes/account/cards/create.tsx')

diff --git a/src/routes/account/cards/create.tsx b/src/routes/account/cards/create.tsx
new file mode 100644
index 0000000..9779ef2
--- /dev/null
+++ b/src/routes/account/cards/create.tsx
@@ -0,0 +1,18 @@
+import { useActionData } from "react-router-dom";
+import CardForm from "../../../components/forms/card_form";
+import MainContentLayout from "../../../components/main_content_layout";
+
+export function Create() {
+  const errors = useActionData();
+
+  return (
+    <MainContentLayout>
+      <div className="w-4/5 my-6">
+        <h1 className="my-6 text-3xl">
+          Nuevo método de pago
+        </h1>
+        <CardForm errors={errors}/>
+      </div>
+    </MainContentLayout>
+  );
+}
\ No newline at end of file
-- 
cgit v1.2.3

