Skip to content

Commit 1feaefd

Browse files
committed
Fix headline
1 parent e669ab1 commit 1feaefd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/components/sections/testimonials.astro

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import Section from "@ui/Section.astro";
3+
import Headline from "@ui/Headline.astro";
34
45
const testimonials = [
56
{
@@ -51,10 +52,10 @@ const sectionTitle = "See what participants say";
5152
const sectionSubtitle = "Hear from our community";
5253
---
5354

54-
<section class="bluebox relative py-16">
55+
<Section variant="primary">
56+
<Headline id="testimonials" title={sectionTitle} center="true" />
5557
<div class="container mx-auto px-6">
5658
<div class="text-center mb-12">
57-
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">{sectionTitle}</h2>
5859
<p class="text-lg text-gray-600 max-w-2xl mx-auto">{sectionSubtitle}</p>
5960
</div>
6061

@@ -90,14 +91,9 @@ const sectionSubtitle = "Hear from our community";
9091
))}
9192
</div>
9293
</div>
93-
</section>
94+
</Section>
9495

9596
<style>
96-
.bluebox {
97-
background-color: #d4d5e5;
98-
z-index: 1;
99-
}
100-
10197
.testimonial-card:hover {
10298
transform: translateY(-4px);
10399
}

0 commit comments

Comments
 (0)