33import Link from "next/link" ;
44import Image from "next/image" ;
55import { usePathname } from "next/navigation" ;
6- import { Image as ImageIcon , Video , Eraser , Github , Twitter , Brain , House , QrCode } from "lucide-react" ;
6+ import { Image as ImageIcon , Video , Eraser , Github , Twitter , Brain , House , QrCode , Shapes } from "lucide-react" ;
77
88export default function TopNavbar ( ) {
99 const pathname = usePathname ( ) ;
@@ -14,6 +14,7 @@ export default function TopNavbar() {
1414 const isBackgroundPage = pathname === "/background-remover" ;
1515 const isAIDetectorPage = pathname === "/ai-image-detector" ;
1616 const isQrCodePage = pathname === "/qr-code-generator" ;
17+ const isIconLogoPage = pathname === "/iconlogo" ;
1718
1819 return (
1920 < nav
@@ -133,6 +134,19 @@ export default function TopNavbar() {
133134 < QrCode className = "w-5 h-5" />
134135 < span className = "hidden sm:inline" > QR Generator</ span >
135136 </ Link >
137+
138+ < Link
139+ href = "/iconlogo"
140+ aria-label = "IconLogo"
141+ aria-current = { isIconLogoPage ? "page" : undefined }
142+ className = { `relative flex items-center justify-center gap-2 px-3 sm:px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isIconLogoPage
143+ ? "text-white shadow-lg bg-gradient-to-r from-orange-600 to-amber-500"
144+ : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
145+ } `}
146+ >
147+ < Shapes className = "w-5 h-5" />
148+ < span className = "hidden sm:inline" > IconLogo</ span >
149+ </ Link >
136150 </ div >
137151 ) }
138152
0 commit comments