KnowledgeContent.js
2.57 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
import React from "react";
import Image from "next/image";
import { Col, Container, Row } from "react-bootstrap";
import Heading from "@/components/reuseables/Heading";
import { motion } from "framer-motion";
import { fadeIn } from "@/components/reuseables/variants";
const serviceContent = [
{
subTitle:
"Knowledge is the cornerstone of Advith. We read & research, not only to deliver but primarily to learn with a view to achieve a 360º perspective on various subjects.",
title: "KnowledgeShack",
paragraphs: [
"Knowledge is the cornerstone of Advith. We read & research, not only to deliver but primarily to learn with a view to achieve a 360º perspective on various subjects.",
],
},
// You can add more content objects here
];
const KnowledgeContent = () => {
return (
<>
<div className="knowledge-area ptb-100">
<Container>
<Row className="align-items-center">
<Col lg={5} md={12}>
<div className="call-back-request-image">
<motion.div
variants={fadeIn(0.4)}
initial={"hidden"}
whileInView={"show"}
viewport={{ once: false, amount: 0.2 }}
>
<Image
src="/images/knoweledge/knowledge.webp"
alt="image"
width={300}
height={400}
className="img-fluid image rounded-5"
/>
</motion.div>
<Image
width={300}
height={300}
src="/images/shape/shape8.png"
className="shape4"
alt="image"
/>
<Image
width={300}
height={300}
src="/images/shape/shape8.png"
className="shape5"
alt="image"
/>
</div>
</Col>
<Col lg={7} md={12}>
{serviceContent.map((content, index) => (
<div className="call-back-request-content" key={index}>
{/* <span className="sub-title">{content.subTitle}</span> */}
<Heading el="h2" heading={content.title} className="h2" />
{content.paragraphs.map((paragraph, pIndex) => (
<p key={pIndex}>{paragraph}</p>
))}
</div>
))}
</Col>
</Row>
</Container>
</div>
</>
);
};
export default KnowledgeContent;