Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion apps/dashboard/src/app/(app)/team/[team_slug]/(team)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ import { type Project, getProjects } from "@/api/projects";
import { getTeamBySlug } from "@/api/team";
import { getThirdwebClient } from "@/constants/thirdweb.server";
import { subDays } from "date-fns";
import { CircleAlertIcon } from "lucide-react";
import { redirect } from "next/navigation";
import {
Alert,
AlertDescription,
AlertTitle,
} from "../../../../../@/components/ui/alert";
import { getAuthToken } from "../../../api/lib/getAuthToken";
import { loginRedirect } from "../../../login/loginRedirect";
import { InviteTeamMembersButton } from "./_components/invite-team-members-button";
Expand Down Expand Up @@ -50,12 +56,20 @@ export default async function Page(props: {
</div>
</div>

<div className="container flex grow flex-col pt-8 pb-20">
<div className="container flex grow flex-col gap-6 pt-8 pb-20">
<TeamProjectsPage
projects={projectsWithTotalWallets}
team={team}
client={client}
/>
<Alert variant={"info"}>
<CircleAlertIcon className="h-4 w-4" />
<AlertTitle>Looking for Engines?</AlertTitle>
<AlertDescription>
Engines have moved inside projects. Open or create a project to
manage your engines.
</AlertDescription>
</Alert>
</div>
</div>
);
Expand Down
Loading