mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-25 21:04:19 +00:00
Co-authored-by: Alan Buscaglia <alanbuscaglia@MacBook-Pro.local> Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com> Co-authored-by: César Arroba <cesar@prowler.com> Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
44 lines
1.5 KiB
TypeScript
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>
|
|
);
|
|
};
|