Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

853 B
Raw Blame
import { useTranslations } from 'next-intl';
import { APP_NAME } from '@/utils/app';
import AppLogo from '@/components/common/AppLogo';

// Branded panel shown beside the form on wide screens, in place of an external
// image — self-contained, no asset. Shared by the auth screens and the invite
// accept screen; the subtitle differs per context.
export default function BrandPanel({ subtitle }: { subtitle?: string }) {
  const t = useTranslations('common');
  return (
    <div className="relative hidden flex-col items-center justify-center gap-3 bg-primary text-primary-foreground md:flex">
      <AppLogo className="size-12" />
      <span className="text-lg font-semibold">{APP_NAME}</span>
      <p className="max-w-[16rem] text-center text-sm text-primary-foreground/70">
        {subtitle ?? t('brandSubtitle')}
      </p>
    </div>
  );
}