MCPcopy
hub / github.com/chartbrew/chartbrew / SimpleNavbar

Function SimpleNavbar

client/src/components/SimpleNavbar.jsx:8–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { SITE_HOST } from "../config/settings";
7
8function SimpleNavbar() {
9 const { isDark } = useTheme();
10
11 return (
12 <header className="z-50 border-b border-divider bg-surface">
13 <div className="flex items-center justify-between px-4 py-3">
14 <a href={`${SITE_HOST}`}>
15 <img alt="Chartbrew Logo" src={isDark ? cbLogoDark : cbLogoLight} width={150} />
16 </a>
17 <nav className="flex items-center gap-4 text-sm">
18 <a className="text-foreground hover:text-accent" href="/login">
19 Login
20 </a>
21 <a className="text-foreground hover:text-accent" href="/signup">
22 Sign Up
23 </a>
24 </nav>
25 </div>
26 </header>
27 );
28}
29
30export default SimpleNavbar;

Callers

nothing calls this directly

Calls 1

useThemeFunction · 0.90

Tested by

no test coverage detected