import Link from "next/link";
interface BadgeProps {
href?: string;
children: React.ReactNode;
style?: React.CSSProperties;
}
function Badge({ href, children, style }: BadgeProps) {
const base = (
{children}
);
if (href) {
if (href.startsWith("http")) {
return (
{base}
);
}
return (
{base}
);
}
return base;
}
export default function Badges() {
return (
⬛ Next.js
🍞 Powered by Bun
📡 Valid RSS
Made with ♥
);
}