import React from 'react'; import { motion } from 'framer-motion'; import { useUserStore } from '@/store/userStore'; interface BentoCardProps { title: string; description: string; icon: React.ReactNode; colSpan?: number; rowSpan?: number; children?: React.ReactNode; className?: string; delay?: number; } export const BentoCard: React.FC = ({ title, description, icon, colSpan = 1, rowSpan = 1, children, className = '', delay = 0, }) => { const { isDark } = useUserStore(); const bg = isDark ? 'bg-white/5 border-white/10' : 'bg-gray-50 border-gray-200'; const hoverBg = isDark ? 'hover:bg-white/10' : 'hover:bg-gray-100'; const textTitle = isDark ? 'text-gray-100' : 'text-gray-900'; const textDesc = isDark ? 'text-gray-400' : 'text-gray-600'; return (
{icon}

{title}

{description}

{children}
); }; interface BentoGridProps { children: React.ReactNode; } export const BentoGrid: React.FC = ({ children }) => { return (
{children}
); };