diff --git a/src/AppRouters.jsx b/src/AppRouters.jsx index 58c62e4..c8f414d 100644 --- a/src/AppRouters.jsx +++ b/src/AppRouters.jsx @@ -20,6 +20,7 @@ import SocketIOContextProvider from './component/context/SocketIOContext'; import CSignupPage from './views/CSignupPage'; import HelpPage from './views/HelpPage'; import SubscriptionPage from './views/SubscriptionPage'; +import OnboardPage from "./views/OnboardPage"; function AppRouters() { @@ -47,6 +48,7 @@ function AppRouters() { } /> } /> } /> + } /> } /> } /> } /> diff --git a/src/component/layout/layoutcom/UserHeader.jsx b/src/component/layout/layoutcom/UserHeader.jsx index 8fff895..acc4232 100644 --- a/src/component/layout/layoutcom/UserHeader.jsx +++ b/src/component/layout/layoutcom/UserHeader.jsx @@ -90,8 +90,8 @@ export default function UserHeader(){
- - Users + + Subscription Contacts 6 diff --git a/src/component/layout/layoutcom/UserMenu.jsx b/src/component/layout/layoutcom/UserMenu.jsx index 9898be2..8e1090c 100644 --- a/src/component/layout/layoutcom/UserMenu.jsx +++ b/src/component/layout/layoutcom/UserMenu.jsx @@ -48,7 +48,7 @@ export default function UserMenu() {
    -
  • Users
  • +
  • Subscription
  • Settings
diff --git a/src/component/onboard/Onboard.jsx b/src/component/onboard/Onboard.jsx new file mode 100644 index 0000000..24be7ef --- /dev/null +++ b/src/component/onboard/Onboard.jsx @@ -0,0 +1,71 @@ +import React from 'react' +import BreadcrumbComBS from "../breadcrumb/BreadcrumbComBS"; +import getImage from "../../utils/getImage"; + +export default function Onboard() { + + 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 ( + <> + + + + +
+
+
+
+
+
Current Subscription(s)
+

Basic

+ {/*

/ 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
  • +
+ +
+
+
+
+ + ))} + + +
+ + + ) +} diff --git a/src/links/siteLinks.js b/src/links/siteLinks.js index f3c005a..4155179 100644 --- a/src/links/siteLinks.js +++ b/src/links/siteLinks.js @@ -8,6 +8,7 @@ const siteLinks = { comments: '/comments', reports: '/reports', subscription: '/subscription', + onboard: '/subscription', user: '/user', calendar: '/calendar', settings: '/settings', diff --git a/src/views/OnboardPage.jsx b/src/views/OnboardPage.jsx new file mode 100644 index 0000000..40d08dd --- /dev/null +++ b/src/views/OnboardPage.jsx @@ -0,0 +1,7 @@ + +import Onboard from '../component/onboard/Onboard'; + + +export default function OnboardPage(){ + return +} \ No newline at end of file