Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🚩 Add badge when in beta environment
Luke Vellae0f4ae1f4511
diff --git a/src/components/logo.tsx b/src/components/logo.tsxindex 92e0d512d..c7a47d88b 100644--- a/src/components/logo.tsx+++ b/src/components/logo.tsx@@ -3,16 +3,23 @@ import clsx from "clsx";export const Logo = (props: { className?: string; color?: boolean }) => {const { color = true } = props;return (- <span- className={clsx(- "font-semibold uppercase tracking-widest",- {- "text-primary-500": color,- },- props.className,- )}- >- Rallly+ <span className="inline-flex items-center">+ <span+ className={clsx(+ "font-semibold uppercase tracking-widest",+ {+ "text-primary-500": color,+ },+ props.className,+ )}+ >+ Rallly+ </span>+ {process.env.NEXT_PUBLIC_BETA === "1" ? (+ <span className="ml-2 inline-block animate-pulse rounded bg-rose-500 px-1 text-xs lowercase tracking-tight text-white">+ beta+ </span>+ ) : null}</span>);};