-
+
-
+
diff --git a/blocks/emiandeligiblitycalc/templatehtml2.js b/blocks/emiandeligiblitycalc/templatehtml2.js
deleted file mode 100644
index c7320cf6fd..0000000000
--- a/blocks/emiandeligiblitycalc/templatehtml2.js
+++ /dev/null
@@ -1,274 +0,0 @@
-export function CalcHTM2(callJson) {
- const salaried = callJson.data[0].salaried.salariedcheck
- ? `
-
-
-
-
-
-
-
-
-
-
-
-
-`
- : "";
-
- const business = callJson.data[0].business.businesscheck
- ? `
-
-
-
-
-
-
-
-
-
-
-
-
-
- `
- : "";
-
-let emiinputdiv = "";
- callJson.data[0]["chechboxemiobj"]["chechboxemi"] &&
- callJson.data[0]["chechboxemiobj"].loanamout.forEach(function (each, index) {
- emiinputdiv += `
-
-
-
-
-
- ${each.rupeesign}
-
-
-
-
- ${each.labelyearsvalue}
-
-
-
-
-
-
- ${each.minvaluetext}
- ${each.maxvaluetext}
-
-
-
`;
- });
-
-let eligibilityinputdiv = "";
- callJson.data[0]["chechboxelibilityobj"]["chechboxemi"] &&
- callJson.data[0]["chechboxelibilityobj"].loanamout.forEach(function (each, index) {
- eligibilityinputdiv += `
-
-
-
-
-
- ${each.rupeesign}
-
-
-
-
- ${each.labelyearsvalue}
-
-
-
-
-
-
- ${each.minvaluetext}
- ${each.maxvaluetext}
-
-
-
`;
- });
-
- const rightSideAmount = callJson.data[0].principaltext
- ? `
-
-
${callJson.data[0].principaltext}
-
₹25,00,000
-
-
-
-
${callJson.data[0].interesttext}
-
₹16,32,560
-
-
-
`
- : "";
-
- const emidiv = callJson.data[0].chechboxemiobj.chechboxemi
- ? `
-
-
-
- ${emiinputdiv}
-
-
-
-
-
-
-
-
- ${callJson.data[0].outputtext}
-
-
₹34,438/-
-
-
-
- ${rightSideAmount}
-
-
-
-
-
`
- : "";
-
-
-const eligibilitydiv = callJson.data[0].chechboxelibilityobj.chechboxemi
- ? `
-
-
-
- ${eligibilityinputdiv}
-
-
-
-
-
-
-
-
- ${callJson.data[0].outputtext}
-
-
₹34,438/-
-
-
-
- ${rightSideAmount}
-
-
-
-
-
`
- : "";
-
- return `
-
-
-
-
-
${callJson.data[0].title}
-
-
-
-
-
-
-
-
- ${salaried}
-
- ${business}
-
-
-
-
-
-
-
-
-
-
${callJson.data[0].selectloantype.subheading}
-
${callJson.data[0].selectloantype.subheadingtow}
-
-
-
-
-
- -
-
${callJson.data[0].tabname.firsttabbname}
-
-
- -
-
${callJson.data[0].tabname.secondtabbname}
-
-
- -
-
${callJson.data[0].tabname.thridtabname}
-
-
-
-
-
-
-
-
- ${emidiv}
- ${eligibilitydiv}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- `;
-}
diff --git a/blocks/header/header.css b/blocks/header/header.css
index ffcb49f202..beb0010eb0 100644
--- a/blocks/header/header.css
+++ b/blocks/header/header.css
@@ -871,19 +871,20 @@ header nav .nav-sections .default-content-wrapper > ul > li > ul::before {
display: none;
position: absolute;
top: 100%;
- overflow-y: auto;
overflow-x: hidden;
- height: calc(100vh - 35px);
left: 0;
- background-color: rgb(250 250 250);
width: 100%;
+ background-color: #fff;
+ height: calc(100vh - 52px);
+ overflow-y: scroll;
+ position: absolute;
+ top: 66px;
+ transform: translateX(0);
}
.section.mobile-view-header .code-wrapper .code div div h2{
align-items: center;
color: #333;
cursor: pointer;
- display: -webkit-box;
- display: -ms-flexbox;
display: flex;
font-family: Nunito-Bold, sans-serif;
font-size: 1pc;
@@ -894,10 +895,185 @@ header nav .nav-sections .default-content-wrapper > ul > li > ul::before {
padding: 1pc 0;
width: 100%;
}
- .section.mobile-view-header .code-wrapper .code div div h2{
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(1),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(2),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(3),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(4),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(1),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(2),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(3),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(4),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(1),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(2),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(3),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(4),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(1),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(2),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(3),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(4),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(1),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(2),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(3),
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(4){
+ border-bottom: 1px solid #e6e6e6;
+ margin: unset;
+ display: flex;
+ flex-direction: column;
+ position: relative;
+ }
+
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(1).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(2).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(3).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(4).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(1).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(2).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(3).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(4).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(1).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(2).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(3).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(4).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(1).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(2).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(3).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(4).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(1).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(2).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(3).active span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(4).active span{
+ color: #f26841;
}
+
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(1) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(2) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(3) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(4) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(1) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(2) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(3) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(4) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(1) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(2) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(3) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(4) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(1) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(2) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(3) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(4) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(1) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(2) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(3) span,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(4) span{
+ /* color: #212529; */
+ font-size: 14px;
+ line-height: 20px;
+ padding-left: 8px;
+ font-family: Nunito-Bold, sans-serif;
+ text-decoration: none;
+ padding: 16px 0;
+ display: flex;
+ gap: 8px;
+ }
+
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(1)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(2)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(3)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) li:nth-child(4)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) li:nth-child(3)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(1)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(2)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(3)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(3) li:nth-child(4)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(1)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(2)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(3)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) li:nth-child(4)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(1)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(2)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(3)::after,
+ .section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(4)::after{
+ position: absolute;
+ content: '';
+ border: solid black;
+ border-width: 0 2px 2px 0;
+ display: inline-block;
+ padding: 3.5px;
+ margin-top: -3px;
+ transform: rotate(45deg);
+ right: 3px;
+ top: 24px;
+}
+
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) > li:nth-child(1) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) > li:nth-child(2) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) > li:nth-child(3) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(6) > li:nth-child(4) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) > li:nth-child(1) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) > li:nth-child(2) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) > li:nth-child(3) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(4) > li:nth-child(4) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) > li:nth-child(4) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) > li:nth-child(3) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) > li:nth-child(2) > ul,
+.section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) > li:nth-child(1) > ul{
+ display: none;
+ padding-left: 19px;
}
+/* .section.mobile-view-header .code-wrapper .code div div ul:nth-child(2) > li:nth-child(1) > ul > li:nth-child(1){
+ margin-bottom: 1pc;
+} */
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(6) > li:nth-child(1) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(6) > li:nth-child(2) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(6) > li:nth-child(3) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(6) > li:nth-child(4) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(4) > li:nth-child(1) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(4) > li:nth-child(2) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(4) > li:nth-child(3) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(4) > li:nth-child(4) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(3) > li:nth-child(1) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(3) > li:nth-child(2) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(3) > li:nth-child(3) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(3) > li:nth-child(4) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(2) > li:nth-child(1) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(2) > li:nth-child(2) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(2) > li:nth-child(3) > ul li,
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(2) > li:nth-child(4) > ul li{
+ border-bottom: unset;
+ padding: 0 0 16px;
+ position: unset;
+ color: #212529;
+ font-family: Nunito-Regular, sans-serif;
+ font-size: 14px;
+ line-height: 20px;
+ padding-left: 5px;
+}
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(4) > li:nth-child(1) > span{
+ position: relative;
+ gap: 19%;
+}
+.section.mobile-view-header .code-wrapper .code div > div > ul:nth-child(4) > li:nth-child(1) > span::before{
+ position: absolute;
+ content: 'FREE';
+ line-height: 24px;
+ align-items: center;
+ background-color: #41c66e;
+ border-radius: 4px;
+ color: #fff;
+ cursor: pointer;
+ display: flex;
+ font-family: Nunito-Bold, sans-serif;
+ font-size: 12px;
+ height: 16px;
+ width: 32px;
+ padding: 1px 7px 1px 7px;
+ text-decoration: none;
+ left: 8%;
+ bottom: 32%;
+}
+}
+
/* header mobile */
diff --git a/blocks/header/header.js b/blocks/header/header.js
index 22131faf5c..afa52456b8 100644
--- a/blocks/header/header.js
+++ b/blocks/header/header.js
@@ -141,7 +141,10 @@ export default async function decorate(block) {
hamburger.innerHTML = `
`;
- hamburger.addEventListener('click', () => toggleMenu(nav, navSections));
+ hamburger.addEventListener('click', (e) => {
+ toggleMenu(nav, navSections)
+ hamburgerHandler(e);
+ });
nav.prepend(hamburger);
nav.setAttribute('aria-expanded', 'false');
// prevent mobile nav behavior on window resize
@@ -192,25 +195,25 @@ function clickToBlurHeader() {
}
function clickToShowMobileNavDropDown(){
- // Select the element to be clicked
- var elementToClick = document.querySelector('.section.mobile-view-header .code-wrapper .code div ul li:nth-child(2) ul:nth-child(1)');
-
- // Add click event listener to toggle display of another element
- elementToClick.addEventListener('click', function() {
- // Select the element whose display you want to toggle
- var elementToToggle = document.querySelector('.section.mobile-view-header .code-wrapper .code div ul li:nth-child(2) ul:nth-child(2)');
- var afterArrow = document.querySelector('.section.mobile-view-header .code-wrapper .code div div ul:nth-child(1) li:nth-child(2) ul:nth-child(1) li::after')
-
- if (elementToToggle.style.display === 'none') {
- elementToToggle.style.display = 'block';
- var borderbtm = document.querySelector('.section.mobile-view-header .code-wrapper .code div ul li:nth-child(2) ul:nth-child(1)');
- borderbtm.style.borderBottom = 'unset';
- afterArrow.style.transform = 'rotate(225deg)';
- } else {
- elementToToggle.style.display = 'none';
- var borderbtm = document.querySelector('.section.mobile-view-header .code-wrapper .code div ul li:nth-child(2) ul:nth-child(1)');
- borderbtm.style.borderBottom = '1px solid #e6e6e6';
- afterArrow.style.transform = 'rotate(45deg)';
- }
- });
+ var clickDropDownList = document.querySelectorAll("#nav > div.section.mobile-view-header.page-container.code-container > div > div > div > div > ul > li")
+ clickDropDownList.forEach(function (eachList) {
+ eachList.addEventListener('click',function (e) {
+ var ulElement = eachList.querySelector('ul');
+ if (ulElement.style.display === 'block') {
+ ulElement.style.display = 'none';
+ this.classList.remove('active')
+ } else {
+ ulElement.style.display = 'block';
+ this.classList.add('active')
+ }
+ })
+})
+}
+
+function hamburgerHandler(e){
+ if(e.target.parentNode.getAttribute('aria-label') == "Close navigation"){
+ document.querySelector('.section.mobile-view-header').style.display = 'block';
+ }else if(e.target.parentNode.getAttribute('aria-label') == "Open navigation"){
+ document.querySelector('.section.mobile-view-header').style.display = 'none';
+ }
}
\ No newline at end of file
diff --git a/blocks/homeloancalculator/homeloancalculator.js b/blocks/homeloancalculator/homeloancalculator.js
index 7806ef2015..a7b16b5ba2 100644
--- a/blocks/homeloancalculator/homeloancalculator.js
+++ b/blocks/homeloancalculator/homeloancalculator.js
@@ -6,9 +6,9 @@ import { targetObject } from "../../scripts/scripts.js";
let calculatorType, emiCalDiv, emiOverlay, overlay;
-export default function decorate(block) {
+export default async function decorate(block) {
let cfURL = block.querySelector("a")?.textContent.trim();
- // const cfRepsonse = CFApiCall(cfURL);
+ // const cfRepsonse = await CFApiCall(cfURL);
const callJson = {
total: 1,
@@ -141,7 +141,9 @@ export default function decorate(block) {
principaltext: "Principal amount",
interesttext: "Interest amount",
button1text: "Talk to loan expert",
+ button1link: "https://www.google.com/",
button2text: "Apply loan now",
+ button2link: "https://www.google.com/",
pageproperties: "hl",
},
],
diff --git a/blocks/tab-name/tab-name.js b/blocks/tab-name/tab-name.js
index 0dd056d060..8924f51cd7 100644
--- a/blocks/tab-name/tab-name.js
+++ b/blocks/tab-name/tab-name.js
@@ -72,6 +72,14 @@ export function generateTabName(block) {
currentEl.classList.add("active");
currentEl.closest(".carousel-item")?.classList.add("active");
}
+ if (document.querySelector(".section.tab-with-cards-wrapper .tab-name-wrapper")) {
+ if (!(document.querySelector(".section.partnerships-cards-wrapper").classList.contains(id) && currentEl.classList.contains("active"))) {
+ document.querySelector(".section.partnerships-cards-wrapper").classList.add("dp-none");
+ }
+ else {
+ document.querySelector(".section.partnerships-cards-wrapper").classList.remove("dp-none")
+ }
+ }
})
return block;
}
diff --git a/blocks/testimonial/testimonial.js b/blocks/testimonial/testimonial.js
index a0e317b772..744df5d6ba 100644
--- a/blocks/testimonial/testimonial.js
+++ b/blocks/testimonial/testimonial.js
@@ -10,79 +10,83 @@ export default async function decorate(block) {
block.classList.add(classess);
try {
const resp = await fetchAPI("GET", url)
+ const data = await resp.json();
+
+ const cards = renderHelper(
+ // [
+ // {
+ // ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row",
+ // "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/ch-maruthi-prasad.webp",
+ // "customerDetails": "I was very much delighted with the way the loan was disbursed. I would like to also thank for the quickest response by Piramal Finance executive. The loan was disbursed in a week’s time in a hassle free manner.",
+ // "customerDetailsClass": "",
+ // "customerName": "CH Maruthi Prasad",
+ // "customerNameClass": "",
+ // "customerProfession": "VT Engineering, Indore",
+ // "customerProfessionClass": "",
+ // "customerId": "customer5",
+ // "customerClass": "customerclassfive"
+ // },
+ // {
+ // ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_1912225365",
+ // "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/dileep-s.webp",
+ // "customerDetails": "Appreciate the efforts of Piramal Finance for quick and smooth processing of my Loan Against Property. Piramal Finance team understood my requirements and explained the process, product details and required document list. Piramal Finance was helpful in every step and gave me quick loan sanction. Thank you Piramal Finance.",
+ // "customerDetailsClass": "",
+ // "customerName": "Dileep S",
+ // "customerNameClass": "",
+ // "customerProfession": "Peenya",
+ // "customerProfessionClass": "",
+ // "customerId": "customer3",
+ // "customerClass": "customerclassthree"
+ // },
+ // {
+ // ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_557713100",
+ // "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/mohd-irshad-ansari.webp",
+ // "customerDetails": "I have availed Loan From Piramal Finance for Business Expansion. I was attended with utmost professional attitude and perfection. Piramal Finance very patiently answered all my queries and resolved all doubts. Once again, thanks a lot for serving my needs with such warmth.",
+ // "customerDetailsClass": "",
+ // "customerName": "Mohd Irshad Ansari",
+ // "customerNameClass": "",
+ // "customerProfession": "VT Engineering, Indore",
+ // "customerProfessionClass": "",
+ // "customerId": "customer4",
+ // "customerClass": "customerclassfour"
+ // },
+ // {
+ // ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_1116482712",
+ // "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/nirmal-dand.webp",
+ // "customerDetails": "We are in the business of financial planning but the day I finalized my property, I needed to get a loan I found Piramal Finance to be the best option. They cater to all the requirements of their customers and helped me at every single step to get a business loan.",
+ // "customerDetailsClass": "",
+ // "customerName": "Nirmal Dand",
+ // "customerNameClass": "",
+ // "customerProfession": "Financial Planner",
+ // "customerProfessionClass": "",
+ // "customerId": "customer2",
+ // "customerClass": "customerclasstwo"
+ // },
+ // {
+ // ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_1065156299",
+ // "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/uday-biradar.webp",
+ // "customerDetails": "I and my family were planning on buying a new home for which we needed a loan and I chose Piramal Capital & Housing Finance. From collecting documents to guiding me at every step, Piramal has been a strong support system through the process.",
+ // "customerDetailsClass": "",
+ // "customerName": "Uday Biradar",
+ // "customerNameClass": "",
+ // "customerProfession": "Software Director",
+ // "customerProfessionClass": "",
+ // "customerId": "customer1",
+ // "customerClass": "customerclassone"
+ // }
+ // ]
+ data.data
+ , customerCard)
+
+ block.innerHTML = renderHelper([
+ {
+ ribbononeimg, ribbontwoimg, ribbonthreeimg, ribbonfourimg, cards
+ }
+ ], customerTemplate);
} catch (error) {
console.warn(error);
}
- const cards = renderHelper([
- {
- ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row",
- "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/ch-maruthi-prasad.webp",
- "customerDetails": "I was very much delighted with the way the loan was disbursed. I would like to also thank for the quickest response by Piramal Finance executive. The loan was disbursed in a week’s time in a hassle free manner.",
- "customerDetailsClass": "",
- "customerName": "CH Maruthi Prasad",
- "customerNameClass": "",
- "customerProfession": "VT Engineering, Indore",
- "customerProfessionClass": "",
- "customerId": "customer5",
- "customerClass": "customerclassfive"
- },
- {
- ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_1912225365",
- "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/dileep-s.webp",
- "customerDetails": "Appreciate the efforts of Piramal Finance for quick and smooth processing of my Loan Against Property. Piramal Finance team understood my requirements and explained the process, product details and required document list. Piramal Finance was helpful in every step and gave me quick loan sanction. Thank you Piramal Finance.",
- "customerDetailsClass": "",
- "customerName": "Dileep S",
- "customerNameClass": "",
- "customerProfession": "Peenya",
- "customerProfessionClass": "",
- "customerId": "customer3",
- "customerClass": "customerclassthree"
- },
- {
- ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_557713100",
- "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/mohd-irshad-ansari.webp",
- "customerDetails": "I have availed Loan From Piramal Finance for Business Expansion. I was attended with utmost professional attitude and perfection. Piramal Finance very patiently answered all my queries and resolved all doubts. Once again, thanks a lot for serving my needs with such warmth.",
- "customerDetailsClass": "",
- "customerName": "Mohd Irshad Ansari",
- "customerNameClass": "",
- "customerProfession": "VT Engineering, Indore",
- "customerProfessionClass": "",
- "customerId": "customer4",
- "customerClass": "customerclassfour"
- },
- {
- ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_1116482712",
- "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/nirmal-dand.webp",
- "customerDetails": "We are in the business of financial planning but the day I finalized my property, I needed to get a loan I found Piramal Finance to be the best option. They cater to all the requirements of their customers and helped me at every single step to get a business loan.",
- "customerDetailsClass": "",
- "customerName": "Nirmal Dand",
- "customerNameClass": "",
- "customerProfession": "Financial Planner",
- "customerProfessionClass": "",
- "customerId": "customer2",
- "customerClass": "customerclasstwo"
- },
- {
- ":path": "https://publish-p133703-e1305981.adobeaemcloud.com/content/piramalfinance-edge/cf/happy-customer/jcr:content/row_1065156299",
- "customerImage": "https://publish-p133703-e1305981.adobeaemcloud.com/content/dam/piramalfinance/homepage/testimonials/uday-biradar.webp",
- "customerDetails": "I and my family were planning on buying a new home for which we needed a loan and I chose Piramal Capital & Housing Finance. From collecting documents to guiding me at every step, Piramal has been a strong support system through the process.",
- "customerDetailsClass": "",
- "customerName": "Uday Biradar",
- "customerNameClass": "",
- "customerProfession": "Software Director",
- "customerProfessionClass": "",
- "customerId": "customer1",
- "customerClass": "customerclassone"
- }
- ], customerCard)
-
- block.innerHTML = renderHelper([
- {
- ribbononeimg, ribbontwoimg, ribbonthreeimg, ribbonfourimg, cards
- }
- ], customerTemplate);
-
function rotateData() {
const customerDivs = document.querySelectorAll('.customer-info');
const customerDataArray = [];
diff --git a/paths.json b/paths.json
index de756b5d32..0be676fc21 100644
--- a/paths.json
+++ b/paths.json
@@ -7,6 +7,8 @@
"/content/piramalfinance-eds/home-eligi-calc:/home-eligi-calc.json",
"/content/piramalfinance-eds/lead-form:/lead-form.json",
"/content/piramalfinance-eds/home-loan-cities:/home-loan-cities.json",
+ "/content/piramalfinance-eds/personal-loan-city:/personal-loan-city.json",
+ "/content/piramalfinance-eds/bussiness-loan-city:/bussiness-loan-city.json",
"/content/piramalfinance-eds/test:/test.json"
]
}
diff --git a/scripts/scripts.js b/scripts/scripts.js
index 0bcce07344..ed8b599535 100644
--- a/scripts/scripts.js
+++ b/scripts/scripts.js
@@ -417,7 +417,7 @@ async function loadingCustomCss() {
let body = document.querySelector("body");
body?.addEventListener("click", function (e) {
- e.stopImmediatePropagation();
+ // e.stopImmediatePropagation();
if (!e.target.closest(".show") && targetObject.model) {
targetObject.model?.querySelector(".overlayDiv").classList.remove("show");
document.body.style.overflow = "scroll";
diff --git a/styles/company-details/company-details.css b/styles/company-details/company-details.css
index 343d7aff7a..44d0b8347b 100644
--- a/styles/company-details/company-details.css
+++ b/styles/company-details/company-details.css
@@ -96,6 +96,18 @@
@media screen and (max-width:1024px) {
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block {
+ margin: 0;
+ padding-top: 16px;
+ height: auto;
+ }
+
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block div:nth-child(3),
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block div:nth-child(4),
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block div:nth-child(5) {
+ display: none;
+ }
+
.section.company-details-wrapper .tab-link-wrapper button.prev,
.section.company-details-wrapper .tab-link-wrapper button.next {
display: none;
@@ -103,7 +115,6 @@
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .text.legal-mobile-text {
display: block;
- /* padding: 24px 0; */
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .text.legal-mobile-text .cmp-text {
@@ -145,15 +156,17 @@
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>p {
- text-align: center;
border-bottom: 1px solid var(--whisper);
display: block;
- padding: 37px 0 16px;
- color: var(--blackpearl);
- font-family: 'Nunito-Bold', sans-serif;
+ padding: 28px 0 1pc;
+ position: relative;
+ text-align: center;
+ color: #010812;
+ font-family: Nunito-Bold, sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 27px;
+ text-transform: capitalize;
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li a {
@@ -169,18 +182,32 @@
line-height: 24px;
margin-top: 16px;
padding: 0 16px 0 48px;
+ display: block;
+ text-wrap: wrap;
+ margin: 0;
+ }
+
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li>a:hover,
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li>strong>a:hover {
+ background-color: transparent;
+ color: var(--black);
+ text-decoration: none;
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block>div>div>ul>li>strong>a {
background-color: transparent;
}
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block>div>div>ul>li a:after {
+ display: none;
+ }
+
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li:last-child a {
padding-bottom: 32px;
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li a::before {
- border: 1px solid var(--orange);
+ border: 1px solid #a9a9a9;
border-radius: 50%;
content: "";
display: block;
@@ -193,7 +220,7 @@
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li>strong a::after {
- background: var(--orange);
+ background: #000;
border-radius: 50%;
content: "";
display: block;
@@ -210,12 +237,17 @@
gap: 0;
margin: 0;
flex-direction: column;
+ align-items: baseline;
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li>strong>a {
color: var(--black);
background-color: transparent;
font-family: 'Nunito-Bold', sans-serif;
+ padding: 0px 144px 0 48px;
+ width: 100%;
+ display: block;
+ margin: 0;
}
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details {
@@ -224,13 +256,14 @@
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>::before {
background-color: var(--silver);
+ border-radius: 6px;
content: "";
display: block;
height: 4px;
left: 0;
margin-left: auto;
margin-right: auto;
- margin-top: 10px;
+ margin-top: 8px;
position: absolute;
right: 0;
top: 0;
@@ -247,7 +280,6 @@
position: fixed;
overflow-y: auto;
flex-direction: column;
- /* top: 174px; */
left: 0;
right: 0;
bottom: 0;
@@ -262,6 +294,8 @@
.section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details.model-mob-hide {
transform: translateY(0);
+ overflow: hidden;
+ overflow-y: auto;
}
.body-overlay {
@@ -279,4 +313,10 @@
display: block;
backdrop-filter: blur(0);
}
+
+ .section.company-details-wrapper .tab-link-wrapper .tab-link.block .compony-details>div>ul>li {
+ margin-top: 16px;
+ padding: 0;
+ text-align: start;
+ }
}
\ No newline at end of file