Commit Graph

5 Commits

Author SHA1 Message Date
dereklseitz
c5fd50bd35 Feat: Dynamic gallery page with Fetch API and improved product card layout
Refactor gallery page to dynamically load product data using the Fetch API. This addresses
a SyntaxError from incorrect script loading and updates the page to handle a new
flattened data structure.

- Replaced hardcoded product data with the Fetch API in `gallery-carousel.js`.
- Updated selectors and logic to handle the new data structure.
- Removed conflicting CSS rules for product cards.
- Shortened all `longDescription` fields to 175 characters or less.
- Widened the focused product card for better visibility without vertical scrolling.
- Reduced vertical spacing between elements in product cards (title, description, price, button).
2025-09-08 19:48:27 -05:00
dereklseitz
20e2569ad9 fix: Updated style rules to fix issues with component placement on landing page 2025-09-07 20:25:14 -05:00
dereklseitz
e166edb44a refactor: Standardize inventory data and naming conventions
This commit refactors the product inventory data to be a flat, single array. This design improves data versatility and scalability for various site functions.

- Flattened the data structure for easier filtering and searching.
- Atomized product attributes, such as `productNumber` and `skuID`.
- Standardized variable and object key naming to `camelCase` and `UPPERCASE_SNAKE_CASE` for constants.
- Added an `isFeatured` flag to products to enable dynamic content on the homepage.
- Implemented a meta tag in the base template to control search engine indexing on a per-page basis.
2025-09-06 11:05:36 -05:00
dereklseitz
af7e76f01f feat(events): Add script to fetch and display Zoho calendar events
This commit introduces a new script that fetches and normalizes event data from Zoho Calendar using OAuth2. The script makes an API call to retrieve calendar events for the current month. The event data is then processed and formatted to be used by a Nunjucks template.

Key Changes:
- test(dummy-data): Created a dummy calendar and dummy events for development and testing.
- feat(events): Added a new script to fetch event data from Zoho Calendar.
- feat(oauth2): Implemented OAuth2 authentication for secure API access.
- refactor(data): Normalized the fetched data payload for consistency.
- feat(ui): Integrated the normalized data with a Nunjucks template to dynamically populate "event cards" on the community events page.
2025-09-05 22:22:02 -05:00
dereklseitz
873f535f25 feat: Add image assets and attribution data
This commit introduces a new, modular system for managing image assets.

- Wrote the credits.js file to serve as a single source of truth for all image attributions.
- Replaced existing placeholder images with new, properly licensed assets.
- Created `_m-thumbs` and `_s-thumbs` directories with resized thumbnail versions of all original images.
2025-09-03 22:56:01 -05:00