Refactor ContactUs component: update layout and styles for improved responsiveness, enhance typography, and streamline structure for better readability.

This commit is contained in:
Craig
2025-04-15 16:22:29 +01:00
parent 8411e46811
commit c1872d10c8
4 changed files with 91 additions and 25 deletions

View File

@@ -1,4 +1,8 @@
.card {
padding-left: 4rem; /* Add more padding to the left */
padding-right: 4rem; /* Add more padding to the right */
}
}
.wrapper {
margin-bottom: 80px;
}

View File

@@ -27,7 +27,7 @@ function TestimonialsCarousel({ testimonials = defaultTestimonials }: Testimonia
const autoplay = Autoplay();
return (
<>
<div className={styles.wrapper}>
<Title ta="center" mb="xl">
Testimonials
</Title>
@@ -62,7 +62,7 @@ function TestimonialsCarousel({ testimonials = defaultTestimonials }: Testimonia
</Carousel.Slide>
))}
</Carousel>
</>
</div>
);
}