diff --git a/src/component/home/ProductsURL.jsx b/src/component/home/ProductsURL.jsx index baafc4e..12e8288 100644 --- a/src/component/home/ProductsURL.jsx +++ b/src/component/home/ProductsURL.jsx @@ -53,7 +53,7 @@ export default function ProductsURL() { {urlData && urlData.map((item, index) => { - let statusColor = item?.status == 'Active' ? 'badge-success-inverse' : item?.status == 'Updating' ? 'badge-success-inverse' : item?.status == 'Refreshing' ? 'badge-danger-inverse' : 'badge-info-inverse' + let statusColor = item?.status === 'Preparing' ? 'badge-success-inverse' : item?.status === 'Active' ? 'badge-success-inverse' : item?.status == 'Refreshing' ? 'badge-danger-inverse' : 'badge-info-inverse' return ( {Number(item?.no) + Number(index)} diff --git a/src/component/product/ProductProvision.jsx b/src/component/product/ProductProvision.jsx index a2e9aaa..f4adb06 100644 --- a/src/component/product/ProductProvision.jsx +++ b/src/component/product/ProductProvision.jsx @@ -1,6 +1,8 @@ import getImage from "../../utils/getImage"; -export default function ProductProvision(){ +export default function ProductProvision(props){ + const productTitle = props.productData?.title; + const productDescription = props.productData?.description; return <>
@@ -8,7 +10,7 @@ export default function ProductProvision(){
-

Creating - Your personal professional web

+

Creating - {productTitle}

@@ -71,15 +73,12 @@ export default function ProductProvision(){
+

Started creating your selection

Card image cap
- {/*

Commitment

*/} -

Commitment is something that comes from understanding that - everything has its price and then having the willingness to pay that price. This is - important because nobody wants to put significant effort into something, only to - find out after the fact that the price was too high.The price is something not - necessarily defined as financial. It could be time, effort, sacrifice, money or - perhaps, something else.

+

+ {productDescription} +

diff --git a/src/constants/products.js b/src/constants/products.js index 44ccbc9..6742e1e 100644 --- a/src/constants/products.js +++ b/src/constants/products.js @@ -2,4 +2,5 @@ export const productConst = { PRODUCT_AVAILABLE: 5, PRODUCT_PROVISIONING: 6, PRODUCT_ACTIVE: 7, + PRODUCT_DEACTIVATED: 9, }; \ No newline at end of file