import Layout from "../components/layout/Layout" import Link from "next/link" import { useState } from "react" const tabs = [ {name: 'Getting Started', icon: 'flaticon-mechanics'}, {name: 'My Account', icon: 'flaticon-suit'}, {name: 'Pricing Plans', icon: 'flaticon-price-label'}, {name: 'Other Questions', icon: 'flaticon-screenplay'} ] const tabContents = { 'Getting Started' : [ {title: 'What is MERMS, and how does it work?', desc: `MERMS operates on a cloud-based model, allowing users to access the software from anywhere, at any time. By leveraging advanced technology, MERMS streamlines processes, enhances collaboration, and provides real-time data analytics. This system automates routine tasks, enabling teams to focus on more strategic initiatives.`}, {title: 'What can I do with MERMS?', desc: `With MERMS, users can manage projects, track budgets, oversee inventory, and collaborate across different departments. Whether you're in finance, marketing, or operations, MERMS offers customizable solutions to cater to your specific needs. Not only can you streamline processes, but you can also improve decision-making with data-driven insights.`}, {title: 'Which Product and Tools does MERMS support?', desc: `MERMS supports a wide array of tools, including CRM systems, project management software, and financial applications. It integrates seamlessly with popular platforms like Slack, Microsoft Teams, and Google Workspace, allowing for a comprehensive management experience without losing functionality.`}, {title: 'Can I Automate with MERMS?', desc: `Yes! MERMS offers robust automation capabilities. Users can set up automated workflows for routine tasks, such as reporting, notifications, and data entry, minimizing human error and saving valuable time. This feature enhances productivity, making it easier for organizations to scale and adapt to changing needs.`} ], 'My Account': [ {title: 'Sign up and manage your account', desc: `Curabitur ac dapibus libero eu congue tristique neque.`}, ], 'Pricing Plans': [ {title: 'How much does MERMS cost?', desc: `Curabitur ac dapibus libero eu congue tristique neque.`}, ], 'Other Questions': [ {title: 'How do I get the error log?', desc: `Curabitur ac dapibus libero eu congue tristique neque.`}, ] } export default function Home() { const [activeTab, setActiveTab] = useState(tabs[0]) const handleOnClick = (tab) => { setActiveTab(tab) } const [isActive, setIsActive] = useState({ status: false, key: 0, }) const handleToggle = (key) => { if (isActive.key === key) { setIsActive({ status: false, }) } else { setIsActive({ status: true, key, }) } } return ( <>
{/* SECTION TITLE */}

How Can We Help?

{/* TABS NAVIGATION */}
    {/* TAB-1 LINK */} {tabs.map((tab, index)=>(
  • handleOnClick(tab)}>

    {tab.name}

  • ))}
{/* END TABS NAVIGATION */} {/* TABS CONTENT */}
{/* CONTENT */} {tabs.map((tab, index)=>(
    {tabContents[activeTab.name]?.map((content, index)=>(
  • handleToggle(index)}> {/* Question */}
    {content?.title}
    {/* Answer */}
    {/* Text */}

    {content?.desc}

  • ))}
))} {/* END OF CONTENT */}
{/* End row */}
{/* END TABS CONTENT */}
{/* End container */}
{/* END FAQs-4 */} {/* BANNER-9 ============================================= */}
) }