From af1a4e6c74a89a082a532ed5f553851d1c4be44e Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sun, 13 Apr 2025 17:00:27 +0200 Subject: [PATCH] look: move language selector to RHS, don't use country flags The language selection being a flag never sat right wight me: 1. Its positioning next to 'CEBULACAMP' implied more that it's a cebula.camp logo or intrinsic flag of the event or something. 2. I think it's the first site I've ever seen that has a language selector on the left hand side of the navigation bar. 3. Using country flags as language icons is wrong [1]. [1] - just ask the Swiss or the Belgians. --- src/components/nav-container.tsx | 3 +-- src/components/ui/language-selector.tsx | 24 +++++++++++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/components/nav-container.tsx b/src/components/nav-container.tsx index 79c655a..1a661e8 100644 --- a/src/components/nav-container.tsx +++ b/src/components/nav-container.tsx @@ -14,18 +14,17 @@ export function NavContainer({ children, title, }: { children: React.ReactNode,
-

{title}

{children} + + ); }; -- 2.47.1