import { Server, Box, GitCommit, GitMerge, GitPullRequest, GitBranch } from 'lucide-react';
export const MiniServerRack = () => (
{[...Array(6)].map((_, i) => (
SRV-{String(i + 1).padStart(2, '0')}
))}
);
export const MiniDeploymentPipeline = () => (
{['Build', 'Test', 'Stage', 'Prod'].map((stage, i) => (
{i < 2 ? '✓' : i === 2 ? '...' : '○'}
{stage}
))}
);
export const MiniKubernetes = () => (
{['Pod-1', 'Pod-2', 'Pod-3', 'Pod-4', 'Pod-5', 'Pod-6'].map((pod, i) => (
{pod}
))}
);
export const MiniContainerStats = () => (
{[
{ name: 'nginx', cpu: 12, mem: 45 },
{ name: 'redis', cpu: 8, mem: 32 },
{ name: 'postgres', cpu: 25, mem: 68 },
].map(c => (
))}
);
export const MiniGitActivity = () => (
{[
{ icon: GitCommit, msg: 'Fix auth bug', time: '2m' },
{ icon: GitMerge, msg: 'Merge PR #42', time: '15m' },
{ icon: GitPullRequest, msg: 'New feature', time: '1h' },
].map(({ icon: Icon, msg, time }, i) => (
{msg}
{time}
))}
);
export const MiniCICD = () => (
{[
{ name: 'main', status: 'success' },
{ name: 'develop', status: 'running' },
{ name: 'feature/x', status: 'failed' },
].map(b => (
))}
);
export const MiniLogStream = () => (
{[
{ level: 'INFO', msg: 'Server started on :3000' },
{ level: 'DEBUG', msg: 'Processing request...' },
{ level: 'WARN', msg: 'Cache miss for key_x' },
{ level: 'ERROR', msg: 'Connection timeout' },
].map((l, i) => (
[{l.level}]
{l.msg}
))}
);
export const MiniAPILatency = () => (
{[45, 52, 38, 67, 42, 55, 48, 62, 44, 51].map((v, i) => (
60 ? 'bg-red-400' : v > 50 ? 'bg-yellow-400' : 'bg-green-400'}`} style={{ height: `${v}%` }} />
{v}
))}
);