Skip to content

Commit

Permalink
link removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Jul 3, 2024
1 parent 03b3313 commit d3fc88f
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 25 deletions.
20 changes: 10 additions & 10 deletions blocks/applyloanform/applyloantemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function appplyLoanTemplate() {
<input class="cmp-form-text__text" type="text" id="form-loan-type"
placeholder="${properties.loanTypePlaceholder}" readonly autocomplete="off">
<span class="arrowimage"><img class="lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage">
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage">
</span>
</div>
<div class="option-form-parent">
Expand Down Expand Up @@ -183,11 +183,11 @@ export function appplyLoanTemplate() {
<span
class="cmp-form-options__field-description">${properties.firstCheckText}</span>
<img id="" class="icon coloricon lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/salaried-after-selected-icon.svg
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/salaried-after-selected-icon.svg
"
alt="salaried-after-selected-icon">
<img id="" class="icon blackicon lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/salaried-before-selected-icon.svg"
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/salaried-before-selected-icon.svg"
alt="salaried-before-selected-icon">
</div>
Expand All @@ -203,10 +203,10 @@ export function appplyLoanTemplate() {
id="radio-business" name="emplyoment" type="radio">
<span class="cmp-form-options__field-description">${properties.secondCheckText}</span>
<img id="" class="icon coloricon lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/business-loan-after-selected-icon.svg"
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/business-loan-after-selected-icon.svg"
alt="business-loan-after-selected-icon">
<img id="" class="icon blackicon lozad"
data-src=" /content/dam/piramalfinance/product-page/home-loan/business-loan-before-selcted-icon.svg"
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/business-loan-before-selcted-icon.svg"
alt="business-loan-before-selcted-icon">
</div>
</label>
Expand All @@ -230,7 +230,7 @@ export function appplyLoanTemplate() {
<input class="cmp-form-text__text dobclass" type="text" placeholder="${properties.datePickerPlaceholder}"
id="loan-form-dob" name="text" maxlength="10" autocomplete="off" data-value-type="date">
<span class="arrowimage dobarrow" id="loan-form-cal-id"><img class="lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/calendar.png" alt="dobarrow">
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/calendar.png" alt="dobarrow">
</span>
<span class="loan-form-err invalid-date-msg">
Expand All @@ -246,7 +246,7 @@ export function appplyLoanTemplate() {
<input class="cmp-form-text__text" type="text" placeholder="${properties.statePlaceholder}" autocomplete="off"
id="form-state" name="text" >
<span class="arrowimage laststate"><img class="lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage"></span>
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage"></span>
<span class="loan-form-err">
Enter Valid State
</span>
Expand All @@ -262,7 +262,7 @@ export function appplyLoanTemplate() {
<input class="cmp-form-text__text" type="text"
placeholder="${properties.branchPlaceholder}" id="form-branch-city" name="text" autocomplete="off">
<span class="arrowimage laststate"><img class="lozad"
data-src="/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage"></span>
data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/down-arrow.png" alt="arrowimage"></span>
<span class="loan-form-err">
Enter Valid branch
</span>
Expand Down Expand Up @@ -292,7 +292,7 @@ export function appplyLoanTemplate() {
<div class="loan-form-otp">
<div class="loan-form-otp-parent">
<img class="leftarrow lozad" data-src="/content/dam/piramalfinance/product-page/home-loan/back-arrow.png" alt="arrow">
<img class="leftarrow lozad" data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/back-arrow.png" alt="arrow">
<p class="otphead">${properties.verifyHead}</p>
<div class="otpsubheadcontainer">
<p class="otpsubhead">Enter the 4 digit OTP sent to <span class="otp-phone-num" id="loan-form-otpnum">7845789658</span></p>
Expand Down Expand Up @@ -358,7 +358,7 @@ export function appplyLoanTemplate() {
<p class="main-heading">${properties.errorhead}</p>
<p class="main-sub-heading">${properties.errorSubhead}</p>
<div class="redbox">
<img class= "alertimg lozad" data-src="/content/dam/piramalfinance/product-page/home-loan/error-warning.svg" alt="error-warning">
<img class= "alertimg lozad" data-src="https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/product-page/home-loan/error-warning.svg" alt="error-warning">
<P>${properties.RedBoxText}</P>
</div>
Expand Down
5 changes: 3 additions & 2 deletions blocks/applyloanform/statemasterapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
12 changes: 6 additions & 6 deletions blocks/eligibilitycalculator/eligibilitycalculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down Expand Up @@ -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",
},
],
Expand Down
12 changes: 6 additions & 6 deletions blocks/homeloancalculator/homeloancalculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down Expand Up @@ -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",
},
],
Expand Down
7 changes: 6 additions & 1 deletion styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit d3fc88f

Please sign in to comment.