From 2805c14e5658c00319c278679d3a4ff9545d65b3 Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Wed, 10 Sep 2025 12:52:53 -0500 Subject: [PATCH] refactor: Adjust HTML/CSS across content pages for a more cohesive UX --- src/_data/testimonials.js | 2 +- src/_includes/base.njk | 13 +- src/_includes/category-nav.njk | 3 +- src/_includes/header.njk | 77 +++++----- src/community.njk | 10 +- src/credits.njk | 71 +++++---- src/gallery.njk | 64 ++++---- src/index.njk | 11 +- src/scripts/demo-modal.js | 54 +++++++ src/scripts/gallery-carousel.js | 16 +- src/scripts/script.js | 69 +-------- src/styles/about.css | 18 +-- src/styles/base.css | 47 +++--- src/styles/category-nav.css | 8 +- src/styles/community.css | 40 ++++- src/styles/credits.css | 91 +++++++++++- src/styles/footer.css | 15 +- src/styles/gallery.css | 39 +++-- src/styles/header.css | 254 ++++++++------------------------ src/styles/index.css | 31 ++-- src/styles/variables.css | 6 + 21 files changed, 485 insertions(+), 454 deletions(-) create mode 100644 src/scripts/demo-modal.js diff --git a/src/_data/testimonials.js b/src/_data/testimonials.js index d571ac1..170f317 100644 --- a/src/_data/testimonials.js +++ b/src/_data/testimonials.js @@ -21,7 +21,7 @@ const TESTIMONIALS = [ { "id": "T02", "clientName": "Morris F.", - "testimonial": "Thanks to the Gardening 101 Workshop with Bethany and Bloom Valley Nursery's amazing line of products, I won 'Best Azaleas' at the 2024 Royal Horticultural Society's American Cup!", + "testimonial": "Thanks to BVN's Workshops and amazing line of products, I won 'Best Azaleas' at the 2024 Royal Horticultural Society's American Cup!", "dateObtained": "2024-12-03" }, { diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 0ab48fc..01b6bcd 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -9,7 +9,12 @@ {% endif %} {{title}} - + + + + + + {% if stylesheet %} {% for style in stylesheet %} @@ -19,7 +24,6 @@ {% if hCAPTCHA %} {% endif %} - {% if fontAwesome %} {% endif %} @@ -30,7 +34,7 @@ {% include "header.njk" %} -
+
{{ content | safe }} @@ -40,11 +44,14 @@ {% include "modals.njk" %} + {% if pageScripts %} {% for script in pageScripts %} {% endfor %} {% endif %} + +