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.
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.
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.
- Center featured section heading with proper spacing
- Adjust logo positioning with left margin
- Improve category list spacing
- Increase figcaption font size for better readability
- Fix navigation link hover states to prevent layout shift
- Ensure consistent spacing in featured images container
This commit refactors the project's directory structure to better align with a static site generator (SSG) workflow. The source files have been moved into a dedicated src directory, and Eleventy has been installed as the new SSG.