From deb2f4d83d3dd8ee1302e9141c2da0e71538f738 Mon Sep 17 00:00:00 2001 From: ssandino Date: Sat, 4 Jan 2025 21:25:05 +0000 Subject: [PATCH] Prettified Code! --- .../src/components/navbar/navbar-client.tsx | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/website/src/components/navbar/navbar-client.tsx b/website/src/components/navbar/navbar-client.tsx index 6f7fc1a56..81557ac4e 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,7 +322,7 @@ const DesktopNavigation = ({ lang, region, languages, regions, currencies, navig ))}
-
+
{transparency.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)}