Skip to content

Commit bb01aa0

Browse files
authored
Merge pull request #4 from intelowlproject/develop
fixed up the testimonial section.
2 parents c90a6de + e48e71f commit bb01aa0

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

components/Slider.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function Slider(props: sliderProps) {
4646
{TestimonialData.map((testimonial, index) => {
4747
return (
4848
<div key={index} className="swiper-slide h-full bg-white">
49-
<SwiperSlide className="bg-[#16161D] md:!h-[35rem] p-8 xl:p-16 rounded-xl mx-2 border-solid border border-[#39393F]">
49+
<SwiperSlide className="bg-[#16161D] md:!h-[30rem] lg:!h-[30rem] p-8 xl:p-8 rounded-xl mx-2 border-solid border border-[#39393F]">
5050
<div className="h-full w-full flex flex-col justify-between">
5151
<p className="relative mt-4 text-gray-500">
5252
<span className="text-xl">&ldquo;</span>
@@ -55,22 +55,22 @@ export default function Slider(props: sliderProps) {
5555
: testimonial.review.slice(0, 300) + "..."}
5656
<span className="text-xl">&rdquo;</span>
5757
</p>
58-
<div className="flex flex-col gap-4 text-left">
59-
<img
60-
className="items-center justify-center self-center py-5"
61-
src={testimonial.companylogo}
62-
width={200}
63-
height={50}
64-
alt="sponsor-image"
65-
></img>
66-
<div className="text-lg text-left mt-14">
67-
<p className="font-medium font-SpaceGrotesk opacity-90 text-white text-xl">
68-
{testimonial.name}
69-
</p>
70-
<p className="font-medium font-SpaceGrotesk text-white opacity-70 text-md text-left">
71-
{testimonial.designation}
72-
</p>
73-
</div>
58+
<div className="flex flex-row gap-4 text-left items-start">
59+
<figcaption className="flex justify-center items-center space-x-3">
60+
<img
61+
className="w-12 h-12 rounded-full"
62+
src="/images/favicon.png"
63+
alt="profile picture"
64+
/>
65+
<div className="space-y-0.5 font-medium dark:text-white text-left">
66+
<p className="font-medium font-SpaceGrotesk opacity-90 text-white text-xl">
67+
{testimonial.name}
68+
</p>
69+
<p className="font-medium font-SpaceGrotesk text-white opacity-70 text-md text-left">
70+
{testimonial.designation}
71+
</p>
72+
</div>
73+
</figcaption>
7474
</div>
7575
</div>
7676
</SwiperSlide>

public/images/IntelowlThumbnail.png

1.07 MB
Loading

0 commit comments

Comments
 (0)