Spaces:
Runtime error
Runtime error
| import { siteConfig } from '@/lib/site' | |
| export function Features() { | |
| return ( | |
| <section className="py-24 px-4 bg-gray-50 dark:bg-gray-900"> | |
| <div className="max-w-7xl mx-auto"> | |
| <h2 className="text-3xl md:text-4xl font-bold text-center mb-12"> | |
| Key Features | |
| </h2> | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| {siteConfig.features.map((feature, index) => ( | |
| <div | |
| key={index} | |
| className="p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg" | |
| > | |
| <div | |
| className="w-12 h-12 rounded-lg mb-4" | |
| style={{ | |
| background: `linear-gradient(135deg, ${siteConfig.primaryColor}, ${siteConfig.secondaryColor})` | |
| }} | |
| /> | |
| <h3 className="text-lg font-semibold mb-2">{feature}</h3> | |
| <p className="text-gray-600 dark:text-gray-400"> | |
| Powerful tools and features to enhance your workflow. | |
| </p> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| </section> | |
| ) | |
| } | |