import Image from "next/image"; import Link from "next/link"; import type { ReactNode } from "react"; interface SectionCardProps { title: string; icon?: string; actionHref?: string; actionLabel?: string; children: ReactNode; className?: string; bodyClassName?: string; } /** * Consistent, restrained panel used across the home page. Replaces the * per-section neon gradients with a single calm surface + hairline divider so * the page reads as professional rather than game-like. */ export function SectionCard({ title, icon, actionHref, actionLabel, children, className, bodyClassName, }: SectionCardProps) { return (
{icon && ( )}

{title}

{actionHref && actionLabel && ( {actionLabel} )}
{children}
); }