Skip to content

Commit 6bcd294

Browse files
author
Dylan Huang
committed
Add logo image and update App component header
1 parent ae5e4ae commit 6bcd294

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

vite-app/src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import StatusIndicator from "./components/StatusIndicator";
66
import { EvaluationRowSchema, type EvaluationRow } from "./types/eval-protocol";
77
import { WebSocketServerMessageSchema } from "./types/websocket";
88
import { GlobalState } from "./GlobalState";
9+
import logoLight from "./assets/logo-light.png";
910

1011
export const state = new GlobalState();
1112

@@ -119,9 +120,7 @@ const App = observer(() => {
119120
<div className="max-w-7xl mx-auto px-3">
120121
<div className="flex justify-between items-center h-10">
121122
<div className="flex items-center space-x-2">
122-
<h1 className="text-sm font-medium text-gray-900">
123-
Eval Protocol Logs
124-
</h1>
123+
<img src={logoLight} alt="Eval Protocol" className="h-6 w-auto" />
125124
</div>
126125
<div className="flex items-center gap-2">
127126
<StatusIndicator isConnected={state.isConnected} />

vite-app/src/assets/logo-light.png

21.2 KB
Loading

vite-app/src/typings.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
declare module '*.css' {
22
const content: Record<string, string>;
33
export default content;
4-
}
4+
}
5+
6+
declare module '*.png' {
7+
const content: string;
8+
export default content;
9+
}

0 commit comments

Comments
 (0)