Files
EvoScientist-WebUI/src/app/components/BetaBadge.tsx
T

17 lines
734 B
TypeScript

/**
* Static "BETA" badge shown next to the title.
*
* We deliberately do NOT show a version number here. This is the WebUI client;
* it cannot reliably know which EvoScientist backend version the user actually
* has installed, so showing the latest PyPI release would falsely imply they're
* running it. "BETA" honestly signals an early-stage product without making a
* version claim — and needs no network request.
*/
export function BetaBadge() {
return (
<span className="rounded-lg border border-teal-300/50 bg-teal-100/60 px-1.5 py-0.5 text-[10px] font-semibold tracking-wide text-teal-800 shadow-sm backdrop-blur-sm dark:border-teal-700/40 dark:bg-teal-900/30 dark:text-teal-300">
BETA
</span>
);
}