From d2697f3962abaee75c2c54b4a8e8a5903e14d0eb Mon Sep 17 00:00:00 2001 From: Duvan Serrano Rojas Date: Mon, 11 Sep 2023 19:29:49 -0500 Subject: [PATCH 1/2] cambio de los componentes a como estan en figma --- src/assets/icons/CardCredit.tsx | 6 ++-- src/assets/icons/Shield.tsx | 2 +- src/assets/icons/Truck.tsx | 2 +- src/components/paymentMethod/payMethod.tsx | 16 +++++----- .../paymentMethod/paymentMethodsList.tsx | 29 +++++-------------- 5 files changed, 22 insertions(+), 33 deletions(-) diff --git a/src/assets/icons/CardCredit.tsx b/src/assets/icons/CardCredit.tsx index 4f39358..b806366 100644 --- a/src/assets/icons/CardCredit.tsx +++ b/src/assets/icons/CardCredit.tsx @@ -5,13 +5,15 @@ export default function CardCredit() { ); diff --git a/src/assets/icons/Shield.tsx b/src/assets/icons/Shield.tsx index d4cf638..066536d 100644 --- a/src/assets/icons/Shield.tsx +++ b/src/assets/icons/Shield.tsx @@ -6,7 +6,7 @@ export default function Shield() { xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" - stroke="currentColor" + stroke="#8C0303" > = ({ imageSrc, title, - link, + description }) => { return ( -
- - -
{title}
-
+
+
+ +
+

{title}

+
{description}
); }; diff --git a/src/components/paymentMethod/paymentMethodsList.tsx b/src/components/paymentMethod/paymentMethodsList.tsx index ccd6fcf..418ae48 100644 --- a/src/components/paymentMethod/paymentMethodsList.tsx +++ b/src/components/paymentMethod/paymentMethodsList.tsx @@ -4,38 +4,23 @@ import PaymentMethod from './payMethod'; const PaymentMethodsComponent: React.FC = () => { return ( <> -
-
-
+
+
+
- - -
From be7914e60518c5ebe163fe788bc4160abe58ac43 Mon Sep 17 00:00:00 2001 From: Duvan Serrano Rojas Date: Mon, 11 Sep 2023 19:44:42 -0500 Subject: [PATCH 2/2] Modo responsive listo --- src/components/paymentMethod/payMethod.tsx | 2 +- src/components/paymentMethod/paymentMethodsList.tsx | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/paymentMethod/payMethod.tsx b/src/components/paymentMethod/payMethod.tsx index 1657451..bb1911f 100644 --- a/src/components/paymentMethod/payMethod.tsx +++ b/src/components/paymentMethod/payMethod.tsx @@ -13,7 +13,7 @@ const PaymentMethod: React.FC = ({ description }) => { return ( -
+
diff --git a/src/components/paymentMethod/paymentMethodsList.tsx b/src/components/paymentMethod/paymentMethodsList.tsx index 418ae48..1c148dc 100644 --- a/src/components/paymentMethod/paymentMethodsList.tsx +++ b/src/components/paymentMethod/paymentMethodsList.tsx @@ -4,9 +4,7 @@ import PaymentMethod from './payMethod'; const PaymentMethodsComponent: React.FC = () => { return ( <> -
-
-
+
{ description="trud nisi nostrud nostrud incididunt fugiat. Enim nostrud tempor cillum ea velit." />
-
-
); };