import { __ } from '../lib/i18n'; interface FullLogoProps { pluginUrl?: string; } export function FullLogo({ pluginUrl }: FullLogoProps) { const getPluginUrl = () => { return pluginUrl || (window as any).llmagnetDashboardData?.pluginUrl || ''; }; return (
{__('LLMagnet', { // Fallback if the icon doesn't load const target = e.target as HTMLImageElement; target.onerror = null; // Try development path target.src = `${getPluginUrl()}src/assets/images/llmmagnetlogo.svg`; }} /> LLMagnet
); }