diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f02198..010705d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to the New Optic website will be documented in this file. +## Unreleased + +### Changed + +- 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. + ## [1.0.0] - 2026-05-16 ### Added diff --git a/components/LiquidGlass.tsx b/components/LiquidGlass.tsx index 4a20bec..d07bc99 100644 --- a/components/LiquidGlass.tsx +++ b/components/LiquidGlass.tsx @@ -20,6 +20,7 @@ export default function LiquidGlass() { const isMobileUserAgent = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|Tablet/i.test(userAgent); const hasCoarsePrimaryPointer = window.matchMedia("(pointer: coarse)").matches; if (isMobileUserAgent || hasCoarsePrimaryPointer) return; + if (!document.querySelector(".liquidGL-pane")) return; let cancelled = false; let attempts = 0; diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 0c9cfea..d89f66c 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -24,7 +24,7 @@ export default function Navbar({ locale, onLocaleChange, t, whatsappUrl }: { loc return (
-