diff --git a/src/pages/Infrastructure.tsx b/src/pages/Infrastructure.tsx index cab94f4..8b8f047 100644 --- a/src/pages/Infrastructure.tsx +++ b/src/pages/Infrastructure.tsx @@ -12,13 +12,6 @@ const statusCards = [ { label: 'Monthly Cost', value: '$24,560.75', icon: DollarSign, sub: '↑ 3.2% MTD' }, ] -const distributionData = [ - { name: 'Compute', value: 42, color: '#C8A434' }, - { name: 'Storage', value: 28, color: '#E67E22' }, - { name: 'Database', value: 18, color: '#2ECC71' }, - { name: 'Network', value: 12, color: '#7A7D85' }, -] - const costData = [ { name: 'Compute', value: 38, color: '#C8A434' }, { name: 'Storage', value: 22, color: '#E67E22' }, @@ -86,7 +79,6 @@ function framedCard(bgUrl: string): React.CSSProperties { backgroundSize: '100% 100%', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', - borderRadius: '12px', position: 'relative', overflow: 'hidden', height: '100%', @@ -96,6 +88,13 @@ function framedCard(bgUrl: string): React.CSSProperties { } } +const cardVignette: React.CSSProperties = { + position: 'absolute', + inset: 0, + pointerEvents: 'none', + background: 'radial-gradient(ellipse closest-side at center, transparent 45%, var(--color-page) 100%)', +} + function Donut({ data, centerLabel }: { data: { name: string; value: number; color: string }[]; centerLabel?: string }) { return (