GRV-Summit-Site/components/partners/PartnerSectionBlock.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

34 lines
935 B
TypeScript

import type { PartnerSection } from "@/content/partners";
import { PartnerCard } from "@/components/partners/PartnerCard";
import { Separator } from "@/components/ui/separator";
type Props = {
section: PartnerSection;
showTitle?: boolean;
};
export function PartnerSectionBlock({ section, showTitle = true }: Props) {
return (
<div className="space-y-8">
{showTitle && (
<>
<h2 className="text-3xl font-bold tracking-tight text-[#0d3d26]">
{section.title}
</h2>
<Separator />
</>
)}
{section.tierLabel && (
<p className="text-xs font-semibold uppercase tracking-widest text-[#1a5c38]">
{section.tierLabel}
</p>
)}
<div className="grid gap-6 md:grid-cols-2">
{section.partners.map((partner) => (
<PartnerCard key={partner.name} partner={partner} />
))}
</div>
</div>
);
}