"use client";

import { FaChartBar, FaGlobe, FaUserPlus } from "react-icons/fa6";
import {
  FaChartLine,
  FaClipboardCheck,
  FaClock,
  FaFileAlt,
  FaFileSignature,
  FaGift,
  FaHandshake,
  FaHandsHelping,
  FaLock,
  FaPiggyBank,
  FaShieldAlt,
  FaTruck,
  FaWifi,
} from "react-icons/fa";

import { INTERNAL_PAGES } from "@/constants/pages-mapping/internal-pages-mapping";
import {
  Service,
  ServiceUnitProps,
} from "@/components/pages/client/services/services";
import ServiceFive from "@/public/client/services/5.webp";
import Hero from "@/components/pages/client/services/sections/hero";
import AboutTheService from "@/components/pages/client/services/sections/about-the-service";
import WhatElseWeCanDo from "@/components/pages/client/services/sections/what-else-we-can-do";
import Testimonials from "@/components/pages/client/services/sections/testimonials";
import FinalCTA from "@/components/pages/client/services/sections/final-cta";
import CaseStudy from "@/components/pages/client/services/sections/case-studies";
import NomensaLogo from "@/public/client/services/testimonials-logos/panel-management/nomensa.webp";
import TechInsightsLogo from "@/public/client/services/testimonials-logos/panel-management/tech-insights.webp";

export const PANEL_MANAGEMENT: Service = {
  slug: "panel-management",
  title: "Panel management",
  description:
    "Building and managing bespoke panels of participants for ongoing research.",
  imgSrc: ServiceFive,
  alt: "A group of people sitting in chairs having a discussion in a loft-style office with a whiteboard.",
  icon: FaChartBar,
  href: INTERNAL_PAGES.client.services.panelManagement,
  serviceCharacteristics: {
    about:
      "As part of our panel service, PFR can source participants via our engaged database, using free find methods or by utilising your customer data to build customised pools of participants that can support you to run agile and ongoing research. Once the panel is build, People for Research can manage communication, logistics, and engagement to facilitate smooth research.",
    catchySentence: "Your go-to resource for ongoing participant engagement.",
    whyPFR: {
      title:
        "Why you should choose People for Research to be your research panel recruitment and management partner",
      content: [
        {
          title:
            "Our experience enables us to provide a consultative service and build bespoke recruitment/management plans to ensure quality delivery",
          icon: FaHandsHelping,
        },
        {
          title:
            "Our dedicated panel managers generate participant buy-in throughout the panel lifecycle by building relationships and offering a human element to an online panel, keeping our panel engagement rate at 97%",
          icon: FaHandshake,
        },
        {
          title:
            "Exclusivity - all participants opted into your panel are excluded from taking part in any other research via PFR for the duration of your panel",
          icon: FaLock,
        },
        {
          title:
            "Ability to review and sign off all participants before onboarding them into your panel, ensuring PFR are recruiting your target audience, plus easy access to your panel via our panel management system",
          icon: FaClipboardCheck,
        },
        {
          title:
            "Cost saving - our 'per sprint' project management fees are lower than recruiting fresh participants every time you need to run research. Maximise your budget while obtaining critical insights",
          icon: FaPiggyBank,
        },
        {
          title:
            "Quicker access to hard-to-reach audiences. Our lead time is reduced from 15 to 5 working days, allowing you to run more impromptu research",
          icon: FaClock,
        },
        {
          title:
            "UK's biggest participant community and a growing global database with people from over 140 countries",
          icon: FaGlobe,
        },
        {
          title:
            "Fully GDPR-compliant process, accredited by the Market Research Society and Fair Data partners",
          icon: FaShieldAlt,
        },
        {
          title:
            "Ability to track past participation, which is updated after every round of research. This reduces the risk of over-selection and participation fatigue, allowing for completely unbiased research",
          icon: FaChartLine,
        },
      ],
    },
    whatElseWeCanDo: {
      title: "What else can People for Research do for you",
      content: [
        {
          title: "Incentive management",
          description:
            "Handling rewards and compensations for your participants efficiently.",
          icon: FaGift,
        },
        {
          title: "Consent form management",
          description:
            "Ensuring all consent forms are properly managed and stored.",
          icon: FaFileSignature,
        },
        {
          title: "Assistance with logistics and technical support",
          description:
            "Providing logistical support and technical assistance throughout your project.",
          icon: FaTruck,
        },
        {
          title: "Guided internet connection and tech checks",
          description:
            "Helping participants with internet connectivity and technical checks.",
          icon: FaWifi,
        },
        {
          title: "Support at the initial stages of profiling",
          description:
            "Assisting with the initial stages of participant profiling and recruitment.",
          icon: FaClipboardCheck,
        },
        {
          title: "Replace panel drop-outs",
          description:
            "Quickly replacing panel drop-outs in line with the pre-agreed process to maintain study integrity.",
          icon: FaUserPlus,
        },
        {
          title: "Summary report",
          description:
            "Creating a report once the panel has ended to outline all relevant recruitment and participation details, including a breakdown of used participants, engagement level and more.",
          icon: FaFileAlt,
        },
      ],
    },
    testimonials: [
      {
        companyName: "Tech Insights",
        headline:
          "Connecting with niche technology users through robust panel and diligence",
        testimonial:
          "The team at People for Research have allowed us to connect with niche technology users time and time again through the availability of a robust panel, time-critical scheduling, and good old fashioned diligence throughout the life of our projects.",
        logo: TechInsightsLogo,
      },
      {
        companyName: "Nomensa",
        headline:
          "Smooth logistics and high-quality participants for challenging brief",
        testimonial:
          "We are so pleased with the work PFR did for us. We had a really specific and challenging brief set across four locations, logistics were all arranged smoothly and efficiently to let our team get the interviews done. Most Importantly I have to commend the quality of our participants, we got such great insight from some truly fascinating people, which will be used to create a whole suite of new digital products over the next 12 months. Thanks again and we're looking forward to the next round!",
        logo: NomensaLogo,
      },
    ],
  },
};

function PanelManagement({ featuredPost }: ServiceUnitProps) {
  const { title, description, imgSrc, alt } = PANEL_MANAGEMENT;
  const { catchySentence, about, whyPFR, whatElseWeCanDo, testimonials } =
    PANEL_MANAGEMENT.serviceCharacteristics;

  return (
    <>
      <Hero
        description={description}
        image={imgSrc}
        imageAlt={alt}
        title={title}
      />
      <AboutTheService
        catchySentence={catchySentence}
        description={about}
        whyPFRSection={whyPFR}
      />
      {whatElseWeCanDo && <WhatElseWeCanDo whatElseWeCanDo={whatElseWeCanDo} />}
      {featuredPost?.feature_image && <CaseStudy post={featuredPost} />}
      {testimonials && <Testimonials testimonials={testimonials} />}
      <FinalCTA />
    </>
  );
}

export default PanelManagement;
