"use client" import Link from "next/link" import { Icon } from "@iconify/react" import { cn } from "@/lib/utils" type ProductDemoFrameProps = { fakeUrl: string hint?: string fullscreenHref?: string heightClass?: string /** Rapport largeur/hauteur de la zone contenu (ex. 1440/900). Prioritaire sur heightClass. */ aspectRatio?: number children: React.ReactNode className?: string } export function ProductDemoFrame({ fakeUrl, hint, fullscreenHref, heightClass = "h-[22rem] sm:h-[26rem] lg:h-[28rem]", aspectRatio, children, className, }: ProductDemoFrameProps) { return (
{fakeUrl}
{fullscreenHref ? ( Plein écran ) : null}
{children}
{hint ? (

{hint}

) : null}
) }