diff --git a/src/lib/components/sections/Testimonials.svelte b/src/lib/components/sections/Testimonials.svelte index cf5cb806..3357c536 100644 --- a/src/lib/components/sections/Testimonials.svelte +++ b/src/lib/components/sections/Testimonials.svelte @@ -1,4 +1,5 @@
-
-
+
+ +
+
+ {#each testimonials as testimonial, index} + {#if index === currentSlide} +
+
+

{testimonial.text}

+
+ {#if testimonial.image} +
+ {testimonial.author} +
+ {:else} +
+ + {testimonial.author[0]} + +
+ {/if} +
+
{testimonial.author}
+
{testimonial.role} {testimonial.company}
+
+
+
+
+ {/if} + {/each} +
+ + + + + + + +
+ {#each testimonials as _, index} + + {/each} +
+
+ + +