diff --git a/CHANGELOG.md b/CHANGELOG.md index c07ebff..edc98bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to the New Optic website will be documented in this file. - 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. ## [1.0.0] - 2026-05-16 diff --git a/components/LanguageSwitcher.tsx b/components/LanguageSwitcher.tsx index 3bcca13..3875e23 100644 --- a/components/LanguageSwitcher.tsx +++ b/components/LanguageSwitcher.tsx @@ -3,9 +3,9 @@ import { languages, type Locale } from "@/config/business"; import { cn } from "@/lib/utils"; -export default function LanguageSwitcher({ locale, onLocaleChange }: { locale: Locale; onLocaleChange: (locale: Locale) => void }) { +export default function LanguageSwitcher({ locale, onLocaleChange, className, buttonClassName }: { locale: Locale; onLocaleChange: (locale: Locale) => void; className?: string; buttonClassName?: string }) { return ( -
+
{languages.map((language) => (
- + + {t.nav.cta} ))}
-
- -
) : null}