Delete web/src/components/Nav.tsx with huggingface_hub
Browse files- web/src/components/Nav.tsx +0 -22
web/src/components/Nav.tsx
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
import Link from "next/link";
|
| 2 |
-
import { Suspense } from "react";
|
| 3 |
-
import { ActiveNavLinks, NavLinksView } from "./NavLinks";
|
| 4 |
-
|
| 5 |
-
// Server component: the header is part of the static shell. Only the links read the pathname, and
|
| 6 |
-
// usePathname() suspends while dynamic routes like /videos/[id] prerender, so they get their own
|
| 7 |
-
// Suspense boundary with an un-highlighted fallback of identical size.
|
| 8 |
-
export function Nav() {
|
| 9 |
-
return (
|
| 10 |
-
<header className="sticky top-0 z-30 border-b border-line bg-page/90 backdrop-blur">
|
| 11 |
-
<div className="mx-auto flex max-w-7xl flex-wrap items-center gap-4 px-6 py-3">
|
| 12 |
-
<Link href="/" className="flex items-baseline gap-2">
|
| 13 |
-
<span className="text-base font-semibold">Visual Mentor</span>
|
| 14 |
-
<span className="text-xs text-muted">Private · Remote inference</span>
|
| 15 |
-
</Link>
|
| 16 |
-
<Suspense fallback={<NavLinksView path={null} />}>
|
| 17 |
-
<ActiveNavLinks />
|
| 18 |
-
</Suspense>
|
| 19 |
-
</div>
|
| 20 |
-
</header>
|
| 21 |
-
);
|
| 22 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|