GRV-Summit-Site/components/partners/PartnerCard.tsx
“kirukib” efa48f6f6b
Some checks are pending
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Waiting to run
Refine topography to hero and footer, improve readability and hero motion.
Limit mainwhite pattern to the landing hero and a bottom footer band; remove it from sections and page headers. Add vertical water-flow animation and stronger hero particles with hover boost. Fix green text on white sections and card descriptions in green bands, including the two-days program cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 14:29:39 +03:00

45 lines
1.5 KiB
TypeScript

import Link from "next/link";
import type { PartnerProfile } from "@/content/partners";
import { PartnerLogoPlaceholder } from "@/components/brand/PartnerLogoPlaceholder";
import { Card, CardContent, CardDescription, CardHeader } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
type Props = {
partner: PartnerProfile;
tierLabel?: string;
};
export function PartnerCard({ partner, tierLabel }: Props) {
return (
<Card className="topo-card-surface h-full border-border/80 bg-white text-[#1a5c38]">
{tierLabel && (
<p className="px-6 pt-6 text-xs font-semibold uppercase tracking-widest text-muted-foreground">
{tierLabel}
</p>
)}
<CardHeader className={tierLabel ? "pt-2" : undefined}>
<PartnerLogoPlaceholder
size="lg"
className="w-full border-[#1a5c38]/20 bg-[#f0f5f2] text-[#1a5c38]/50"
/>
</CardHeader>
<CardContent className="flex flex-1 flex-col">
<CardDescription className="flex-1 text-base leading-relaxed">
{partner.description}
</CardDescription>
{partner.url && !partner.isPlaceholder && (
<Button
variant="link"
className="topo-card-link mt-4 h-auto p-0"
asChild
>
<Link href={partner.url} target="_blank" rel="noopener noreferrer">
More info
</Link>
</Button>
)}
</CardContent>
</Card>
);
}