Spaces:
Build error
Build error
File size: 749 Bytes
b5812b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import Counter from './Counter';
import TodoList from './TodoList';
export default function InteractiveSection() {
return (
<section className="py-20 bg-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Try It Out
</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
Experience the interactivity with these demo components built with React state management.
</p>
</div>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8">
<Counter />
<TodoList />
</div>
</div>
</section>
);
} |