This commit is contained in:
AI Christianson 2025-03-14 17:46:33 -04:00
parent 6e5f58e18d
commit e692f383c4
4 changed files with 32 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -9,6 +9,8 @@ import { SessionDrawer } from './SessionDrawer';
import { SessionList } from './SessionList'; import { SessionList } from './SessionList';
import { TimelineFeed } from './TimelineFeed'; import { TimelineFeed } from './TimelineFeed';
import { getSampleAgentSessions, getSampleAgentSteps } from '../utils/sample-data'; import { getSampleAgentSessions, getSampleAgentSteps } from '../utils/sample-data';
import logoBlack from '../assets/logo-black-transparent.png';
import logoWhite from '../assets/logo-white-transparent.gif';
/** /**
* DefaultAgentScreen component * DefaultAgentScreen component
@ -90,9 +92,12 @@ export const DefaultAgentScreen: React.FC = () => {
const headerContent = ( const headerContent = (
<div className="w-full flex items-center justify-between h-full px-4"> <div className="w-full flex items-center justify-between h-full px-4">
<div className="flex-initial"> <div className="flex-initial">
<h1 className="text-2xl font-bold bg-gradient-to-r from-blue-400 to-purple-500 inline-block text-transparent bg-clip-text"> {/* Use the appropriate logo based on theme */}
RA.Aid <img
</h1> src={isDarkTheme ? logoWhite : logoBlack}
alt="RA.Aid Logo"
className="h-8"
/>
</div> </div>
<div className="flex-initial ml-auto"> <div className="flex-initial ml-auto">

24
frontend/common/src/types/image.d.ts vendored Normal file
View File

@ -0,0 +1,24 @@
declare module '*.png' {
const content: string;
export default content;
}
declare module '*.gif' {
const content: string;
export default content;
}
declare module '*.jpg' {
const content: string;
export default content;
}
declare module '*.jpeg' {
const content: string;
export default content;
}
declare module '*.svg' {
const content: string;
export default content;
}