Parent Directory
|
Revision Log
chore: add new files
1 | "use client"; |
2 | |
3 | import { isBlogPath } from "@/utils/pages"; |
4 | import { usePathname } from "next/navigation"; |
5 | |
6 | export const NavbarTitle = () => { |
7 | const pathname = usePathname(); |
8 | |
9 | return ( |
10 | <span className="desktop"> |
11 | SudoBot {isBlogPath(pathname) ? "Blog" : "Docs"} |
12 | </span> |
13 | ); |
14 | }; |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |