-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd2c961
commit 6dea4df
Showing
11 changed files
with
503 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"name":"Samuel Anthrayose", | ||
"app":"", | ||
"designation":"Project Manager", | ||
"image":"/static/images/testimonials/samuel.png", | ||
"comment":"We've been using VachanEngine CMS for our front-end applications, and it has truly served our need for varied resources in South Asian languages in different formats. The user-friendly documentation and their excellent development team makes it a breeze to organize and use the content. I highly recommend VachanEngine CMS to anyone looking for a powerful and intuitive content management solution." | ||
}, | ||
{ | ||
"name":"Revant Cherian Idikulay", | ||
"app":"", | ||
"designation":"Software Engineer", | ||
"image":"/static/images/testimonials/revant.png", | ||
"comment":"Vachan engine is comprehensive and easy to use. It has detailed documentation. The ability to try out the API on the documentation page itself is very useful. Making an UI application with it was a breeze." | ||
} | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
let testimonials; | ||
|
||
const carouselContent = document.getElementById('carousel-content') | ||
const corouselNavWrapper = document.getElementById('carousel-indicator-wrapper') | ||
|
||
// load cleint json on initial load | ||
async function loadTestimonials() { | ||
const req = await fetch('/static/data/testimonial.json') | ||
const res = await req.json() | ||
testimonials = res; | ||
|
||
// set all data in the section | ||
let carouselStr = '' , carouselIndicators = ''; | ||
testimonials.forEach((element, index) => { | ||
carouselStr += `<div class="carousel-item ${index === 0 ? 'active' : ''}"> | ||
<div class="content text-center" id="carousel-content"> | ||
<div class="person"><img alt="" src="${element.image}"></div> | ||
<h5>${element.name}</h5> | ||
${element?.app && '<h6>'+element.app+'</h6>'} | ||
<h6>${element.designation}</h6> | ||
<p>${element.comment}</p> | ||
</div> | ||
</div>` | ||
carouselIndicators += ` | ||
<button aria-label="Slide ${index+1}" class="${index ===0 ? 'active' : ''}" data-bs-slide-to="${index}" data-bs-target="#carouselExampleIndicators" type="button"></button> | ||
` | ||
}); | ||
carouselContent.innerHTML = carouselStr; | ||
corouselNavWrapper.innerHTML = carouselIndicators; | ||
|
||
} | ||
|
||
window.onload = loadTestimonials(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.