Updated sidebar layout (#1661)

This commit is contained in:
Luke Vella 2025-04-14 15:11:59 +01:00 committed by GitHub
parent 8c0814b92b
commit 72ca1d4c38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
104 changed files with 3268 additions and 1331 deletions

View file

@ -2,6 +2,7 @@
import { Badge } from "@rallly/ui/badge";
import React from "react";
import { ProBadge } from "@/components/pro-badge";
import { Trans } from "@/components/trans";
import { trpc } from "@/trpc/client";
import { isSelfHosted } from "@/utils/constants";
@ -44,11 +45,7 @@ export const Plan = () => {
const plan = usePlan();
if (plan === "paid") {
return (
<Badge variant="primary">
<Trans i18nKey="planPro" defaults="Pro" />
</Badge>
);
return <ProBadge />;
}
return (