Files
prowler/ui/components/scans/no-providers-added.tsx
T

44 lines
1.5 KiB
TypeScript

"use client";
import { Card, CardBody } from "@heroui/card";
import React from "react";
import { InfoIcon } from "../icons/Icons";
import { CustomButton } from "../ui/custom";
export const NoProvidersAdded = () => {
return (
<div className="flex min-h-screen items-center justify-center">
<div className="mx-auto w-full max-w-7xl px-4">
<Card className="dark:bg-prowler-blue-400 mx-auto w-full max-w-3xl rounded-lg">
<CardBody className="flex flex-col items-center gap-4 p-6 text-center sm:p-8">
<div className="flex flex-col items-center gap-4">
<InfoIcon className="h-10 w-10 text-gray-800 dark:text-white" />
<h2 className="text-2xl font-bold text-gray-800 dark:text-white">
No Cloud Providers Configured
</h2>
</div>
<div className="flex flex-col items-center gap-3">
<p className="text-md leading-relaxed text-gray-600 dark:text-gray-300">
No cloud providers have been configured. Start by setting up a
cloud provider.
</p>
</div>
<CustomButton
asLink="/providers/connect-account"
ariaLabel="Go to Add Cloud Provider page"
className="w-full max-w-xs justify-center"
variant="solid"
color="action"
size="lg"
>
Get Started
</CustomButton>
</CardBody>
</Card>
</div>
</div>
);
};