Update product data, fix icon paths, improve carousel, and increase product card heights
All checks were successful
continuous-integration/drone/push Build is passing

- Added products 50-88 to products.json with complete details
- Fixed icon paths after moving phone2.png and mail.png to icons folder
- Updated carousel to support 6 images with proper indicators
- Renamed first_homepage.jpg to index_hero.jpg and updated all references
- Increased product card heights from 29vh to 32vh for better visual presence
- Removed unused icon files (admin.png, calendar.png, search.png, tag.png)
- Added storage.jpg to our_story carousel images
This commit is contained in:
George Birikorang 2025-09-17 17:34:11 -07:00
parent 8b8f08908b
commit 195286e6c8
25 changed files with 613 additions and 210 deletions

View file

@ -1097,6 +1097,7 @@ function initHeroCarousel() {
"assets/images/our_story/screen.jpg",
"assets/images/our_story/table.jpg",
"assets/images/our_story/chair2.jpg",
"assets/images/our_story/storage.jpg",
];
let currentImageIndex = 0;
@ -1129,7 +1130,7 @@ function initHeroCarousel() {
// Function to update carousel indicators
function updateIndicators(activeIndex) {
for (let i = 0; i < 5; i++) {
for (let i = 0; i < 6; i++) {
const indicator = document.getElementById(`carousel-indicator-${i}`);
if (indicator) {
indicator.style.opacity = i === activeIndex ? "1" : "0.5";
@ -1146,7 +1147,7 @@ function initHeroCarousel() {
});
// Indicator click handlers
for (let i = 0; i < 5; i++) {
for (let i = 0; i < 6; i++) {
const indicator = document.getElementById(`carousel-indicator-${i}`);
if (indicator) {
indicator.addEventListener("click", (e) => {