diff --git a/components/Companies/partners.tsx b/components/Companies/partners.tsx index 2a5ef01..0c7d963 100644 --- a/components/Companies/partners.tsx +++ b/components/Companies/partners.tsx @@ -29,7 +29,7 @@ const customers = [ export function Partners() { return ( -
+
// Supported By
diff --git a/components/How/how.tsx b/components/How/how.tsx index 947e9a2..499cdb2 100644 --- a/components/How/how.tsx +++ b/components/How/how.tsx @@ -36,11 +36,11 @@ export default function HowItWorks() { }, [isHovering]); return ( -
-
-
-

How It Works

-

Transform your business with AI in three simple steps

+
+
+
+

How It Works

+

Transform your business with AI in three simple steps

@@ -58,7 +58,7 @@ export default function HowItWorks() {
-
+
{steps.map((step, index) => (
-

{step.title}

+

{step.title}

{step.description}

@@ -110,9 +110,9 @@ export default function HowItWorks() { transition-opacity duration-500 ${activeStep === index ? 'opacity-100' : 'opacity-50'} `}> - Step {index + 1} + Step {index + 1} {index < steps.length - 1 && ( - + )}
@@ -122,4 +122,4 @@ export default function HowItWorks() {
); -} \ No newline at end of file +} diff --git a/components/Navbar/MobileMenu.tsx b/components/Navbar/MobileMenu.tsx index d672669..cee2825 100644 --- a/components/Navbar/MobileMenu.tsx +++ b/components/Navbar/MobileMenu.tsx @@ -1,34 +1,465 @@ -// MobileMenu.tsx -import React from 'react'; -import { FaAngleDown } from "react-icons/fa"; +import React, { useState } from 'react'; +import { FaAngleDown, FaAngleUp } from "react-icons/fa"; +import { CgWebsite } from 'react-icons/cg'; +import { FaBook, FaBookmark, FaMicrophone, FaMoneyBillAlt, FaPen, FaServicestack, FaStore, FaUserCog, FaUserPlus, FaVideo } from 'react-icons/fa'; +import { GiArtificialIntelligence } from 'react-icons/gi'; +import { GoWorkflow } from 'react-icons/go'; +import { GrContactInfo, GrTemplate } from 'react-icons/gr'; +import { IoIosApps, IoIosDocument, IoIosMail, IoMdAnalytics, IoMdArrowRoundForward, IoMdClose } from 'react-icons/io'; +import { IoFlash, IoText } from 'react-icons/io5'; +import { LuWorkflow } from 'react-icons/lu'; +import { MdAutoAwesome, MdSecurity, MdStore, MdTranslate } from 'react-icons/md'; +import { RiMoneyEuroBoxFill, RiProductHuntFill } from 'react-icons/ri'; +import { VscTools } from 'react-icons/vsc'; interface MobileMenuProps { show: boolean; toggle: () => void; } +const menuItems = [ + { name: "Product", items: "productItems" }, + { name: "Solutions", items: "solutionItems" }, + { name: "Pricing", items: null }, + { name: "Resources", items: "resourceItems" }, +]; + const MobileMenu: React.FC = ({ show, toggle }) => { + const [openMenu, setOpenMenu] = useState(null); + + const toggleMenu = (menu: string) => { + setOpenMenu(openMenu === menu ? null : menu); + }; + return ( -
-
- +
+
+
    -
  • - Product -
  • -
  • - Solutions -
  • -
  • - Pricing -
  • -
  • - Resources -
  • + {menuItems.map((item) => ( +
  • +
    item.items && toggleMenu(item.name)} className="flex items-center justify-between w-48"> + {item.name} {item.items && (openMenu === item.name ? : )} +
    + {openMenu === item.name && item.items && ( +
    + {item.items === "productItems" && + productItems.map((category) => ( +
    +

    {category.category}

    + +
    + ))} + {item.items === "solutionItems" && + solutionItems.map((category) => ( +
    +

    {category.category}

    + +
    + ))} + {item.items === "resourceItems" && + resourceItems.map((category) => ( +
    +

    {category.category}

    + +
    + ))} +
    + )} +
  • + ))}
); }; export default MobileMenu; + + + + + +const productItems = [ + { + category: 'FEATURES', + list: [ + { + name: 'Series', + description: 'Drag - drop and create amazing workflows', + icon: , + link: '/series', + }, + { + name: 'Template', + description: 'Create awesome templates for easier integration', + icon: , + link: '/template', + }, + { + name: 'Tools', + description: 'For the non-techies, just input and output', + icon: , + link: '/tools', + }, + { + name: 'Click Video', + description: 'Create interactive videos for your clients', + icon: , + link: '/click-video', + }, + { + name: 'Writer', + description: 'Write with ease with built in AI text generator', + icon: , + link: '/writer', + }, + { + name: 'Website', + description: '', + icon: , + link: '/website', + }, + ], + }, + { + category: 'CAPABILITIES', + list: [ + { + name: 'App Integration', + description: 'Integrate your workflows in your apps', + icon: , + link: '/integrations', + }, + { + name: 'Data Syncing', + description: 'Keep your data up-to-date across platforms.', + icon: , + link: '/data-syncing', + }, + { + name: 'Analytics Dashboard', + description: 'Visualize your workflow performance.', + icon: , + link: '/analytics-dashboard', + }, + { + name: 'Micro-Saas', + description: 'Build Your MicroSAAS & Grow Your Community', + icon: , + link: '/micro-saas', + }, + ], + }, + { + category: "WHAT'S NEW", + list: [ + { + name: 'Improved Workflow Builder', + description: 'Build smarter workflows faster with new updates.', + icon: , + link: '/workflow-builder', + }, + { + name: 'Enhanced AI Writer', + description: 'Generate better, smarter content effortlessly.', + icon: , + link: '/ai-writer', + }, + { + name: 'Marketplace Expansion', + description: 'Explore more tools and integrations today.', + icon: , + link: '/marketplace-expansion', + }, + { + name: 'Upgraded Video Interactivity', + description: 'Create dynamic, engaging videos with ease.', + icon: , + link: '/video-interactivity', + }, + ], + }, +]; + + +interface SolutionItem { + category: string; + list: { + name: string; + description: string; + icon: React.ReactNode; + link?: string; + }[]; +} +const solutionItems: SolutionItem[] = [ + { + category: 'Overview', + list: [ + { + name: 'Marketing', + description: 'Revolutionize campaigns with AI-driven automation', + icon: , + link: '/marketing' + }, + { + name: 'Product Manager', + description: 'Streamline workflows and build smarter, faster products', + icon: , + link: '/product-manager' + }, + { + name: 'Sales', + description: 'Close deals faster with seamless, automated tools', + icon: , + link: '/sales' + }, + { + name: 'Finance', + description: 'Optimize processes and track budgets with ease', + icon: , + link: '/finance' + }, + { + name: 'HR', + description: 'Empower your team with smarter workflow solutions', + icon: , + link: '/hr' + }, + ], + }, + { + category: 'Enterprises', + list: [ + { + name: 'Services', + description: 'Transform operations with AI-driven service solutions', + icon: , + link: '/services' + }, + { + name: 'Security', + description: 'Protect your data with next-gen secure workflows', + icon: , + link: '/security' + }, + { + name: 'Marketplace', + description: 'Explore a wide range of AI-driven tools and solutions tailored for your business.', + icon: , + link: '/marketplace' + }, + { + name: 'GenAI Readiness Program', + description: 'Prepare your organization for the future with cutting-edge AI adoption strategies.', + icon: , + link: '/genai-readiness' + } + + ], + }, + { + category: 'Users', + list: [ + { + name: 'For Learners', + description: 'Learn smarter with intuitive tools and AI support', + icon: null, + link: '/learners' + }, + { + name: 'For Coders', + description: 'Code faster and build better with powerful tools', + icon: null, + link: '/coders' + }, + { + name: 'For Enterprises', + description: 'Scale operations with solutions built for enterprise growth', + icon: null, + link: '/enterprises' + }, + ], + }, +]; +const aiTools: { name: string; description: string; icon: React.ReactNode; link: string }[] = [ + { + name: 'Story Book', + description: 'Generate a story using the power of AI.', + icon: , + link: '/storybook', + }, + { + name: 'Audio Genie', + description: 'Generate and modify audio content effortlessly.', + icon: , + link: '/audiogenie', + }, + { + name: 'Custom Translator', + description: 'Neural Text translation system tailored to your needs.', + icon: , + link: '/translator', + }, + { + name: 'Text Classification', + description: 'Categorise text into user defined classes.', + icon: , + link: '/text-classification', + }, +]; + +// Resources Dropdown Component +interface ResourceItem { + category: string; + list: { + name: string; + description: string; + icon?: React.ReactNode; // Making icon optional as some items don't have it + link?: string; + }[]; +} + +const resourceItems: ResourceItem[] = [ + { + category: 'Learn', + list: [ + { + name: 'Demo', + description: 'Experience the power of automation-live now', + icon: , + link: '/demo' // Add the correct link + }, + { + name: 'Blogs', + description: 'Innovative insights to empower your next move', + icon: , + link: '/blogs' // Add the correct link + }, + { + name: 'Webinars', + description: 'Learn, connect, and grow with expert-led sessions', + icon: , + link: '/webinars' // Add the correct link + }, + { + name: 'Guides', + description: 'Step-by-step tools to unlock your potential', + icon: , + link: '/guides' // Add the correct link + }, + ], + }, + { + category: 'Build', + list: [ + { + name: 'API Doc', + description: 'Comprehensive API docs for seamless integrations', + icon: , + link: '/api-doc' // Add the correct link + }, + { + name: 'Videos', + description: 'Engage with interactive, on-demand video solutions', + icon: , + link: '/videos' // Add the correct link + }, + ], + }, + { + category: 'Services', + list: [ + { + name: 'Documentations', + description: 'Explore detailed resources to optimize your workflows', + icon: , + link: '/documentations' // Add the correct link + }, + { + name: 'Enterprise Contact', + description: 'Partner with us to scale your enterprise', + icon: , + link: '/enterprise-contact' // Add the correct link + }, + ], + }, + { + category: 'Resources', + list: [ + { + name: 'Books', + description: 'Discover knowledge to inspire and empower action', + icon: , + link: '/books' // Add the correct link + }, + { + name: 'Agents', + description: 'Your personalized support, every step of the way', + icon: , + link: '/agents' // Add the correct link + }, + { + name: 'Podcasts', + description: 'Tune in for fresh perspectives and expert advice', + icon: , + link: '/podcasts' // Add the correct link + }, + { + name: 'Newsletters', + description: 'Stay updated with the latest insights and tools', + icon: , + link: '/newsletters' // Add the correct link + }, + { + name: 'Bookmarks', + description: 'Save and revisit your go-to resources anytime', + icon: , + link: '/bookmarks' // Add the correct link + }, + ], + }, + { + category: 'Connect', + list: [ + { + name: 'Developer Connect', + description: 'Empower developers to create and integrate seamlessly', + icon: undefined, // No Icon + link: '/developer-connect' // Add the correct link + }, + { + name: 'Community', + description: 'Join a network of creators and innovators', + icon: undefined, // No Icon + link: '/community' // Add the correct link + }, + { + name: 'Meetups', + description: 'Collaborate, learn, and grow at local events', + icon: undefined, // No Icon + link: '/meetups' // Add the correct link + }, + ], + }, +]; \ No newline at end of file