-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestimonials.js
60 lines (55 loc) · 1.89 KB
/
testimonials.js
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
import React from "react";
import "./Testimonials.css";
import TestimonialCard from "../../../components/TestimonialCard/TestimonialCard";
const testimonials = [
{
id: 1,
author: "Isabella Montgomery",
description:
"Little Lemon's Bruschetta is a symphony of flavors; perfectly crispy bread coupled with the freshest tomatoes.",
image:
"https://images.pexels.com/photos/3763188/pexels-photo-3763188.jpeg?cs=srgb&dl=pexels-andrea-piacquadio-3763188.jpg&fm=jpg",
rating: 5,
},
{
id: 2,
author: "Alexander Thompson",
description:
"The burger at Little Lemon was a taste revelation with its juicy, perfectly cooked meat and harmonious ingredient pairing.",
image:
"https://www.irreverentgent.com/wp-content/uploads/2018/03/Awesome-Profile-Pictures-for-Guys-look-away2.jpg",
rating: 5,
},
{
id: 3,
author: "Olivia Jenkins",
description:
"The Greek Salad at Little Lemon was delightfully fresh and flavorful, with a high-quality dressing. ",
image:
"https://images.pexels.com/photos/762020/pexels-photo-762020.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500",
rating: 4,
},
];
const Testimonials = () => {
return (
<div className="testimonial-background">
<div className="testimonials">
<div className="testimonials-container">
<h1 className="testimonial-title">Testimonials</h1>
</div>
<div className="testimonials-list">
{testimonials.map((testimonial) => (
<TestimonialCard
key={testimonial.id}
author={testimonial.author}
description={testimonial.description}
image={testimonial.image}
rating={testimonial.rating}
/>
))}
</div>
</div>
</div>
);
};
export default Testimonials;