Skip to content

Commit 52cb88a

Browse files
BenjtalkshowMaxzi3
andauthored
feat: implemented about-us-page-testimonials-section (#176)
Co-authored-by: Maxzi3 <obisikemaxwell@gmail.com>
1 parent c40ba7e commit 52cb88a

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

components/testimonials/TestimonialsSection.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,8 @@ export default function TestimonialsSection({
123123

124124
<div className='relative overflow-hidden shadow-2xl backdrop-blur-sm md:max-h-[600px] max-h-[470px]'>
125125
<div className='absolute inset-0 bg-[#CCFF95] opacity-95'></div>
126-
{/* <div className='absolute inset-0 overflow-hidden pointer-events-none'>
127-
<div className='absolute top-10 left-10 w-2 h-2 bg-[#CCFF95] rounded-full opacity-60 animate-pulse'></div>
128-
<div className='absolute top-20 right-20 w-1 h-1 bg-primary rounded-full opacity-40 animate-ping'></div>
129-
<div className='absolute bottom-16 left-1/3 w-1.5 h-1.5 bg-white rounded-full opacity-30 animate-pulse'></div>
130-
<div className='absolute bottom-32 right-1/4 w-1 h-1 bg-[#CCFF95] rounded-full opacity-50 animate-ping'></div>
131-
</div> */}
126+
127+
{/* Fade overlays */}
132128
<Image
133129
src='/fade.png'
134130
alt='Gradient top'
@@ -158,6 +154,7 @@ export default function TestimonialsSection({
158154
}}
159155
/>
160156

157+
{/* Scrolling Columns */}
161158
<div
162159
className='-mx-6 overflow-x-auto relative z-[10]'
163160
ref={el => {
@@ -173,7 +170,6 @@ export default function TestimonialsSection({
173170
perspective: '1000px',
174171
}}
175172
>
176-
{/* Columns */}
177173
{Array.from({ length: numColumns }, (_, colIdx) => colIdx).map(
178174
colIdx => (
179175
<div
@@ -210,6 +206,8 @@ export default function TestimonialsSection({
210206
)}
211207
</div>
212208
</div>
209+
210+
{/* CTA Section */}
213211
<div className='absolute lg:bottom-[60px] bottom-14 lg:mt-0 mt-20 left-1/2 -translate-x-1/2 md:max-h-[212px] w-[90%] max-w-6xl bg-primary rounded-xl shadow-lg p-8 md:p-12 text-black z-40'>
214212
<div className='flex flex-col md:flex-row items-center md:justify-between gap-6'>
215213
<div>

0 commit comments

Comments
 (0)