diff --git a/content/site.config.json b/content/site.config.json index 2dcf955..613b25e 100644 --- a/content/site.config.json +++ b/content/site.config.json @@ -57,7 +57,7 @@ } ], "cta": { - "label": { "en": "Try Tools Free", "hi": "टूल्स मुफ्त आज़माएं" }, + "label": { "en": "Try tools for free", "hi": "टूल्स मुफ्त आज़माएं" }, "href": "/tools" }, "toolsDropdown": { diff --git a/src/components/ui/Navbar.tsx b/src/components/ui/Navbar.tsx index da59391..ea9a05b 100644 --- a/src/components/ui/Navbar.tsx +++ b/src/components/ui/Navbar.tsx @@ -109,7 +109,7 @@ export function Navbar({ config, currentLocale, categories = [], totalToolsCount return pathname.startsWith(href); }; - const ctaLabel = resolveLocalised(config.nav?.cta?.label, currentLocale) || 'Try tools free'; + const ctaLabel = resolveLocalised(config.nav?.cta?.label, currentLocale) || 'Try tools for free'; const ctaHref = config.nav?.cta?.href || '/tools'; const viewAllText = config.nav?.toolsDropdown?.viewAllText ? resolveLocalised(config.nav.toolsDropdown.viewAllText, currentLocale) @@ -162,16 +162,15 @@ export function Navbar({ config, currentLocale, categories = [], totalToolsCount }`} /> - {/* Tools Dropdown Menu - Sleek, Dynamic JSON-Driven */} + {/* Tools Dropdown Menu - Sleek, Clean & Professional (Text Only, No Icons) */} {toolsDropdownOpen && (
- {/* Dynamic Categories List from JSON */} + {/* Dynamic Categories List from JSON (Clean Typography, No Icons) */}
{categories.map((cat) => { - const Icon = (cat.icon && ICON_MAP[cat.icon]) || Sparkles; const catName = resolveLocalised(cat.name, currentLocale); const catDesc = resolveLocalised(cat.description, currentLocale); const catHref = `/tools#category-${cat.id}`; @@ -186,33 +185,27 @@ export function Navbar({ config, currentLocale, categories = [], totalToolsCount window.location.hash = `category-${cat.id}`; } }} - className="group/item flex items-center gap-3 p-2.5 rounded-xl hover:bg-paper-2 transition-all duration-150" + className="group/item block px-3.5 py-2.5 rounded-xl hover:bg-paper-2 transition-all duration-150" > -
- -
-
-
- - {catName} - - -
-

+ + {catName} + + {catDesc && ( +

{catDesc}

-
+ )} ); })}
{/* Clean Minimal Footer */} -
+
setToolsDropdownOpen(false)} - className="text-xs font-semibold text-accent hover:text-accent-hi inline-flex items-center justify-between w-full transition-colors py-1" + className="text-xs font-sans font-semibold text-accent hover:text-accent-hi inline-flex items-center justify-between w-full transition-colors py-1" > {viewAllText} @@ -308,11 +301,10 @@ export function Navbar({ config, currentLocale, categories = [], totalToolsCount )} - {/* Sub-categories under Tools on mobile drawer */} + {/* Sub-categories under Tools on mobile drawer (Clean Text Only, No Icons) */} {link.href === '/tools' && categories.length > 0 && (
{categories.map((cat) => { - const Icon = (cat.icon && ICON_MAP[cat.icon]) || Sparkles; const catName = resolveLocalised(cat.name, currentLocale); const catHref = `/tools#category-${cat.id}`; @@ -326,10 +318,9 @@ export function Navbar({ config, currentLocale, categories = [], totalToolsCount window.location.hash = `category-${cat.id}`; } }} - className="flex items-center gap-2 p-2 rounded-xl text-xs text-ink hover:text-accent hover:bg-paper-2 bg-paper-hi/60 border border-rule font-body transition-colors" + className="p-2.5 rounded-xl text-xs text-ink hover:text-accent hover:bg-paper-2 bg-paper-hi/60 border border-rule font-sans font-medium transition-colors text-center" > - - {catName} + {catName} ); })}