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.
This commit is contained in:
2025-09-06 11:05:36 -05:00
parent af7e76f01f
commit e166edb44a
9 changed files with 479 additions and 442 deletions

View File

@@ -1,6 +1,7 @@
---
layout: base.njk
metaDesc: "Demo eCommerce website by Derek L. Seitz - dlseitz.dev"
seoIndexing: false
title: "Gallery - Bloom Valley Nursery Demo"
stylesheet:
- "/styles/variables.css"