AreasofExpertise.js
3.68 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
import React from "react";
import Image from "next/image";
import { Col, Container, Row } from "react-bootstrap";
import { motion } from "framer-motion";
import { fadeIn } from "@/components/reuseables/variants";
import Heading from "@/components/reuseables/Heading";
import Link from "next/link";
import { cleanImage } from "@/layout/imageHandling";
const areasofExpertise = [
{
id: 1,
image: "/images/home/areas_of_expertise/assurance.webp",
altText: "Project Image",
title: "Assurance",
category:
"Value creation for us means delivering more than advice; it's about tangible, assured results through our integrated Assurance expertise",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 2,
image: "/images/home/areas_of_expertise/direct_tax.webp",
altText: "Project Image",
title: "Direct Tax",
category: "Expertise in Indian and International tax challenges",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 3,
image: "/images/home/areas_of_expertise/indirect_tax.webp",
altText: "Project Image",
title: "Indirect Tax",
category: "Deep expertise navigating GST complexities",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 4,
image: "/images/home/areas_of_expertise/corporate_legal.webp",
altText: "Project Image",
title: "Corporate Legal",
category:
"Our Corporate Legal expertise ensures we cover all the entire ground in all our engagements",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 5,
image: "/images/home/areas_of_expertise/corporate_law.webp",
altText: "Project Image",
title: "Corporate Law and FEMA",
category:
"Setting up a company to getting Foreign Control law clearance - we do it all",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 6,
image: "/images/home/areas_of_expertise/cross_border_transactions.webp",
altText: "Project Image",
title: "Cross Border Transactions",
category: "Excelling at complex cross-border transactions",
linkText: "Read More",
detailsUrl: "/projects/details",
},
];
const AreasofExpertise = ({Areas}) => {
// console.log(Areas, "areas");
return (
<>
<div className="areas-of-expertise pt-100 pb-70 bglight">
<Container>
<div className="section-title">
<Heading el="h2" heading="Areas of Expertise" className="h2" />
</div>
<Row className="justify-content-center">
{Areas &&
Areas.map((item, index) => {
// console.log("Areas", item);
return (
<Col lg={4} md={6} key={item.id}>
<div className="single-projects-box">
<motion.div
variants={fadeIn(index * 1)}
initial={"hidden"}
whileInView={"show"}
viewport={{ once: false, amount: 0.5 }}
>
<Image
src={cleanImage(item.Image?.url)}
alt={item.altText}
layout="fill"
className="img-fluid rounded-3 image"
/>
<h3>{item.Title}</h3>
<span className="default-btn area_expertise">
{item.Description}
</span>
</motion.div>
</div>
</Col>
);
})}
</Row>
</Container>
</div>
</>
);
};
export default AreasofExpertise;