From 1128753b117adae2ce420bffe793c7da789e3c91 Mon Sep 17 00:00:00 2001 From: ssandino Date: Sat, 4 Jan 2025 21:32:15 +0000 Subject: [PATCH] Prettified Code! --- .../src/components/navbar/navbar-client.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/website/src/components/navbar/navbar-client.tsx b/website/src/components/navbar/navbar-client.tsx index 8fdf8ee86..0bcb6a124 100644 --- a/website/src/components/navbar/navbar-client.tsx +++ b/website/src/components/navbar/navbar-client.tsx @@ -280,7 +280,7 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig
@@ -299,22 +299,22 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig
- + {ourWork.title}
{ourWork.links?.map((link: any, index: number) => ( - + {link.title} ))}
-
- +
+ {aboutUs.title} -
+
{aboutUs.links?.map((link, index) => ( {link.title} @@ -322,11 +322,11 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig ))}
-
+
{transparency.title} -
+
{transparency.links?.map((link: any, index: number) => ( {link.title} @@ -336,7 +336,7 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig
-
+
{(!isIntRegion || (isIntRegion && country)) && ( {languages.find((l) => l.code === lang)?.translation}
-
-
+
+
{regions - .sort((a, b) => a.translation.localeCompare(b.translation)) - .map((reg, index) => ( + .sort((a, b) => a.translation.localeCompare(b.translation)) + .map((reg, index) => ( setRegion(reg.code)} @@ -373,7 +373,7 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig .map((l, index) => ( setLanguage(l.code)} @@ -389,7 +389,7 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig setCurrency(curr.code)}