import React from 'react'; import { Link } from 'react-router-dom'; import { ArrowRightIcon, StarIcon } from '@phosphor-icons/react'; import { motion } from 'framer-motion'; import GenerativeArt from './GenerativeArt'; import { appIcons } from '../utils/appIcons'; const AppCard = ({ app }) => { const { to, title, description, icon, pinned_order } = app; const Icon = appIcons[icon] || appIcons[`${icon}Icon`] || StarIcon; return ( {/* Visual Header */}
{/* Icon Overlay */}
{Icon && }
{/* Pinned Badge */} {pinned_order && (
)}
{/* Content */}

{title}

{description}

Open App
); }; export default AppCard;