fix: custom logos

This commit is contained in:
jialin
2026-04-27 21:10:34 +08:00
committed by jialin
parent 519020077a
commit e4992e8313
20 changed files with 12081 additions and 3320 deletions
+8 -4
View File
@@ -1,13 +1,17 @@
// @ts-nocheck
import GpustackLogo from '@/assets/images/gpustack-logo.png';
import SmallLogo from '@/assets/images/small-logo-200x200.png';
import { useLogo } from '@/hooks/use-logo';
import React from 'react';
const LogoIcon: React.FC = () => {
return <img src={GpustackLogo} alt="logo" style={{ height: 24 }} />;
const { sidebarLogo } = useLogo();
return <img src={sidebarLogo} alt="logo" style={{ height: 24 }} />;
};
const SLogoIcon: React.FC = () => {
return <img src={SmallLogo} alt="logo" style={{ height: 24 }} />;
const { miniLogo } = useLogo();
return <img src={miniLogo} alt="logo" style={{ height: 24 }} />;
};
export { LogoIcon, SLogoIcon };