Commit Graph

16 Commits

Author SHA1 Message Date
Local Server
1b2502c38d webupdate 2026-01-20 20:29:33 -06:00
Local Server
f8068ba54c webupdate 2026-01-19 01:17:43 -06:00
Local Server
2a2a3d99e5 webupdate 2026-01-18 02:22:05 -06:00
Local Server
6fc159051a Phase 2: CSS consolidation and security improvements
- Merge navbar-mobile-fix.css into navbar.css (single source)
- Remove navbar-mobile-fix.css references from all HTML pages
- Update navbar.css version for cache busting (v1768447584)
- Add security meta headers to all main pages:
  * X-Content-Type-Options: nosniff
  * X-Frame-Options: SAMEORIGIN
  * X-XSS-Protection: 1; mode=block
  * Referrer-Policy: strict-origin-when-cross-origin
- Archive navbar-mobile-fix.css (merged into navbar.css)
2026-01-14 21:26:57 -06:00
Local Server
1a5fd691bd 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
2026-01-14 21:19:23 -06:00
Local Server
7cd42bd6e7 Style: Match cart footer to wishlist footer layout
Simplified cart dropdown footer to exactly match wishlist layout:
- Removed cart summary (Subtotal display)
- Removed 'Proceed to Checkout' button
- Kept only 'Continue Shopping' button with btn-outline style

Cart and wishlist footers now have identical layout and styling.

Files updated:
- shop.html
- contact.html
- product.html
- about.html
2026-01-14 20:52:31 -06:00
Local Server
87dcdf296d Style: Apply wishlist button style to all cart buttons
Changed cart 'Proceed to Checkout' button from btn-primary-full
to btn-outline to match wishlist button style.

All cart buttons now use btn-outline (purple outlined style):
- Proceed to Checkout: btn-primary-full → btn-outline
- Continue Shopping: already btn-outline

Files updated:
- shop.html
- contact.html
- product.html
- about.html

Cart buttons now have consistent wishlist-style appearance.
2026-01-14 20:49:02 -06:00
Local Server
f818fff3a5 Style: Unify cart Continue Shopping button with wishlist style
Updated cart dropdown Continue Shopping buttons to use btn-outline
class (matching wishlist style) instead of btn-text across all pages.

Changes:
- shop.html: btn-text → btn-outline
- contact.html: btn-text → btn-outline
- product.html: btn-text → btn-outline
- about.html: btn-text → btn-outline

All cart Continue Shopping buttons now have consistent styling
with the wishlist Continue Shopping button (purple outline style).
2026-01-14 20:47:32 -06:00
Local Server
2db9f83d2d Performance: Optimize database and frontend-backend communication
Major optimizations implemented:

DATABASE:
- Added 6 new composite indexes for products queries
- Added slug index for blogposts and products
- Added composite index for portfolio active + display order
- ANALYZE all tables to update query planner statistics
- VACUUM database for optimal performance

FRONTEND API CACHING:
- Created api-cache.js with intelligent caching system
- Request deduplication for simultaneous calls
- Custom TTL per endpoint (5-30 minutes)
- Automatic cache cleanup every minute
- Cache hit/miss logging for monitoring

FRONTEND INTEGRATION:
- Updated portfolio.html to use apiCache
- Updated blog.html to use apiCache
- Updated shop.html to use apiCache
- Updated home.html to use apiCache
- Updated product.html to use apiCache (2 endpoints)

PERFORMANCE RESULTS:
- API response times: 7-12ms (excellent)
- Backend cache hit rates showing 0-41% improvement
- All endpoints returning HTTP 200
- All pages loading in under 10ms

TESTING:
- Added test-api-performance.sh for continuous monitoring
- Verified all 6 API endpoints functional
- Verified all frontend pages loading correctly
- Database indexes verified (30+ indexes active)

No functionality changes - pure performance optimization.
2026-01-14 08:19:20 -06:00
Local Server
e3334d482b Fix: Restore product.html - was corrupted with missing content 2026-01-14 07:28:37 -06:00
Local Server
9f659a2c59 Fix: Restore website functionality - all pages and APIs working 2026-01-14 07:16:04 -06:00
Local Server
c1da8eff42 webupdatev1 2026-01-04 17:52:37 -06:00
Local Server
1919f6f8bb updateweb 2026-01-01 22:24:30 -06:00
Local Server
017c6376fc updateweb 2025-12-24 00:13:23 -06:00
Local Server
e4b3de4a46 Updatweb 2025-12-19 20:44:46 -06:00
Local Server
dce6460994 Add website file management workflow and deployment script 2025-12-13 22:59:42 -06:00