()
| 6 | import { SITE_HOST } from "../config/settings"; |
| 7 | |
| 8 | function 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 | |
| 30 | export default SimpleNavbar; |
nothing calls this directly
no test coverage detected