diff --git a/apps/web/src/components/ui/SponsorCard.tsx b/apps/web/src/components/ui/SponsorCard.tsx new file mode 100644 index 00000000..2dd4802b --- /dev/null +++ b/apps/web/src/components/ui/SponsorCard.tsx @@ -0,0 +1,60 @@ +import Image from "next/image"; +import { Card } from "./card"; +import { cn } from "@/lib/utils"; + +type SponsorCardProps = { + name: string; + description: string; + href: string; + logoSrc: string; + logoAlt?: string; + className?: string; + openInNewTab?: boolean; +}; + +const SponsorCard = ({ + name, + description, + href, + logoSrc, + logoAlt, + className, + openInNewTab = true, +}: SponsorCardProps) => { + + return ( + + +
+ {logoAlt +
+ +
+

{name}

+

+ {description} +

+
+
+
+ ); +} + +export default SponsorCard; \ No newline at end of file