diff --git a/assets/infra-map-kpi.png b/assets/infra-map-kpi.png new file mode 100644 index 0000000..847295c Binary files /dev/null and b/assets/infra-map-kpi.png differ diff --git a/assets/network-kpi-bg.png b/assets/network-kpi-bg.png new file mode 100644 index 0000000..b3330f8 Binary files /dev/null and b/assets/network-kpi-bg.png differ diff --git a/assets/resource-distrabution-bg.png b/assets/resource-distrabution-bg.png new file mode 100644 index 0000000..72e2562 Binary files /dev/null and b/assets/resource-distrabution-bg.png differ diff --git a/assets/resource-utilization.png b/assets/resource-utilization.png new file mode 100644 index 0000000..5e67b66 Binary files /dev/null and b/assets/resource-utilization.png differ diff --git a/public/infra-map-kpi.png b/public/infra-map-kpi.png new file mode 100644 index 0000000..847295c Binary files /dev/null and b/public/infra-map-kpi.png differ diff --git a/public/network-kpi-bg.png b/public/network-kpi-bg.png new file mode 100644 index 0000000..b3330f8 Binary files /dev/null and b/public/network-kpi-bg.png differ diff --git a/public/resource-distrabution-bg.png b/public/resource-distrabution-bg.png new file mode 100644 index 0000000..72e2562 Binary files /dev/null and b/public/resource-distrabution-bg.png differ diff --git a/public/resource-utilization.png b/public/resource-utilization.png new file mode 100644 index 0000000..5e67b66 Binary files /dev/null and b/public/resource-utilization.png differ diff --git a/src/pages/Infrastructure.tsx b/src/pages/Infrastructure.tsx index 0bdee05..cab94f4 100644 --- a/src/pages/Infrastructure.tsx +++ b/src/pages/Infrastructure.tsx @@ -80,6 +80,22 @@ const sectionTitle: React.CSSProperties = { marginBottom: '16px', } +function framedCard(bgUrl: string): React.CSSProperties { + return { + backgroundImage: `url(${bgUrl})`, + backgroundSize: '100% 100%', + backgroundPosition: 'center', + backgroundRepeat: 'no-repeat', + borderRadius: '12px', + position: 'relative', + overflow: 'hidden', + height: '100%', + display: 'flex', + flexDirection: 'column', + padding: '20px 20px 64px 20px', + } +} + function Donut({ data, centerLabel }: { data: { name: string; value: number; color: string }[]; centerLabel?: string }) { return (