import { FavouriteIcon, StarIcon } from '@hugeicons/core-free-icons'; import { HugeiconsIcon } from '@hugeicons/react'; import Image from 'next/image'; import Link from 'next/link'; import type { CSSProperties, ReactNode } from 'react'; import { DotGrid } from './dot-grid'; import { ArrowRightIcon } from './icons'; import { COMMUNITY_LAUNCHED } from './launch'; type Testimonial = { quote: ReactNode; name: string; role: string; /** Portrait under /public/testimonials, cropped to a circle. */ photo: string; company: string; /** What the company builds, under its name on the timeline. */ field: string; /** Square company mark, worn as a badge on the portrait. */ companyMark: string; accent: string; /** * Set for sponsors only: their company name links to their site, and the * timeline marks them as a sponsor. */ sponsorHref?: string; }; /** A highlight annotation, painted the way a PDF viewer puts one over text. */ function Highlight({ children }: { children: ReactNode }) { return ( {children} ); } const TESTIMONIALS: Testimonial[] = [ { quote: ( <> PDFs are the lifeblood of legal work. EmbedPDF is{' '} what we have been searching for since we started our legal software company. A library that excels at handling PDFs and their annotations in a way that is performant, accessible, open and secure. That it is also free is icing on the cake. ), name: 'Sam Davidoff', role: 'CEO', photo: '/testimonials/sam-davidoff.jpg', company: 'Align', field: 'Legal software', companyMark: '/testimonials/align-mark.jpg', accent: '#0876FD', sponsorHref: 'https://align.lawyer?utm_source=embedpdf&utm_campaign=oss', }, { quote: ( <> I love the modular plugin architecture, the flexibility to integrate and customize however we need has been invaluable. A great open-source product with an amazing license and community of developers ready to help. ), name: 'Anthony Stirling', role: 'CTO & Founder', photo: '/testimonials/anthony-stirling.webp', company: 'Stirling PDF', field: 'PDF tools', companyMark: '/testimonials/stirling-pdf-mark.svg', accent: '#10B981', }, { quote: ( <> After fighting with PDF.js in the browser, we found EmbedPDF with its first-class Svelte support. Within minutes we had something working, its extensible nature gave us the control we needed to build citation highlighting on top.{' '} Not a single regret. ), name: 'Hamza Aitali', role: 'Founder', photo: '/testimonials/hamza-aitali.jpg', company: 'Grella', field: 'AI citations', companyMark: '/testimonials/grella-mark.svg', accent: '#9747FF', }, ]; function BigQuoteMark({ color }: { color: string }) { return ( ); } function TimelineItem({ data }: { data: Testimonial }) { return (
{data.company}
{data.field}
{data.sponsorHref && ( Sponsor )}
{data.name}

{data.quote}

{data.name} {data.role} at{' '} {data.sponsorHref ? ( {data.company} ) : ( {data.company} )}
); } export function Testimonials() { return (
Developer stories

Loved once it is
in the product

From quick embeds to custom document workflows, developers use EmbedPDF to ship faster and stay in control.

{TESTIMONIALS.map((t) => ( ))}
{COMMUNITY_LAUNCHED && ( )}
); }