"use client" /** * Featured promo — same shelf card surface and mock as {@link ProductShelves}, * with Ivy on the title and a dismiss control for the storefront slot. */ import { Link } from "react-router" import { Button } from "@/components/ui/button" import { Tip } from "@/components/ui/tip" import { cn } from "@/lib/utils" import type { ProductHomeCard } from "@/lib/product-home" import { ProductMarkTile } from "./product-home-parts" import { shelfCardField, ShelfCardIllustration } from "./product-shelf-illustration" import { ShelfCardAction } from "./shelf-card-action" export function FeaturedShelfBanner({ card, onDismiss, }: { card: ProductHomeCard onDismiss: () => void }) { const fieldStyle = { backgroundColor: shelfCardField(card.brandColor), } as React.CSSProperties return (