import * as React from "react"; import { Card, CardContent } from "../../ui/card"; import { Button } from "../../ui/button"; import { ImageWithFallback } from "../../common/ImageWithFallback"; import { Badge } from "../../ui/badge"; import { motion } from "motion/react"; interface ServiceCardProps { name: string; icon: string; color: string; imageUrl?: string; onClick: () => void; index?: number; } export const ServiceCard = React.forwardRef( ({ name, icon, color, imageUrl, onClick, index = 0 }, ref) => { return (
{imageUrl ? ( ) : ( {icon} )}

{name}

클릭하여 연결
); } ); ServiceCard.displayName = "ServiceCard";