Skip to content

Commit 8c67683

Browse files
photo_star_testimonial.jsx added to the testimonial cards collection and collection.js is updated by adding the respective component
1 parent 36d36b9 commit 8c67683

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import test from "./test_file";
22
import testimonialCard from "./vertical_testimonial";
3+
import photoStarTestimonial from "./photo_star_testimonial"
34

45
const testimonialCardsCollections = [
56
{componentName: "Sample Testimonial", component: test},
67
{componentName: "Vertical testimonial card", component: testimonialCard},
8+
{componentName: "Photo Star Testimonial", component: photoStarTestimonial}
79
];
810

911
export default testimonialCardsCollections;
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import {stripIndent} from "react-codepen-prefill-embed";
2+
3+
const photoStarTestimonial = stripIndent`
4+
5+
<div class="flex h-screen w-screen items-center justify-center bg-slate-600">
6+
<div class="h-96 w-64 max-w-sm rounded-xl border border-black bg-white shadow-md">
7+
<a href="#"> </a>
8+
<div class="p-5 text-center">
9+
<a href="#"> </a>
10+
<div class="bg-blend-multiply ...">
11+
<div class="h-40 w-23">
12+
<nav class = "mx-9">
13+
<a href="https://youtu.be/dQw4w9WgXcQ"> <img src=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwgHAqIUkUR92_mtswDCYJD99s-KEpEhP4dA&usqp=CAU" alt="" height="140" width="140" class="rounded-3xl" > </a>
14+
</nav>
15+
</div>
16+
</div>
17+
18+
<p class="mb-3 font-normal text-gray-500">Slate helps you see how many more days you need to work to reach your financial goal month and year</p>
19+
<ul class="mb-5 flex justify-center">
20+
<div class="mb-0 flex items-end">
21+
<svg aria-hidden="true" class="h-7 w-7 text-orange-400" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
22+
<title>First star</title>
23+
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path>
24+
</svg>
25+
<svg aria-hidden="true" class="h-7 w-7 text-orange-400" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
26+
<title>Second star</title>
27+
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path>
28+
</svg>
29+
<svg aria-hidden="true" class="h-7 w-7 text-orange-400" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
30+
<title>Third star</title>
31+
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path>
32+
</svg>
33+
<svg aria-hidden="true" class="h-7 w-7 text-orange-400" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
34+
<title>Fourth star</title>
35+
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path>
36+
</svg>
37+
<svg aria-hidden="true" class="h-7 w-7 text-gray-300 dark:text-gray-500" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
38+
<title>Fifth star</title>
39+
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"></path>
40+
</svg>
41+
</div>
42+
</ul>
43+
44+
<div class="text-bl my-0 mx-5 text-xs font-normal tracking-normal text-gray-700">
45+
<a href="https://youtu.be/dQw4w9WgXcQ">
46+
<h3 class="text-blue-700"><b>Rick Rolls</b></h3>
47+
<p>Designer</p>
48+
</div>
49+
</div>
50+
</div>
51+
52+
`;
53+
54+
export default photoStarTestimonial;

0 commit comments

Comments
 (0)