Files
portal/components/lab/StackBadges.tsx
T
Tom Chien (IQ-AS) 1988c635fe
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 20m35s
upload
2026-11-18 14:26:36 +08:00

40 lines
1.1 KiB
TypeScript

import {
siApple,
siDocker,
siGitea,
siGodaddy,
siHarbor,
siHelm,
siKubernetes,
siNginx,
} from "simple-icons";
import type { SimpleIcon } from "simple-icons";
import { BrandIcon } from "@/components/BrandIcon";
const stack: { icon: SimpleIcon; label: string; color?: string }[] = [
{ icon: siApple, label: "Mac mini", color: "#e2e8f0" },
{ icon: siDocker, label: "Docker Desktop" },
{ icon: siKubernetes, label: "Kubernetes" },
{ icon: siNginx, label: "Nginx · ingress-nginx" },
{ icon: siGodaddy, label: "GoDaddy DNS" },
{ icon: siGitea, label: "Gitea Actions" },
{ icon: siHarbor, label: "Harbor" },
{ icon: siHelm, label: "Helm", color: "#7c8cff" },
];
export function StackBadges() {
return (
<ul className="flex flex-wrap gap-2">
{stack.map((s) => (
<li
key={s.label}
className="flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-3 py-1.5 text-sm text-slate-200"
>
<BrandIcon icon={s.icon} color={s.color} className="size-4" />
{s.label}
</li>
))}
</ul>
);
}