From f966e5d66a580bb4b5b8e741b2b231f08d7a3ca9 Mon Sep 17 00:00:00 2001 From: Harsh Mahajan Date: Sun, 14 Sep 2025 17:33:41 +0000 Subject: [PATCH] fix: duplicate testimonials in startup caraousal for infinite scroll --- src/routes/startups/+page.svelte | 38 ++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/src/routes/startups/+page.svelte b/src/routes/startups/+page.svelte index 2a4668ad53..987ad6d6e3 100644 --- a/src/routes/startups/+page.svelte +++ b/src/routes/startups/+page.svelte @@ -172,13 +172,12 @@ 'Thanks to Appwrite and advances in technology, we were able to get an MVP out in 2-3 months with 1 developer.', 'jonas-janssen' ), - testimonial( - 'Zach Handley', - 'CTO // Socialaize', - "We have somewhere between 200,000 to 600,000 function executions per day. It's especially nice that you guys have to deal with the scaling now and not me.", - 'zach-handley' - ), - mariusBolik + { + name: 'Zach Handley', + handle: 'CTO // Socialaize', + text: "We have somewhere between 200,000 to 600,000 function executions per day. It's especially nice that you guys have to deal with the scaling now and not me.", + image: '/images/testimonials/zach-handley.jpg' + } ]; @@ -570,6 +569,31 @@ {/each} + {#each testimonials as t} +
  • +
    +

    {t.text}

    +
    + Avatar of Kap.ts +
    + {t.name} +
    +
    + {t.handle} +
    +
    +
    +
  • + {/each}