Skip to content

Commit 5cb29db

Browse files
committed
feat: Add testimony part
1 parent 7ff7a0b commit 5cb29db

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

src/components/custom/Testimonies.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,20 @@ import React from 'react'
22

33
const Testimonies: React.FC = () => {
44
return (
5-
<div>
6-
Testimonies part
7-
</div>
5+
<section className='container py-6 md:py-10 lg:py-12 flex flex-col gap-6 items-center'>
6+
<h3 className="text-center text-2xl md:text-3xl lg:text-4xl font-semibold">
7+
Hear from our customers
8+
</h3>
9+
10+
<p className="max-w-full md:max-w-[85%] text-center text-sm md:text-base text-foreground/90 ">
11+
At IPhone Cameroun, quality isn't just a word - it's our promise.
12+
All our iPhones, new and used, undergo strict quality control to ensure they meet the highest standards.
13+
We understand the importance of having a reliable device, which is why we are committed
14+
to supplying only products in perfect working order.
15+
</p>
16+
17+
{/* Testimony part */}
18+
</section>
819
)
920
}
1021

src/core/mocks/mock-testimony.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { v4 as uuidv4 } from 'uuid';
2+
3+
export const mockTestimony = [
4+
{
5+
id: uuidv4(),
6+
profile: "public/images/ipad1.svg",
7+
name: "Martin escobar",
8+
testimony: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc et est hendrerit, porta nunc vitae, gravida justo. Nunc fermentum magna lorem, euismod volutpat arcu volutpat"
9+
},
10+
{
11+
id: uuidv4(),
12+
profile: "public/images/ipad1.svg",
13+
name: "Martin escobar",
14+
testimony: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc et est hendrerit, porta nunc vitae, gravida justo. Nunc fermentum magna lorem, euismod volutpat arcu volutpat"
15+
},
16+
]

0 commit comments

Comments
 (0)