AreasofExpertise.js
2.98 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
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";
const areasofExpertise = [
{
id: 1,
image: "/images/home/areas_of_expertise/assurance.webp",
altText: "Project Image",
title: "Assurance",
category: "lorem",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 2,
image: "/images/home/areas_of_expertise/direct_tax.webp",
altText: "Project Image",
title: "Direct Tax",
category: "lorem",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 3,
image: "/images/home/areas_of_expertise/indirect_tax.webp",
altText: "Project Image",
title: "Indirect Tax",
category: "lorem",
linkText: "Read More",
detailsUrl: "/projects/details",
},
{
id: 4,
image: "/images/home/areas_of_expertise/corporate_legal.webp",
altText: "Project Image",
title: "Corporate Legal",
category: "lorem",
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: "lorem",
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: "lorem",
linkText: "Read More",
detailsUrl: "/projects/details",
},
];
const AreasofExpertise = () => {
return (
<>
<div className="areas-of-expertise pt-100 pb-70 bglight">
<Container>
<div className="section-title">
<span className="sub-title">lorem</span>
<Heading el="h2" heading="Areas of Expertise" className="h2" />
</div>
<Row className="justify-content-center">
{areasofExpertise &&
areasofExpertise.map((item, index) => (
<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={item.image}
alt={item.altText}
layout="fill"
className="img-fluid rounded-3 image"
/>
<h3>{item.title}</h3>
<span>{item.category}</span>
</motion.div>
</div>
</Col>
))}
</Row>
</Container>
</div>
</>
);
};
export default AreasofExpertise;