|
3 | 3 | import Link from "next/link"; |
4 | 4 | import Image from "next/image"; |
5 | 5 | import { usePathname } from "next/navigation"; |
6 | | -import { Image as ImageIcon, Video, Eraser, Github, Twitter, Brain, House, QrCode, Shapes, Pin } from "lucide-react"; |
| 6 | +import { Image as ImageIcon, Eraser, Github, Twitter, Brain, House, QrCode, Shapes, Pin } from "lucide-react"; |
7 | 7 |
|
8 | 8 | export default function TopNavbar() { |
9 | 9 | const pathname = usePathname(); |
10 | 10 | const isLandingPage = pathname === "/"; |
11 | 11 | const isHomePage = pathname === "/"; |
12 | 12 | const isImagePage = pathname === "/image-remover"; |
13 | | - const isVideoPage = pathname === "/video-remover"; |
| 13 | + |
14 | 14 | const isBackgroundPage = pathname === "/background-remover"; |
15 | 15 | const isAIDetectorPage = pathname === "/ai-image-detector"; |
16 | 16 | const isQrCodePage = pathname === "/qr-code-generator"; |
@@ -136,18 +136,7 @@ export default function TopNavbar() { |
136 | 136 | <span className="hidden lg:inline">AI Detector</span> |
137 | 137 | </Link> |
138 | 138 |
|
139 | | - <Link |
140 | | - href="/video-remover" |
141 | | - aria-label="Video Remover" |
142 | | - aria-current={isVideoPage ? "page" : undefined} |
143 | | - 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 |
144 | | - ? "text-white shadow-lg bg-gradient-to-r from-fuchsia-600 to-fuchsia-500" |
145 | | - : "text-gray-400 hover:text-gray-200 hover:bg-white/5" |
146 | | - }`} |
147 | | - > |
148 | | - <Video className="w-5 h-5" /> |
149 | | - <span className="hidden lg:inline">Video Remover</span> |
150 | | - </Link> |
| 139 | + |
151 | 140 |
|
152 | 141 | <Link |
153 | 142 | href="/background-remover" |
|
0 commit comments