People.js
3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import React from "react";
import Link from "next/link";
import Image from "next/image";
import Heading from "@/components/reuseables/Heading";
import { motion } from "framer-motion";
import { fadeIn, slideFromLeft } from "@/components/reuseables/variants";
import { Col, Container, Row } from "react-bootstrap";
import { cleanImage } from "@/layout/imageHandling";
const heading = [
{
title: "People",
subtitle: "lorem",
description:
"Our people blend expertise with empathy, translating financial complexities into personalized solutions. Our team of experts come from diverse backgrounds & with vast experiences to deliver across various service & functional areas.",
},
];
const data = [
{
icon: "ri-checkbox-multiple-line",
title: "Analytical",
des: "Our finance and tax experts unpack complex topics with sharp analysis to guide your business decisions.",
},
{
icon: "ri-pie-chart-2-line",
title: "Detail Oriented",
des: "Our team of detail-oriented finance and tax experts help you uncover the best path forward for your business.",
},
{
icon: "ri-medal-line",
title: "Strategic",
des: "Our team's strategic finance expertise delivers in-depth, insightful analysis for informed business decisions.",
},
];
const People = ({ people }) => {
// console.log(people, "people");
return (
<>
<div className="people ptb-100">
<Container>
<Row className="align-items-center flex-column-reverse flex-lg-row">
<Col lg={6} md={12}>
<div className="call-back-request-img">
<motion.div
variants={slideFromLeft(0.5)}
initial={"hidden"}
whileInView={"show"}
viewport={{ once: false, amount: 0.4 }}
>
<Image
src={cleanImage(people.Image?.url)}
fill
className="img-fluid position-relative"
alt={
people.Image?.alternativeText
? people.Image?.alternativeText
: "image"
}
/>
</motion.div>
</div>
</Col>
<Col lg={6} md={12}>
<div className="about-content">
{/* <span className="sub-title">{heading[0].subtitle}</span> */}
<Heading el="h2" heading={people?.Heading} className="h2" />
<p>{people?.Description}</p>
<div className="row justify-content-center">
{[people].flat().map(
(item, index) =>
item && (
<div className="single-call-back-box" key={index}>
<ul className="features-list">
{item.peoplelist?.map((item, idx) => (
<li key={idx} className="rule-listing">
<div className="number">0{idx + 1}</div>
<h3>{item?.heading}</h3>
<p>{item?.description}</p>
</li>
))}
</ul>
</div>
)
)}
</div>
</div>
</Col>
</Row>
</Container>
</div>
</>
);
};
export default People;