Files
supabase/apps/www/app/state-of-startups/components/SurveyPullQuote.tsx
Alan Daniel 2f50a0fb91 feat(www): add missing pull quotes and participants carousel to State of Startups 2026 (#46401)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Feature

## What is the current behavior?

The 2026 State of Startups page is missing several selected pull quotes,
the Outlook chapter ends on a single static quote, and the "Thank you"
footer still renders the 2025 participants list as a static wrap of ~60
companies.

## What is the new behavior?

- Wires the six selected pull quotes for chapters 1–4 and 7 (with
section-level support so the Solo Founders quote sits inside its
section). `SurveyPullQuote` now accepts optional author position and
avatar.
- Replaces the Outlook chapter quote with a new
`SurveyPullQuoteCarousel` that rotates between four labelled quotes
(Burn out, Pace of change, Competition, Runway) and reuses the existing
stipple/checker timer-bar pattern.
- Replaces the participants list with all 326 verified 2026 entries and
renders them via a new `ParticipantsCarousel` — five horizontal marquee
rows scrolling at different speeds and alternating directions, pausing
on hover, with edge fades and `prefers-reduced-motion` support.

## Additional context

Participants list sourced from the verified
`state-of-startups-2026-companies-software-verified.csv` export.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Rotating quote carousels for survey chapters with progress indicators
and subtle animations
  * Animated participants display as multi-row scrolling marquees
  * Optional author position and avatar shown with quotes
  * Reduced-motion support to disable animations

* **Updates**
* Refreshed State of Startups 2026 content and expanded participants
list

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46401?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-26 16:22:57 -04:00

56 lines
1.6 KiB
TypeScript

import Image from 'next/image'
import { SurveySectionBreak } from './SurveySectionBreak'
export function SurveyPullQuote({
quote,
author,
authorPosition,
authorAvatar,
}: {
quote: string
author: string
authorPosition?: string
authorAvatar?: string
}) {
return (
<>
<aside className="relative border-b border-muted md:border-b-0">
<div
className="absolute inset-0 pointer-events-none bg-surface-400 dark:bg-surface-75"
style={{
maskImage: 'url("/images/state-of-startups/pattern-stipple.svg")',
maskSize: '4px', // Match maskSize in SurveySectionBreak
maskRepeat: 'repeat',
maskPosition: 'top left',
}}
/>
<div className="relative max-w-240 mx-auto md:border-x border-muted flex flex-col gap-4 text-center items-center px-6 py-24 bg-alternative">
<p className="text-foreground-lighter text-2xl tracking-tight text-balance max-w-prose">
“{quote}”
</p>
{authorAvatar && (
<Image
src={authorAvatar}
width={48}
height={48}
alt={`${author}'s avatar`}
className="h-10 w-10 overflow-hidden rounded-full border border-control"
/>
)}
<p>
{author}
{authorPosition && (
<>
<br />
<span className="text-foreground-muted text-sm">{authorPosition}</span>
</>
)}
</p>
</div>
</aside>
<SurveySectionBreak className="hidden md:block" />
</>
)
}