Skip to content

Commit 57de006

Browse files
committed
Added a side menu label to indicate your project version
1 parent afe7f41 commit 57de006

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
ChartBarIcon,
77
CursorArrowRaysIcon,
88
IdentificationIcon,
9+
InformationCircleIcon,
910
KeyIcon,
1011
ServerStackIcon,
1112
ShieldCheckIcon,
@@ -72,6 +73,7 @@ import {
7273
import { StepNumber } from "../primitives/StepNumber";
7374
import { SideMenuHeader } from "./SideMenuHeader";
7475
import { MenuCount, SideMenuItem } from "./SideMenuItem";
76+
import { Callout } from "../primitives/Callout";
7577

7678
type SideMenuUser = Pick<User, "email" | "admin"> & { isImpersonating: boolean };
7779
type SideMenuProject = Pick<
@@ -187,6 +189,11 @@ export function SideMenu({ user, project, organization, organizations }: SideMen
187189
/>
188190
</div>
189191
</div>
192+
<div className="m-2">
193+
<Callout variant={"info"}>
194+
{`This is a ${project.version === "V2" ? "v2" : "v3"} project`}
195+
</Callout>
196+
</div>
190197
<div className="flex flex-col gap-1 border-t border-grid-bright p-1">
191198
{currentPlan?.subscription?.isPaying === true && (
192199
<Dialog>

0 commit comments

Comments
 (0)