diff --git a/sites/sandbox/src/sections/testimonials.tsx b/sites/sandbox/src/sections/testimonials.tsx index 544b0317..c069b0d7 100644 --- a/sites/sandbox/src/sections/testimonials.tsx +++ b/sites/sandbox/src/sections/testimonials.tsx @@ -26,10 +26,10 @@ const testimonials: Testimonial[] = [ }, { quote: - 'Sandbox-sdk has made it possible to orchestrate and manage running insecure user apps so much easier. You can simply launch a sandbox, expose port and it would handle all the proxying, allocation for you.', - author: 'Ashish Kumar', - role: 'Engineer', - company: 'VibeSDK' + 'Sandbox SDK let us to remove ~12k lines of orchestration code and significantly improved our sandbox startup times. The APIs + docs are best-in-class and their team has been an absolute joy to work with.', + author: 'Dominic Whyte', + role: 'Co-Founder', + company: 'Zite' } ]; @@ -68,7 +68,11 @@ export function Testimonials() { - + @@ -108,7 +112,11 @@ export function Testimonials() { - + @@ -148,17 +156,29 @@ export function Testimonials() { function TestimonialCard({ testimonial, - size + size, + scrollable = true }: { testimonial: Testimonial; size?: 'xl' | 'md' | 'sm'; + scrollable?: boolean; }) { + const textSize = + size === 'sm' ? 'text-lg' : size === 'md' ? 'text-xl' : 'text-2xl'; + const minH = scrollable ? 'min-h-0' : ''; + const padding = scrollable ? 'p-8 pb-0' : 'p-6 pb-0'; + const innerPadding = scrollable ? 'p-6' : 'p-4'; + const gap = scrollable ? 'gap-6' : 'gap-4'; return ( - - - - + + + + - - + + {testimonial.quote} - - {testimonial.author} - + + {testimonial.author} + {testimonial.role} · {testimonial.company} @@ -192,23 +214,25 @@ function TestimonialMobile({ testimonial }: { testimonial: Testimonial }) { return ( - - Testimonial - - - + + + Testimonial + + + + {testimonial.quote} - {testimonial.author} - + {testimonial.author} + {testimonial.role} · {testimonial.company}
+
{testimonial.quote}
{testimonial.author}
{testimonial.role} · {testimonial.company}