Inline logo to fix HuggingFace base path issue
Browse files
dashboard/src/components/Header.tsx
CHANGED
|
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/react-query";
|
|
| 3 |
import { Wifi, WifiOff } from "lucide-react";
|
| 4 |
import { fetchHealth } from "../api";
|
| 5 |
import { clsx } from "clsx";
|
|
|
|
| 6 |
|
| 7 |
const Header: React.FC = () => {
|
| 8 |
const { data: health } = useQuery({
|
|
@@ -18,7 +19,7 @@ const Header: React.FC = () => {
|
|
| 18 |
<div className="flex items-center gap-6">
|
| 19 |
<div className="flex items-center gap-2">
|
| 20 |
{/* Logo Replacement */}
|
| 21 |
-
<img src=
|
| 22 |
<div className="h-5 w-px bg-zinc-200 hidden sm:block mx-2" />
|
| 23 |
<p className="text-[10px] font-mono font-bold uppercase tracking-[0.3em] hidden sm:block pt-1 opacity-40 group-hover:opacity-60 transition-opacity" style={{ color: "var(--color-heading)" }}>
|
| 24 |
Evaluation
|
|
|
|
| 3 |
import { Wifi, WifiOff } from "lucide-react";
|
| 4 |
import { fetchHealth } from "../api";
|
| 5 |
import { clsx } from "clsx";
|
| 6 |
+
import logo from "../logo.svg";
|
| 7 |
|
| 8 |
const Header: React.FC = () => {
|
| 9 |
const { data: health } = useQuery({
|
|
|
|
| 19 |
<div className="flex items-center gap-6">
|
| 20 |
<div className="flex items-center gap-2">
|
| 21 |
{/* Logo Replacement */}
|
| 22 |
+
<img src={logo} className="h-[38px] w-auto" alt="CodeLens." />
|
| 23 |
<div className="h-5 w-px bg-zinc-200 hidden sm:block mx-2" />
|
| 24 |
<p className="text-[10px] font-mono font-bold uppercase tracking-[0.3em] hidden sm:block pt-1 opacity-40 group-hover:opacity-60 transition-opacity" style={{ color: "var(--color-heading)" }}>
|
| 25 |
Evaluation
|
dashboard/src/logo.svg
ADDED
|
|