diff --git a/frontend/src/layouts/resources.tsx b/frontend/src/layouts/resources.tsx
index e3f940f6c..03a6253a8 100644
--- a/frontend/src/layouts/resources.tsx
+++ b/frontend/src/layouts/resources.tsx
@@ -4,6 +4,11 @@ import { Input } from "@ui/input";
import { PlusCircle } from "lucide-react";
import { ReactNode, useState } from "react";
import { Page } from "./page";
+import { ResourceTarget } from "@monitor/client/dist/types";
+import { NewServer } from "@resources/server/new";
+import { NewBuild } from "@resources/build/new";
+import { NewBuilder } from "@resources/builder/new";
+import { NewAlerter } from "@resources/alerter/new";
export const Resources = ({
type,
@@ -11,7 +16,7 @@ export const Resources = ({
icon,
components,
}: {
- type: string;
+ type: ResourceTarget["type"];
summary: ReactNode;
icon: ReactNode;
components: (search: string) => ReactNode;
@@ -44,7 +49,11 @@ export const Resources = ({
New {type}
-
+ {type === "Deployment" && }
+ {type === "Server" && }
+ {type === "Build" && }
+ {type === "Builder" && }
+ {type === "Alerter" && }
}
>