import {SecuritySummaryReportResultType} from "@/types/security-summary";
import {Card, CardContent, CardDescription, CardHeader, CardTitle} from "@/Components/ui/card";
import {Globe} from "lucide-react";
import React from "react";

export default function OverviewSimilarDomainsCard({ reportData }: { reportData: SecuritySummaryReportResultType }) {
    return (
        <Card>
            <CardHeader>
                <CardTitle className="flex items-center gap-2">
                    <Globe className="w-5 h-5"/>
                    Similar Domains
                </CardTitle>
                <CardDescription>Number of similar Domains</CardDescription>
            </CardHeader>
            <CardContent>
                <div className="text-3xl font-bold">{reportData.n_similar_domains}</div>
            </CardContent>
        </Card>
    )
}
