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

@@ -11,7 +11,7 @@
}
*/
const testimonials = [
const TESTIMONIALS = [
{
"id": "T01",
"clientName": "Caroline N.",
@@ -33,5 +33,5 @@ const testimonials = [
];
module.exports = {
testimonials
TESTIMONIALS
};