import { assertSecret } from "@blitzkit/core"; import { ArrowRightIcon } from "@radix-ui/react-icons"; import { Button, Code, Flex, Link, Text } from "@radix-ui/themes"; export function Plugs() { const promoteOpentest = assertSecret(import.meta.env.PUBLIC_PROMOTE_OPENTEST) === "true" && assertSecret(import.meta.env.PUBLIC_BRANCH) !== "opentest"; const promotions = [promoteOpentest]; if (promotions.every((promotion) => !promotion)) return null; return ( {promoteOpentest && ( BlitzKit{" "} opentest {" "} is available now{" "} )} ); }