diff --git a/src/components/ui/Navbar.tsx b/src/components/ui/Navbar.tsx index 95f80ef..dfdab26 100644 --- a/src/components/ui/Navbar.tsx +++ b/src/components/ui/Navbar.tsx @@ -14,7 +14,8 @@ import { Smile, Scissors, Palette, - ChevronDown + ChevronDown, + ChevronRight } from 'lucide-react'; import { SiteConfig } from '@/types'; import { BrandLogo } from './BrandLogo'; @@ -28,42 +29,30 @@ interface NavbarProps { const TOOL_CATEGORIES = [ { id: 'portrait-retouch', - name: 'Portrait Retouch', - tagline: 'Sub-pore blemish, teeth whitening & eye brightness', - count: '5 tools', + name: 'Portrait & Retouch', + tagline: 'Blemish, teeth whitening & face swap', icon: Smile, - color: 'text-rose-500', - bg: 'bg-rose-500/10 text-rose-600 border-rose-500/20', href: '/tools#category-portrait-retouch', }, { id: 'restoration', - name: 'Archival Restoration', - tagline: '4K super-resolution, vintage repair & colorization', - count: '3 tools', + name: 'Enhance & Restore', + tagline: 'Deblur, 4K resolution & colorize', icon: Sparkles, - color: 'text-indigo-500', - bg: 'bg-indigo-500/10 text-indigo-600 border-indigo-500/20', href: '/tools#category-restoration', }, { id: 'background-cutout', - name: 'Background Cutout', - tagline: 'P3M deep learning alpha matting & hair extraction', - count: '1 tool', + name: 'Cutout & Inpaint', + tagline: 'Object eraser & background remover', icon: Scissors, - color: 'text-emerald-500', - bg: 'bg-emerald-500/10 text-emerald-600 border-emerald-500/20', href: '/tools#category-background-cutout', }, { id: 'creative-art', - name: 'Creative Art & Avatars', - tagline: 'Anime key-art synthesis, Polaroids & object eraser', - count: '3 tools', + name: 'Creative & Diffusion', + tagline: 'Anime avatar, dress & text-to-image', icon: Palette, - color: 'text-amber-500', - bg: 'bg-amber-500/10 text-amber-600 border-amber-500/20', href: '/tools#category-creative-art', }, ]; @@ -179,27 +168,14 @@ export function Navbar({ config, currentLocale }: NavbarProps) { }`} /> - {/* Tools Categories Dropdown Mega-Card on Hover */} + {/* Tools Dropdown Menu - Sleek, Professional & Minimal */} {toolsDropdownOpen && (
-
- {/* Header */} -
-
- - - Studio Neural Categories - -
- - 12 models active - -
- - {/* 2x2 Category Cards Grid */} -
+
+ {/* Categories List */} +
{TOOL_CATEGORIES.map((cat) => { const Icon = cat.icon; return ( @@ -212,21 +188,19 @@ export function Navbar({ config, currentLocale }: NavbarProps) { window.location.hash = `category-${cat.id}`; } }} - className="group/cat p-3 rounded-2xl bg-paper border border-rule hover:border-accent hover:bg-paper-2 hover:shadow-glow motion-safe:transition-all duration-150 flex items-start gap-3" + className="group/item flex items-center gap-3 p-2.5 rounded-xl hover:bg-paper-2 transition-all duration-150" > -
- +
+
-
- +
+ {cat.name} - - {cat.count} - +
-

+

{cat.tagline}

@@ -235,18 +209,15 @@ export function Navbar({ config, currentLocale }: NavbarProps) { })}
- {/* Footer Link */} -
- - Instant client GPU trial ยท Zero retention - + {/* Clean Minimal Footer */} +
setToolsDropdownOpen(false)} - className="text-accent hover:underline font-semibold inline-flex items-center gap-1 text-xs" + className="text-xs font-semibold text-accent hover:text-accent-hi inline-flex items-center justify-between w-full transition-colors py-1" > - View all 12 tools directory - + Explore all 14 studio tools +
@@ -354,10 +325,10 @@ export function Navbar({ config, currentLocale }: NavbarProps) { window.location.hash = `category-${cat.id}`; } }} - className="flex items-center gap-2 p-2 rounded-xl text-xs text-ink-2 hover:text-ink hover:bg-paper-2 bg-paper-hi/40 border border-rule/50 font-body" + 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" > - - {cat.name} + + {cat.name} ); })}