From 4f62410e6d1ef3768e168d711cc293e72b2f09c5 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 28 Jul 2025 21:56:11 -0400 Subject: [PATCH] SUB PAGE --- src/component/subscription/Subscription.jsx | 87 +++++++-------------- 1 file changed, 30 insertions(+), 57 deletions(-) diff --git a/src/component/subscription/Subscription.jsx b/src/component/subscription/Subscription.jsx index 84803c4..999d95c 100644 --- a/src/component/subscription/Subscription.jsx +++ b/src/component/subscription/Subscription.jsx @@ -1,10 +1,18 @@ import React from 'react' import BreadcrumbComBS from "../breadcrumb/BreadcrumbComBS"; +import getImage from "../../utils/getImage"; export default function Subscription() { + + const pricingFields ={ + starter: { name: 'Starter', price: 5.99, active: true }, + basic: { name: 'Basic', price: 12.99, active: true }, + premium: { name: 'Premium', price: 20.00, active: true }, + } + return ( <> - + @@ -21,66 +29,31 @@ export default function Subscription() { -
-
-
-
-
Premium
-

$150

-

/ Monthly

-
    -
  • post jobs
  • -
  • advanced instructors search
  • -
  • invite candidates
  • -
  • post events
  • -
  • cancel any time
  • -
- + <> + {Object.entries(pricingFields)?.map(([key, value]) => ( + +
+
+
+
+
{value.name}
+

${value.price}

+

/ Monthly

+
    +
  • post jobs
  • +
  • advanced instructors search
  • +
  • invite candidates
  • +
  • post events
  • +
  • cancel any time
  • +
+ +
-
- -
-
-
-
-
basic
-

$130

-

/ Monthly

-
    -
  • post jobs
  • -
  • advanced instructors search
  • -
  • invite candidates
  • -
  • post events
  • -
  • cancel any time
  • -
- -
-
-
-
- -
-
-
-
-
starter
-

$100

-

/ Monthly

-
    -
  • post jobs
  • -
  • advanced instructors search
  • -
  • invite candidates
  • -
  • post events
  • -
  • cancel any time
  • -
- -
-
-
-
+ ))} +