Skip to content

Commit a5a1d17

Browse files
[Dashboard] Add info alert about Engines moving to projects (#6976)
1 parent 62c179d commit a5a1d17

File tree

1 file changed

+15
-1
lines changed
  • apps/dashboard/src/app/(app)/team/[team_slug]/(team)

1 file changed

+15
-1
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/page.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import { type Project, getProjects } from "@/api/projects";
33
import { getTeamBySlug } from "@/api/team";
44
import { getThirdwebClient } from "@/constants/thirdweb.server";
55
import { subDays } from "date-fns";
6+
import { CircleAlertIcon } from "lucide-react";
67
import { redirect } from "next/navigation";
8+
import {
9+
Alert,
10+
AlertDescription,
11+
AlertTitle,
12+
} from "../../../../../@/components/ui/alert";
713
import { getAuthToken } from "../../../api/lib/getAuthToken";
814
import { loginRedirect } from "../../../login/loginRedirect";
915
import { InviteTeamMembersButton } from "./_components/invite-team-members-button";
@@ -50,12 +56,20 @@ export default async function Page(props: {
5056
</div>
5157
</div>
5258

53-
<div className="container flex grow flex-col pt-8 pb-20">
59+
<div className="container flex grow flex-col gap-6 pt-8 pb-20">
5460
<TeamProjectsPage
5561
projects={projectsWithTotalWallets}
5662
team={team}
5763
client={client}
5864
/>
65+
<Alert variant={"info"}>
66+
<CircleAlertIcon className="h-4 w-4" />
67+
<AlertTitle>Looking for Engines?</AlertTitle>
68+
<AlertDescription>
69+
Engines have moved inside projects. Open or create a project to
70+
manage your engines.
71+
</AlertDescription>
72+
</Alert>
5973
</div>
6074
</div>
6175
);

0 commit comments

Comments
 (0)