import Image from "next/image";
import { GlassInfoCard } from "../ui/GlassInfoCard";
type GlassCardItem = {
text: string;
icon?: string;
};
type HeroVisualCollageProps = {
centerImage: string;
leftImage?: string;
rightImage?: string;
glassCards: GlassCardItem[];
isPhoneCenter?: boolean;
};
export function HeroVisualCollage({
centerImage,
leftImage,
rightImage,
glassCards,
isPhoneCenter = true,
}: HeroVisualCollageProps) {
return (
{/* Decorative backgrounds */}
{/* 1. Soft purple circle */}
{/* 2. SVG Dot grid */}
{/* 3. Small x marks */}
✕
✕
{/* LEFT IMAGE PANEL (Hidden or compact on small mobile) */}
{leftImage && (
)}
{/* RIGHT IMAGE PANEL */}
{rightImage && (
)}
{/* CENTER COMPONENT */}
{isPhoneCenter ? (
/* Phone Frame Container */
) : (
/* Central Logo / Visual Panel */
)}
{/* FLOATING GLASS CARDS (Positioned Absolute, scaled down on mobile) */}
{glassCards.length > 0 && (
{/* Card 1: Top Right */}
{glassCards[0] && (
)}
{/* Card 2: Bottom Left */}
{glassCards[1] && (
)}
{/* Card 3: Mid Left/Right */}
{glassCards[2] && (
)}
)}
);
}