# Changelog

All notable changes to the New Optic website will be documented in this file.

## Unreleased

### Changed

- Added a `3D` branch experiment with an interactive annotated glasses model section.
- Removed the desktop liquid glass WebGL layer from navbar and CTA controls so text remains readable and glass surfaces do not show dark rendering artifacts while scrolling.
- Replaced the mobile hamburger dropdown with a fast, solid menu animation without bounce or stretch effects.
- Kept the language switcher visible in the mobile top navigation bar.
- Added cursor-reactive stretch motion to desktop nav links and matched the glossy dark WhatsApp CTA style on mobile.
- Corrected the French 2004 trust wording to use "depuis" without "autour de".

## [1.0.0] - 2026-05-16

### Added

- Built the full multilingual New Optic marketing website.
- Added French, Arabic, and English language support.
- Added RTL layout support for Arabic.
- Added sticky glass navbar with mobile menu and smooth section scrolling.
- Added premium hero, about, services, collections, trust, contact, and footer sections.
- Added central editable business configuration in `config/business.ts`.
- Added structured translation files in `messages/`.
- Added WhatsApp, phone, map, and QR-code contact CTAs.
- Added Google Maps QR code asset.
- Added product collection imagery for prescription glasses, sunglasses, kids glasses, and budget frames.
- Added desktop-only `liquidGL` progressive enhancement for glass panels.
- Added magnetic/stretch CTA button interactions.
- Added mobile performance optimizations, including a compressed mobile background image.
- Added SEO metadata and local business JSON-LD.
- Added `Agent.MD` for future development guidance.

### Changed

- Fixed desktop hero image visibility by removing liquid glass from image-bearing containers, while applying liquid glass to navbar/buttons and adding a stronger CSS glass fallback.
- Re-enabled liquid glass on desktop PCs using user-agent and pointer capability detection, while keeping it disabled on phones and tablets.
- Changed trust stat label accent from blue to a softer neutral white tone.
- Refined contact and trust UI: stat labels are now accented above values, French WhatsApp CTA says "Discuter sur WhatsApp", hours information is emphasized, and mobile navbar shows WhatsApp without opening the menu.
- Updated customer-corrected business facts: New Optic is active since around 2004, does not offer eye exams, and offers contact lenses plus colored contact lenses.
- Optimized mobile rendering by disabling heavy blur, fixed backgrounds, ambient animations, and WebGL glass below desktop widths.
- Changed mobile CSS to reference only the compressed mobile background by default, keeping the full PNG desktop-only.
- Added mobile `content-visibility` containment so offscreen sections do less rendering work on low-end devices.
- Removed the WebGL liquid glass layer from the contact QR panel so the QR code renders immediately and remains scannable.
- Reworked collection cards from abstract placeholders to image-led product cards.
- Improved dark-section heading contrast.
- Corrected French typography and accents.

### Verified

- `npm run build` passes.
- Initial Gitea release created as `v1.0.0`.

[1.0.0]: http://192.168.1.160:3000/oimwiodev/New-Optic/releases/tag/v1.0.0
