-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9f92db
commit eae6622
Showing
3 changed files
with
112 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<script lang="ts"> | ||
const testimonials = [ | ||
{ | ||
name: 'Ryan O’Conner', | ||
copy: `The switch to using Appwrite brought infinite value that I'm still discovering today, but a major impact that it made was the amount of time and stress that it saved me as it simply just works.`, | ||
image: '/images/testimonials/k-collect.png', | ||
title: 'Founder', | ||
company: 'K-Collect' | ||
}, | ||
{ | ||
name: 'David Forster', | ||
copy: `We really loved working with Appwrite for launching our bootstrapped "Open Mind" App. I am still surprised how easy the implementation into Flutter was.`, | ||
image: '/images/testimonials/open-mind.png', | ||
title: 'Founder', | ||
company: 'Open Mind' | ||
}, | ||
{ | ||
name: 'Marius Bolik', | ||
copy: `The integrated user authentication and the ease of creating data structures have undoubtedly saved us several weeks' worth of time.`, | ||
image: '/images/testimonials/shoefitter.png', | ||
title: 'CTO', | ||
company: 'mySHOEFITTER' | ||
}, | ||
{ | ||
name: 'Sergio Ponguta', | ||
copy: `Just go for it, don’t think twice. Try Appwrite, and you will love it!`, | ||
image: '/images/testimonials/smartbee.png', | ||
title: 'Founder', | ||
company: 'Smart Bee' | ||
}, | ||
{ | ||
name: 'Phil McClusky', | ||
copy: 'Just like a Swiss Army Knife, you can choose and use the tools that you need with Appwrite.', | ||
image: '/images/testimonials/majik.png', | ||
title: 'Developer', | ||
company: 'Majik Kids' | ||
} | ||
]; | ||
</script> | ||
|
||
<!-- <div class="relative w-screen overflow-hidden"> | ||
<div | ||
class="light animate-scroll flex w-fit items-center justify-center gap-4 hover:[animation-play-state:paused]" | ||
style="--testimonial-length:{testimonials.length}" | ||
> | ||
{#each Array.from({ length: 4 }) as _} | ||
{#each testimonials as testimonial} | ||
<div | ||
class="flex w-xl shrink-0 flex-col justify-center rounded-2xl bg-white p-6 transition-all" | ||
> | ||
<p class="text-sub-body text-secondary flex-1 font-medium"> | ||
{testimonial.copy} | ||
</p> | ||
<div class="mt-4 flex items-center gap-3"> | ||
<img | ||
src={testimonial.image} | ||
class="size-12 rounded-full" | ||
alt="{testimonial.company} Logo" | ||
/> | ||
<div> | ||
<span class="text-secondary text-sub-body block font-medium"> | ||
{testimonial.name} | ||
</span> | ||
<span class="text-sub-body text-secondary block" | ||
>{testimonial.title} // {testimonial.company}</span | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
{/each} | ||
{/each} | ||
</div> | ||
</div> --> | ||
|
||
<div class="relative my-8 w-full max-w-[100vw] overflow-hidden"> | ||
<div class="group light flex w-fit gap-4"> | ||
{#each Array.from({ length: 4 }) as _, i} | ||
<div | ||
class="animate-scroll flex items-center gap-4 group-hover:[animation-play-state:paused;]" | ||
aria-hidden={i !== 0} | ||
> | ||
{#each testimonials as testimonial} | ||
<div | ||
class="flex h-fit w-lg flex-col justify-center rounded-2xl bg-white p-6 transition-all" | ||
> | ||
<p class="text-sub-body text-secondary flex-1 font-medium"> | ||
{testimonial.copy} | ||
</p> | ||
|
||
<div class="mt-4 flex items-center gap-3"> | ||
<img | ||
src={testimonial.image} | ||
class="size-12 rounded-full" | ||
alt="{testimonial.company} Logo" | ||
/> | ||
<div> | ||
<span class="text-secondary text-sub-body block font-medium"> | ||
{testimonial.name} | ||
</span> | ||
<span class="text-sub-body text-secondary block" | ||
>{testimonial.title} // {testimonial.company}</span | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
{/each} | ||
</div> | ||
{/each} | ||
</div> | ||
</div> |
97 changes: 0 additions & 97 deletions
97
src/routes/products/storage/(components)/Testimonials.svelte
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters