import React, { useId } from 'react'; export interface BrandLogoProps { size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number; variant?: 'icon-only' | 'full'; showGlow?: boolean; className?: string; animateOnHover?: boolean; } const sizeMap = { xs: 20, sm: 28, md: 36, lg: 44, xl: 56, }; /** * Modern, stylized SVG brand emblem representing Post Fund Management (PFM). * Features an isometric kinetic nexus with three interlocking governance facets: * 1. Top Canopy: Governance, Strategy & Portfolios (Radiant Indigo / Violet) * 2. Left Vault: Capital, Grants & Disbursement Assurance (Electric Sapphire) * 3. Right Wing: Milestones, Evidence & Impact Delivery (Cyan to Emerald) * 4. Center Core: Luminous Floating Diamond Milestone Star */ export const BrandLogo: React.FC = ({ size = 'md', variant = 'icon-only', showGlow = true, className = '', animateOnHover = true, }) => { const uniqueId = useId().replace(/:/g, ''); const pixelSize = typeof size === 'number' ? size : sizeMap[size] || 36; const glowId = `pfm-ambient-${uniqueId}`; const topGradId = `pfm-top-${uniqueId}`; const leftGradId = `pfm-left-${uniqueId}`; const rightGradId = `pfm-right-${uniqueId}`; const coreGradId = `pfm-core-${uniqueId}`; const filterId = `pfm-filter-${uniqueId}`; return (
{showGlow && (
)} {/* Ambient Radial Glow */} {/* Top facet: Governance & Portfolios (Indigo / Radiant Violet) */} {/* Left facet: Capital & Disbursement Vault (Electric Sapphire) */} {/* Right facet: Milestones, Evidence & Impact Delivery (Cyan to Emerald) */} {/* Center Radiant Diamond */} {/* Core luminous glow filter */} {/* Deep Contrast Foundation Disk */} {/* Outer Hexagonal Structural Shield Outline */} {/* Facet 1: Top Canopy (Governance / Oversight Architecture) */} {/* Facet 2: Left Vault (Fund Management & Capital Allocation) */} {/* Facet 3: Right Wing (Milestone Performance & Impact Assurance) */} {/* Center Geometric Hub (The PFM Nexus Plate) */} {/* Kinetic Stepped Prisms */} {/* Center Radiant Milestone Diamond */} {/* Center Pure White Optical Star Point */}
{variant === 'full' && (
PFM Console Post-Fund Governance
)}
); };