From f30c846e9ef8c3dd68c004d27c8e04fe0e97bb2d Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Sat, 6 Sep 2025 19:29:59 -0500 Subject: [PATCH] Feat, Fix, and Refactor: Consolidate index page changes Feat: Refactor index.njk to be data-driven and fix related rendering issues. Fix: Resolve layout and functionality bugs, including broken JavaScript for the featured item carousel, layout shifts in category navigation, and CSS issues with the testimonial carousel. Refactor: Centralize global styles using CSS custom property variables and clean up redundant CSS rules. --- src/credits.njk | 2 +- .../patio/{fire-pit.jpg => firepit.jpg} | Bin ...maple-tree.jpg => japanese-maple-tree.jpg} | Bin .../patio/{fire-pit.jpg => firepit.jpg} | Bin ...maple-tree.jpg => japanese-maple-tree.jpg} | Bin src/index.njk | 200 ++++++------------ src/scripts/script.js | 37 ++-- src/styles/about.css | 106 +++++----- src/styles/base.css | 15 +- src/styles/community.css | 82 ++++--- src/styles/gallery.css | 80 +++---- src/styles/header-footer.css | 104 +++++---- src/styles/index.css | 181 ++++++++-------- src/styles/variables.css | 36 ++++ 14 files changed, 395 insertions(+), 448 deletions(-) rename src/images/_m-thumbs/patio/{fire-pit.jpg => firepit.jpg} (100%) rename src/images/_m-thumbs/trees/{maple-tree.jpg => japanese-maple-tree.jpg} (100%) rename src/images/_s-thumbs/patio/{fire-pit.jpg => firepit.jpg} (100%) rename src/images/_s-thumbs/trees/{maple-tree.jpg => japanese-maple-tree.jpg} (100%) diff --git a/src/credits.njk b/src/credits.njk index d85552f..a646ff4 100644 --- a/src/credits.njk +++ b/src/credits.njk @@ -25,7 +25,7 @@ pageScripts: