GuestReviews.js
4.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
100
101
102
103
104
105
106
107
108
import Image from "next/image";
import React from "react";
const GuestReviews = () => {
const guestReviewsData = [
{
name: "Andrea",
month: "October 2023",
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam."
},
{
name: "Andrea",
month: "October 2023",
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam."
},
{
name: "Andrea",
month: "October 2023",
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam."
},
{
name: "Andrea",
month: "October 2023",
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam."
}
];
return (
<>
<section className="guest-reviews-session">
<div className="container">
<div className="row">
<div className="col-md-10">
<div className="row">
<div className="col-12">
<div className="head-btn">
<div className="head01">
<div className="title">Guest reviews</div>
</div>
<a href="" className="view-all-reviews-btn">
View All Reviews
</a>
</div>
</div>
</div>
<div className="row">
<div className="col-12">
<div className="product-reviews">
<span className="rating">8.8</span>
<span>Fabulous </span>
<span className="review">1,365 Reviews</span>
</div>
</div>
</div>
<div className="row">
{guestReviewsData &&
guestReviewsData.map(data => {
return (
<div className="col-md-6">
<div className="guest-reviews-detail">
<div className="head">
<div className="name">{data.name}</div>
<div className="month">{data.month}</div>
</div>
<div className="star">
<a href="">
<span className="image-container">
<Image layout="fill" alt="" className="image img-fluid" src="/images/icons/star.svg" />
</span>
</a>
<a href="">
<span className="image-container">
<Image layout="fill" alt="" className="image img-fluid" src="/images/icons/star.svg" />
</span>
</a>
<a href="">
<span className="image-container">
<Image layout="fill" alt="" className="image img-fluid" src="/images/icons/star.svg" />
</span>
</a>
<a href="">
<span className="image-container">
<Image layout="fill" alt="" className="image img-fluid" src="/images/icons/star.svg" />
</span>
</a>
<a href="">
<span className="image-container">
<Image layout="fill" alt="" className="image img-fluid" src="/images/icons/star.svg" />
</span>
</a>
</div>
<div className="review-content">
“{data.description}
<a href="">Read More</a>
</div>
</div>
</div>
);
})}
</div>
</div>
</div>
</div>
</section>
</>
);
};
export default GuestReviews;