Download src/components/ClientNavbar.tsx from hugging-science/science-release-map: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/hugging-science/science-release-map/resolve/main/src/components/ClientNavbar.tsx
- Command line
-
hf download hf://spaces/hugging-science/science-release-map/src/components/ClientNavbar.tsx
-
curl -L -o ClientNavbar.tsx https://huggingface.co/spaces/hugging-science/science-release-map/resolve/main/src/components/ClientNavbar.tsx
454 Bytes
| 'use client'; | |
| import React from "react"; | |
| import UserSearchDialog from "./UserSearchDialog"; | |
| import ThemeToggle from "./ThemeToggle"; | |
| const Navbar: React.FC = () => { | |
| return ( | |
| <nav className="w-full mt-4"> | |
| <div className="max-w-6xl mx-auto px-4 py-3"> | |
| <div className="flex items-center justify-end gap-3"> | |
| <ThemeToggle /> | |
| <UserSearchDialog /> | |
| </div> | |
| </div> | |
| </nav> | |
| ); | |
| }; | |
| export default Navbar; |