"use client"; import React, { useState } from 'react'; import Navbar from '@/components/Navbar/navbar'; import Footer from "@/components/footer"; import { motion } from 'framer-motion'; import { FaArrowRight } from 'react-icons/fa'; const heading = "Marketplace - Discover and Try AI Micro SaaS Tools" const description = "Explore a variety of AI-powered tools designed to enhance your business operations. Try them out and purchase the ones that fit your needs." const tools = Array.from({ length: 50 }, (_, i) => ({ name: `Tool ${i + 1}`, description: `Tool ${i + 1} is designed to help you with various tasks and improve your workflow.`, image: `https://via.placeholder.com/150?text=Tool+${i + 1}`, category: i % 5 === 0 ? 'Productivity' : i % 5 === 1 ? 'Marketing' : i % 5 === 2 ? 'Sales' : i % 5 === 3 ? 'HR' : 'Project Management', link: `https://example.com/tool${i + 1}` })); const categories = ['All', 'Productivity', 'Marketing', 'Sales', 'HR', 'Project Management']; export default function Marketplace() { const [selectedCategory, setSelectedCategory] = useState('All'); const filteredTools = selectedCategory === 'All' ? tools : tools.filter(tool => tool.category === selectedCategory); return (
{tool.description}