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 { InfoIcon, LinkIcon, CheckIcon, CopyIcon } from "lucide-react";
|
||||||
import { useOrgContext } from "@app/hooks/useOrgContext";
|
import { useOrgContext } from "@app/hooks/useOrgContext";
|
||||||
import { useResourceContext } from "@app/hooks/useResourceContext";
|
import { useResourceContext } from "@app/hooks/useResourceContext";
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
type ResourceInfoBoxType = {};
|
type ResourceInfoBoxType = {};
|
||||||
|
|
||||||
|
@ -68,20 +69,17 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
|
||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
{/* <ul className="mt-3 space-y-1 text-sm list-disc list-inside">
|
|
||||||
<li>
|
<p className="mt-3">
|
||||||
Protocol:{" "}
|
To create a proxy to your private services,{" "}
|
||||||
<span className="font-semibold">{protocol}</span>
|
<Link
|
||||||
</li>
|
href={`/${org.org.orgId}/settings/resources/${resource.resourceId}/connectivity`}
|
||||||
<li>
|
className="text-primary hover:underline"
|
||||||
Subdomain:{" "}
|
>
|
||||||
<span className="font-semibold">{subdomain}</span>
|
add targets
|
||||||
</li>
|
</Link>{" "}
|
||||||
<li>
|
to this resource
|
||||||
Domain:{" "}
|
</p>
|
||||||
<span className="font-semibold">{domain}</span>
|
|
||||||
</li>
|
|
||||||
</ul> */}
|
|
||||||
</AlertDescription>
|
</AlertDescription>
|
||||||
</Alert>
|
</Alert>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue