From 44f3d8783d5d6ebc193b55e4fdd14e3b26883afa Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Sat, 13 Dec 2025 09:54:02 +0530 Subject: [PATCH] Adding additional fields in landing subscription cards. --- src/pages/Home/SubscriptionPlans.jsx | 93 +++++++++++++++++++++------- 1 file changed, 72 insertions(+), 21 deletions(-) diff --git a/src/pages/Home/SubscriptionPlans.jsx b/src/pages/Home/SubscriptionPlans.jsx index 59ef4a7e..6c47826b 100644 --- a/src/pages/Home/SubscriptionPlans.jsx +++ b/src/pages/Home/SubscriptionPlans.jsx @@ -9,7 +9,7 @@ const SubscriptionPlans = () => { const [frequency, setFrequency] = useState(1); const { data, isLoading, isError, error } = useSubscription(frequency); const [loading, setLoading] = useState(false); - + console.log(data); const frequencyLabel = (freq) => { switch (freq) { case 0: @@ -35,9 +35,8 @@ const SubscriptionPlans = () => { + + +
+
+ {mod.features && mod.features.length > 0 ? ( +
    + {mod.features.map((feat) => ( +
  • + + + {feat.name} +
  • + ))} +
+ ) : ( +

+ No additional features +

+ )} +
+
+ + ); + })} + + + {/* Button */}