Counter.js
1.09 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
import React from "react";
import { Container } from "react-bootstrap";
const funfact = [
{
id: 1,
number: "40",
sign: "K",
title: "Projects",
},
{
id: 2,
number: "10",
sign: "K",
title: "Case Study",
},
{
id: 3,
number: "12",
sign: "K",
title: "Clients",
},
{
id: 4,
number: "78",
sign: "K",
title: "Customers",
},
];
const Counter = () => {
return (
<>
<div className="funfacts-area bg-color">
<Container>
<div className="row justify-content-center">
{funfact &&
funfact.map((item) => (
<div className="col-lg-3 col-sm-3 col-6 col-md-3" key={item.id}>
<div className="single-funfacts-box">
<h3>
{item.number}
<span className="sign">{item.sign}</span>
</h3>
<p>{item.title}</p>
</div>
</div>
))}
</div>
</Container>
</div>
</>
);
};
export default Counter;