+ {_(sortedTestimonials).map(
+ ({ data: { image, name, tagline, text, url } }) => (
+
+
-
- ))}
-
-)}
+ {image && (
+
+ diff --git a/src/components/Button.astro b/src/components/Button.astro index beb792805..968f2519a 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -7,7 +7,10 @@ interface Props { const { href, text } = Astro.props as Props; --- -