Technology.js 7.13 KB
import React, { useState } from "react";
import { Tab, Tabs, TabPanel } from "react-tabs";
import { Col, Container, Row } from "react-bootstrap";
import Heading from "@/components/reuseables/Heading";
import Image from "next/image";
import IndustrySidebar from "./IndustrySidebar";
import Clientele from "@/components/reuseables/Clientele";
import { motion } from "framer-motion";
import { fadeIn, slideFromRight } from "@/components/reuseables/variants";
const OurApproachData = [
  {
    title: "Technology",
    subtitle: "Our Approach",
    paragraphs: [
      "Whether you are a product or a service company, we deliver financial solutions that keep you ahead of the curve. We assist Tech companies in optimizing their financial operations, managing stakeholder relationships, and navigating the business finance environment. Our goal is to empower technology-driven businesses to scale and succeed.",
    ],
    imageSrc: "/images/industry/technology.png",
    imageAlt: "OurApproch",
  },
  // Add more objects here if you have more content sections
];
const Sidebar = [
  { name: "Transaction Advisory" },
  { name: "Business Advisory" },
  { name: "Risk Advisory" },
];

const TransactionAdvisory = [
  {
    title: "Due Diligence ",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Deal Advisory",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Mergers & Acquisitions",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Fund Raise Assistance",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Restructuring",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Corporate Law Advisory",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
];

const BusinessAdvisory = [
  {
    title: "ESOP Structuring ",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Business Modelling & Valuation",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Transfer Pricing ",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Strategic Finance Office",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Cross Border Transactions",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Structuring around Taxation",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  // Add other services here...
];

const RiskAdvisory = [
  {
    title: "Establishing Process & Internal Controls",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  {
    title: "Review of Internal Controls",
    serviceIcon: "ri-group-2-line",
    descr: "Lorem Ipsum is simply dummy text",
  },
  // Add other services here...
];

const serviceData = [TransactionAdvisory, BusinessAdvisory, RiskAdvisory];

const partners = [
  {
    image: "/images/partner/partner1.png",
    altText: "partner",
    link: "#",
  },
  {
    image: "/images/partner/partner2.png",
    altText: "partner",
    link: "#",
  },
  {
    image: "/images/partner/partner1.png",
    altText: "partner",
    link: "#",
  },
  {
    image: "/images/partner/partner2.png",
    altText: "partner",
    link: "#",
  },
  {
    image: "/images/partner/partner1.png",
    altText: "partner",
    link: "#",
  },
];
const Technology = () => {
  const [selectedIndex, setSelectedIndex] = useState(0);

  return (
    <>
      <div className="our-approch ptb-100" id="technology">
        <Container>
          {OurApproachData.map((item) => (
            <Row className="align-items-center" key={item.id}>
              <Col lg={6} md={12}>
                <div className="what-we-do-text">
                  <span className="sub-title">{item.subtitle}</span>
                  <Heading el="h2" heading={item.title} className="h2" />
                  {item.paragraphs.map((paragraph, index) => (
                    <p key={index}>{paragraph}</p>
                  ))}
                </div>
              </Col>

              <Col lg={6} md={12}>
                <div>
                  <motion.div
                    variants={fadeIn(0.4)}
                    initial={"hidden"}
                    whileInView={"show"}
                    viewport={{ once: false, amount: 0.2 }}
                  >
                    <Image
                      src={item.imageSrc}
                      alt={item.imageAlt}
                      layout="fill"
                      className="img-fluid image rounded-5"
                    />
                  </motion.div>
                </div>
              </Col>
            </Row>
          ))}
        </Container>
      </div>
      <section className="bg-light pb-100 pt-100">
        <Container>
          <Row>
            <Col md={3} sm={12}>
              <IndustrySidebar
                title="CFO Services"
                services={Sidebar}
                selectedIndex={selectedIndex}
                setSelectedIndex={setSelectedIndex}
              />
            </Col>
            <Col md={9} sm={12}>
              <Tabs selectedIndex={selectedIndex}>
                {serviceData.map((services, index) => (
                  <TabPanel key={index}>
                    <Row className="justify-content-center align-items-center">
                      {services.map((service, i) => (
                        <Col lg={4} md={6} sm={6} key={i}>
                          <motion.div
                            variants={slideFromRight(0.5 * i)}
                            initial={"hidden"}
                            whileInView={"show"}
                            viewport={{ once: false, amount: 0.4 }}
                          >
                            <div className="single-services-item  projects-details-info">
                              <div className="d-flex align-items-center icon icon1">
                                <i className={service.serviceIcon}></i>
                              </div>
                              <h5>{service.title}</h5>
                              {/* <p>{service.descr}</p> */}
                            </div>
                          </motion.div>
                        </Col>
                      ))}
                    </Row>
                  </TabPanel>
                ))}
              </Tabs>
            </Col>
          </Row>
        </Container>
        <Container className="pt-100">
          <Row>
            <Col md={3} sm={12}>
              <div className="what-we-do-text text-left">
                <span className="sub-title">Lorem</span>
                <Heading el="h2" heading="Clientele" />
              </div>
            </Col>
            <Col md={8} sm={12} className="align-self-center">
              <Clientele partners={partners} />
            </Col>
          </Row>
        </Container>
      </section>
    </>
  );
};

export default Technology;