mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-05-06 08:47:18 +00:00
d23c2f3b53
Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
42 lines
1.4 KiB
TypeScript
42 lines
1.4 KiB
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
|
|
import { Button, Card, CardContent } from "@/components/shadcn";
|
|
|
|
import { InfoIcon } from "../icons/Icons";
|
|
|
|
export const NoProvidersConnected = () => {
|
|
return (
|
|
<Card variant="base">
|
|
<CardContent className="flex w-full flex-col items-start gap-6 md:flex-row md:items-center md:justify-between md:gap-8">
|
|
<div className="flex flex-col gap-3">
|
|
<div className="flex items-center justify-start gap-3">
|
|
<InfoIcon className="h-6 w-6 text-gray-800 dark:text-white" />
|
|
<h2 className="text-lg font-bold text-gray-800 dark:text-white">
|
|
No Connected Providers
|
|
</h2>
|
|
</div>
|
|
<p className="text-sm text-gray-600 dark:text-gray-300">
|
|
No providers are currently connected. Connecting a provider is
|
|
required to launch on-demand scans.
|
|
</p>
|
|
<p className="text-sm text-gray-600 dark:text-gray-300">
|
|
Once the providers are correctly configured, this message will
|
|
disappear, and on-demand scans can be launched.
|
|
</p>
|
|
</div>
|
|
<div className="w-full md:w-auto md:shrink-0">
|
|
<Button
|
|
asChild
|
|
className="w-full justify-center md:w-fit"
|
|
aria-label="Go to Providers page"
|
|
>
|
|
<Link href="/providers">Review Providers</Link>
|
|
</Button>
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
);
|
|
};
|