mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 23:10:00 +02:00
add "add targets" suggestion in info box
This commit is contained in:
parent
28bae40390
commit
9f87b8d271
1 changed files with 12 additions and 14 deletions
|
@ -7,6 +7,7 @@ import { Button } from "@/components/ui/button";
|
|||
import { InfoIcon, LinkIcon, CheckIcon, CopyIcon } from "lucide-react";
|
||||
import { useOrgContext } from "@app/hooks/useOrgContext";
|
||||
import { useResourceContext } from "@app/hooks/useResourceContext";
|
||||
import Link from "next/link";
|
||||
|
||||
type ResourceInfoBoxType = {};
|
||||
|
||||
|
@ -68,20 +69,17 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
|
|||
</span>
|
||||
</Button>
|
||||
</div>
|
||||
{/* <ul className="mt-3 space-y-1 text-sm list-disc list-inside">
|
||||
<li>
|
||||
Protocol:{" "}
|
||||
<span className="font-semibold">{protocol}</span>
|
||||
</li>
|
||||
<li>
|
||||
Subdomain:{" "}
|
||||
<span className="font-semibold">{subdomain}</span>
|
||||
</li>
|
||||
<li>
|
||||
Domain:{" "}
|
||||
<span className="font-semibold">{domain}</span>
|
||||
</li>
|
||||
</ul> */}
|
||||
|
||||
<p className="mt-3">
|
||||
To create a proxy to your private services,{" "}
|
||||
<Link
|
||||
href={`/${org.org.orgId}/settings/resources/${resource.resourceId}/connectivity`}
|
||||
className="text-primary hover:underline"
|
||||
>
|
||||
add targets
|
||||
</Link>{" "}
|
||||
to this resource
|
||||
</p>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
</Card>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue