From d3fc88f6853543baa47592fa06244a9929c0829b Mon Sep 17 00:00:00 2001 From: Smit Shah Date: Wed, 3 Jul 2024 17:13:46 +0530 Subject: [PATCH] link removed --- blocks/applyloanform/applyloantemplate.js | 20 +++++++++---------- blocks/applyloanform/statemasterapi.js | 5 +++-- .../eligibilitycalculator.js | 12 +++++------ .../homeloancalculator/homeloancalculator.js | 12 +++++------ styles/styles.css | 7 ++++++- 5 files changed, 31 insertions(+), 25 deletions(-) diff --git a/blocks/applyloanform/applyloantemplate.js b/blocks/applyloanform/applyloantemplate.js index 0cacf8e193..60a0de7c82 100644 --- a/blocks/applyloanform/applyloantemplate.js +++ b/blocks/applyloanform/applyloantemplate.js @@ -125,7 +125,7 @@ export function appplyLoanTemplate() { arrowimage + data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage">
@@ -183,11 +183,11 @@ export function appplyLoanTemplate() { ${properties.firstCheckText} salaried-after-selected-icon salaried-before-selected-icon
@@ -203,10 +203,10 @@ export function appplyLoanTemplate() { id="radio-business" name="emplyoment" type="radio"> ${properties.secondCheckText} business-loan-after-selected-icon business-loan-before-selcted-icon @@ -230,7 +230,7 @@ export function appplyLoanTemplate() { dobarrow + data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/calendar.png" alt="dobarrow"> @@ -246,7 +246,7 @@ export function appplyLoanTemplate() { arrowimage + data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage"> Enter Valid State @@ -262,7 +262,7 @@ export function appplyLoanTemplate() { arrowimage + data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage"> Enter Valid branch @@ -292,7 +292,7 @@ export function appplyLoanTemplate() {
- arrow + arrow

${properties.verifyHead}

Enter the 4 digit OTP sent to 7845789658

@@ -358,7 +358,7 @@ export function appplyLoanTemplate() {

${properties.errorhead}

${properties.errorSubhead}

- error-warning + error-warning

${properties.RedBoxText}

diff --git a/blocks/applyloanform/statemasterapi.js b/blocks/applyloanform/statemasterapi.js index 038c615a2a..b01ea38aa0 100644 --- a/blocks/applyloanform/statemasterapi.js +++ b/blocks/applyloanform/statemasterapi.js @@ -39,8 +39,9 @@ function statemasterGetStatesApi() { // let stateMasterGraphQLQuery = "query MyQuery { statemasterList { items { state, data } } }"; fetchAPI("GET", url) - .then(function (response) { - workFlowStatemaster(response.responseJson.data.statemasterList.items); + .then(async function (response) { + const responseJson = await response.json(); + workFlowStatemaster(responseJson.data.statemasterList.items); }) .catch(function (error) { console.warn(error); diff --git a/blocks/eligibilitycalculator/eligibilitycalculator.js b/blocks/eligibilitycalculator/eligibilitycalculator.js index f07997f550..1e72301cfc 100644 --- a/blocks/eligibilitycalculator/eligibilitycalculator.js +++ b/blocks/eligibilitycalculator/eligibilitycalculator.js @@ -26,7 +26,7 @@ export default async function decorate(block) { salariedtabname: "businessStatus", salariedtabvalue: "65", salariedtabtext: "I'm Salaried", - calculatorsalariedimg: "/content/dam/piramalfinance/product-page/home-loan/calculator-salaried.svg", + calculatorsalariedimg: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/calculator-salaried.svg", calculatorsalariedimgalt: "salaried", }, business: { @@ -35,7 +35,7 @@ export default async function decorate(block) { businesstabname: "businessStatus", businesstabvalue: "80", businesstabtext: "I'm doing Business", - calculatorbusinessimg: "/content/dam/piramalfinance/product-page/home-loan/calculator-business.svg", + calculatorbusinessimg: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/calculator-business.svg", calculatorbusinessimgalt: "business", }, selectloantype: { @@ -162,13 +162,13 @@ export default async function decorate(block) { }, ], }, - calendarbox: "/content/dam/piramalfinance/homepage/images/calc-calendarwebp", - calendarmobile: "/content/dam/piramalfinance/homepage/images/calc-calendarwebp", + calendarbox: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/images/calc-calendarwebp", + calendarmobile: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/images/calc-calendarwebp", outputtext: "Your home loan EMI is", button1text: "Talk to loan expert", - button1link: "https://www.google.com/", + button1link: "", button2text: "Apply loan now", - button2link: "https://www.google.com/", + button2link: "", pageproperties: "bl", }, ], diff --git a/blocks/homeloancalculator/homeloancalculator.js b/blocks/homeloancalculator/homeloancalculator.js index a7b16b5ba2..a96bbc4431 100644 --- a/blocks/homeloancalculator/homeloancalculator.js +++ b/blocks/homeloancalculator/homeloancalculator.js @@ -25,7 +25,7 @@ export default async function decorate(block) { salariedtabname: "employementStatus", salariedtabvalue: "80", salariedtabtext: "I'm Salaried", - calculatorsalariedimg: "/content/dam/piramalfinance/product-page/home-loan/calculator-salaried.svg", + calculatorsalariedimg: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/calculator-salaried.svg", calculatorsalariedimgalt: "salaried", }, business: { @@ -34,7 +34,7 @@ export default async function decorate(block) { businesstabname: "employementStatus", businesstabvalue: "60", businesstabtext: "I'm doing Business", - calculatorbusinessimg: "/content/dam/piramalfinance/product-page/home-loan/calculator-business.svg", + calculatorbusinessimg: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/calculator-business.svg", calculatorbusinessimgalt: "business", }, selectloantype: { @@ -135,15 +135,15 @@ export default async function decorate(block) { }, ], }, - calendarbox: "/content/dam/piramalfinance/homepage/images/calc-calendarwebp", - calendarmobile: "/content/dam/piramalfinance/homepage/images/calc-calendarwebp", + calendarbox: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/images/calc-calendarwebp", + calendarmobile: "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/images/calc-calendarwebp", outputtext: "Your home loan EMI is", principaltext: "Principal amount", interesttext: "Interest amount", button1text: "Talk to loan expert", - button1link: "https://www.google.com/", + button1link: "", button2text: "Apply loan now", - button2link: "https://www.google.com/", + button2link: "", pageproperties: "hl", }, ], diff --git a/styles/styles.css b/styles/styles.css index 371dd686e3..8d5b39245d 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -840,5 +840,10 @@ main .section.highlight { .teaser.block { overflow: visible; - ; +} + +body.overlay-active { + position: fixed; + background-color: rgba(0, 0, 0, 0.5); + z-index: 1111; } \ No newline at end of file