@@ -26,7 +26,7 @@ export default function TopNavbar() {
2626 < div
2727 className = { isLandingPage
2828 ? "max-w-6xl mx-auto px-3 sm:px-5 py-2.5 rounded-2xl border border-white/10 bg-black/55 backdrop-blur-2xl shadow-[0_10px_45px_rgba(0,0,0,0.45)] flex items-center justify-between gap-3 sm:gap-4"
29- : "max-w-7xl mx-auto px-3 sm:px-6 py-2 flex items-center justify-center gap-3 sm:gap-4 "
29+ : "w-full max-w-none md:max-w- 7xl mx-auto px-2 sm:px-4 md:px- 6 py-2 flex items-center justify-center gap-2 sm:gap-3 "
3030 }
3131 >
3232 { isLandingPage && (
@@ -56,96 +56,96 @@ export default function TopNavbar() {
5656 } `}
5757 >
5858 { ! isLandingPage && (
59- < div className = "inline- flex p-1.5 bg-white/5 backdrop-blur-xl rounded-2xl border border-white/10 overflow-x-auto max-w-[70vw] " >
59+ < div className = "flex w-full flex-wrap items-center justify-between gap-1 p-1.5 bg-white/5 backdrop-blur-xl rounded-2xl border border-white/10 overflow-hidden " >
6060 < Link
6161 href = "/"
6262 aria-label = "Home"
6363 aria-current = { isHomePage ? "page" : undefined }
64- className = { `relative flex items-center justify-center gap-2 px-3 sm :px-4 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isHomePage
64+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-4 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isHomePage
6565 ? "text-white shadow-lg bg-gradient-to-r from-slate-600 to-slate-500"
6666 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
6767 } `}
6868 >
6969 < House className = "w-5 h-5" />
70- < span className = "hidden sm :inline" > Home</ span >
70+ < span className = "hidden lg :inline" > Home</ span >
7171 </ Link >
7272
7373 < Link
7474 href = "/image-remover"
7575 aria-label = "Image Remover"
7676 aria-current = { isImagePage ? "page" : undefined }
77- 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 ${ isImagePage
77+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isImagePage
7878 ? "text-white shadow-lg bg-gradient-to-r from-blue-600 to-blue-500"
7979 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
8080 } `}
8181 >
8282 < ImageIcon className = "w-5 h-5" />
83- < span className = "hidden sm :inline" > Image Remover</ span >
83+ < span className = "hidden lg :inline" > Image Remover</ span >
8484 </ Link >
8585
8686 < Link
8787 href = "/video-remover"
8888 aria-label = "Video Remover"
8989 aria-current = { isVideoPage ? "page" : undefined }
90- 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 ${ isVideoPage
90+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isVideoPage
9191 ? "text-white shadow-lg bg-gradient-to-r from-fuchsia-600 to-fuchsia-500"
9292 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
9393 } `}
9494 >
9595 < Video className = "w-5 h-5" />
96- < span className = "hidden sm :inline" > Video Remover</ span >
96+ < span className = "hidden lg :inline" > Video Remover</ span >
9797 </ Link >
9898
9999 < Link
100100 href = "/background-remover"
101101 aria-label = "Background Remover"
102102 aria-current = { isBackgroundPage ? "page" : undefined }
103- 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 ${ isBackgroundPage
103+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isBackgroundPage
104104 ? "text-white shadow-lg bg-gradient-to-r from-emerald-600 to-teal-500"
105105 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
106106 } `}
107107 >
108108 < Eraser className = "w-5 h-5" />
109- < span className = "hidden sm :inline" > BG Remover</ span >
109+ < span className = "hidden lg :inline" > BG Remover</ span >
110110 </ Link >
111111
112112 < Link
113113 href = "/ai-image-detector"
114114 aria-label = "AI Image Detector"
115115 aria-current = { isAIDetectorPage ? "page" : undefined }
116- 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 ${ isAIDetectorPage
116+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isAIDetectorPage
117117 ? "text-white shadow-lg bg-gradient-to-r from-purple-600 to-pink-500"
118118 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
119119 } `}
120120 >
121121 < Brain className = "w-5 h-5" />
122- < span className = "hidden sm :inline" > AI Detector</ span >
122+ < span className = "hidden lg :inline" > AI Detector</ span >
123123 </ Link >
124124
125125 < Link
126126 href = "/qr-code-generator"
127127 aria-label = "QR Code Generator"
128128 aria-current = { isQrCodePage ? "page" : undefined }
129- 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 ${ isQrCodePage
129+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isQrCodePage
130130 ? "text-white shadow-lg bg-gradient-to-r from-cyan-600 to-blue-500"
131131 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
132132 } `}
133133 >
134134 < QrCode className = "w-5 h-5" />
135- < span className = "hidden sm :inline" > QR Generator</ span >
135+ < span className = "hidden lg :inline" > QR Generator</ span >
136136 </ Link >
137137
138138 < Link
139139 href = "/iconlogo"
140140 aria-label = "IconLogo"
141141 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
142+ className = { `relative flex flex-1 min-w-0 items-center justify-center gap-0 md:gap- 2 px-2 md :px-5 py-2.5 rounded-xl text-sm transition-all duration-300 whitespace-nowrap ${ isIconLogoPage
143143 ? "text-white shadow-lg bg-gradient-to-r from-orange-600 to-amber-500"
144144 : "text-gray-400 hover:text-gray-200 hover:bg-white/5"
145145 } `}
146146 >
147147 < Shapes className = "w-5 h-5" />
148- < span className = "hidden sm :inline" > IconLogo</ span >
148+ < span className = "hidden lg :inline" > IconLogo</ span >
149149 </ Link >
150150 </ div >
151151 ) }
0 commit comments