From 1a5fd691bd3856db7d2cb2f9e99793b05d7ccfc0 Mon Sep 17 00:00:00 2001 From: Local Server Date: Wed, 14 Jan 2026 21:19:23 -0600 Subject: [PATCH] Phase 1: Fix script loading order and remove duplicates - Remove duplicate cart.js loads from about.html and contact.html - Standardize script loading order across all pages: 1. api-cache.js (if needed) 2. main.js 3. shop-system.js 4. Page-specific scripts 5. UI enhancements last - Remove cart.js from shop.html and product.html (shop-system handles it) - Add api-cache.js to about.html and contact.html (they make API calls) - Prevent double initialization conflicts --- website/public/about.html | 15 ++++++++++----- website/public/blog.html | 12 ++++++++---- website/public/contact.html | 15 ++++++++++----- website/public/portfolio.html | 12 ++++++++---- website/public/product.html | 7 ++++--- website/public/shop.html | 4 ++-- 6 files changed, 42 insertions(+), 23 deletions(-) diff --git a/website/public/about.html b/website/public/about.html index 4f59337..67fbce2 100644 --- a/website/public/about.html +++ b/website/public/about.html @@ -435,12 +435,19 @@ + + + + + + + + - - - + + - - diff --git a/website/public/blog.html b/website/public/blog.html index 34c06b3..2aa93e3 100644 --- a/website/public/blog.html +++ b/website/public/blog.html @@ -248,13 +248,17 @@ + + + + + + - - - - + + + + + + + + - - - + + - - diff --git a/website/public/portfolio.html b/website/public/portfolio.html index 07e008a..d54816d 100644 --- a/website/public/portfolio.html +++ b/website/public/portfolio.html @@ -319,13 +319,17 @@ > + + + + + + - - - - + + + - + + - - + -