Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: added testimonials home section
dev_wandry4a116922123e
diff --git a/app/(home)/components/sections/testimonials.tsx b/app/(home)/components/sections/testimonials.tsxnew file mode 100644index 00000000..6b0bef75--- /dev/null+++ b/app/(home)/components/sections/testimonials.tsx@@ -0,0 +1,79 @@+import { type Testimonial, testimonials } from "@/config/testimonials";+import { FadeUp } from "../fade-up";+import { SectionHeading } from "../section-heading";++function TestimonialCard({ authorAvatar, authorName, url, quote }: Testimonial) {+ return (+ <a+ href={url}+ target="_blank"+ rel="noreferrer"+ className="surface-card flex w-80 shrink-0 flex-col gap-4 rounded-2xl p-5 transition-colors hover:border-foreground/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"+ >+ <div className="flex items-center gap-3">+ {/** biome-ignore lint/performance/noImgElement: remote unavatar.io avatars of arbitrary origin */}+ <img+ src={authorAvatar}+ alt={authorName}+ loading="lazy"+ className="size-10 rounded-full border border-border object-cover"+ />+ <span className="text-sm font-medium text-foreground">+ {authorName}+ </span>+ </div>+ <p className="text-sm leading-relaxed text-pretty text-muted-foreground">+ {quote}+ </p>+ </a>+ );+}++function MarqueeRow({+ items,+ reverse = false,+}: {+ items: Testimonial[];+ reverse?: boolean;+}) {+ return (+ <div className="group flex overflow-hidden">+ <div+ className="flex shrink-0 gap-4 pr-4 animate-marquee group-hover:[animation-play-state:paused] motion-reduce:[animation:none]"+ style={reverse ? { animationDirection: "reverse" } : undefined}+ >+ {items.map((t, i) => (+ <TestimonialCard key={`${t.authorName}-${i}`} {...t} />+ ))}+ {items.map((t, i) => (+ <TestimonialCard key={`${t.authorName}-${i}-dup`} {...t} />+ ))}+ </div>+ </div>+ );+}++export function Testimonials() {+ const topRow = testimonials;+ const bottomRow = [...testimonials].reverse();++ return (+ <section id="testimonials" className="relative py-20 sm:py-20">+ <div className="section">+ <SectionHeading+ align="center"+ eyebrow="Wall of love"+ title="Builders are shipping with remocn"+ lead="Developers turning their products into demo videos — one registry component at a time."+ />+ </div>++ <FadeUp delay={0.1}>+ <div className="marquee-edge-fade mt-12 flex flex-col gap-4">+ <MarqueeRow items={topRow} />+ <MarqueeRow items={bottomRow} reverse />+ </div>+ </FadeUp>+ </section>+ );+}diff --git a/app/(home)/page.tsx b/app/(home)/page.tsxindex 0254161f..1c2806f3 100644--- a/app/(home)/page.tsx+++ b/app/(home)/page.tsx@@ -4,6 +4,7 @@ import { GetStarted } from "./components/sections/get-started";import { Hero } from "./components/sections/hero";import { InteractiveCode } from "./components/sections/interactive-code";import { LandingPartners } from "./components/sections/landing-partners";+import { Testimonials } from "./components/sections/testimonials";import { UiRegistry } from "./components/sections/ui-registry";export default function Page() {@@ -15,6 +16,7 @@ export default function Page() {<UiRegistry /><GetStarted /><LandingPartners />+ <Testimonials /><FinalCTA /></>);diff --git a/app/globals.css b/app/globals.cssindex 1d82cf57..c3f91fa0 100644--- a/app/globals.css+++ b/app/globals.css@@ -49,6 +49,15 @@--radius-2xl: calc(var(--radius) * 1.8);--radius-3xl: calc(var(--radius) * 2.2);--radius-4xl: calc(var(--radius) * 2.6);+ --animate-marquee: marquee var(--marquee-duration, 48s) linear infinite;+ @keyframes marquee {+ from {+ transform: translateX(0);+ }+ to {+ transform: translateX(-50%);+ }+ }}:root {@@ -200,6 +209,25 @@backdrop-filter: blur(12px);}+/* Horizontal fade at both edges — used to dissolve marquee tracks into the+ page instead of clipping them on a hard line. */+.marquee-edge-fade {+ -webkit-mask-image: linear-gradient(+ to right,+ transparent,+ black 12%,+ black 88%,+ transparent+ );+ mask-image: linear-gradient(+ to right,+ transparent,+ black 12%,+ black 88%,+ transparent+ );+}+/* ── Code / Shiki surfaces (F3) ──────────────────────────────────────MDX code blocks (```tsx … ```) resolve to the `muted` token, matchingthe CodeBlockCommand look. No hardcoded editor hex, no border, nodiff --git a/config/testimonials.ts b/config/testimonials.tsnew file mode 100644index 00000000..10b7465d--- /dev/null+++ b/config/testimonials.ts@@ -0,0 +1,59 @@+export type Testimonial = {+ authorAvatar: string;+ authorName: string;+ url: string;+ quote: string;+};++export const testimonials: Testimonial[] = [+ {+ authorAvatar: "https://unavatar.io/x/shadcn",+ authorName: "shadcn",+ url: "https://x.com/shadcn/status/2065505189604602177",+ quote: "Amazing. Well done Kapish.",+ },+ {+ authorAvatar: "https://unavatar.io/x/orcdev",+ authorName: "OrcDev",+ url: "https://x.com/orcdev/status/2065554192672960662",+ quote: "you're killing it man! well done!",+ },+ {+ authorAvatar: "https://unavatar.io/x/fortysevenfx",+ authorName: "François Best",+ url: "https://x.com/fortysevenfx/status/2065672129132024122",+ quote: "Another banger, this is 🔥",+ },+ {+ authorAvatar: "https://unavatar.io/x/creativestefan",+ authorName: "Stefan",+ url: "https://x.com/fortysevenfx/status/2065672129132024122",+ quote: "Well done!! 🔥🔥",+ },+ {+ authorAvatar: "https://unavatar.io/x/JNYBGR",+ authorName: "Jonny Burger",+ url: "https://x.com/JNYBGR/status/2042122440260645168",+ quote: "Thanks for making this! 🙌",+ },+ {+ authorAvatar: "https://unavatar.io/x/educalvolpz",+ authorName: "Edu Calvo",+ url: "https://x.com/educalvolpz/status/2043400160869298546",+ quote:+ "My God! I've been away too much! incredible project! I'll probably try it this week",+ },+ {+ authorAvatar: "https://unavatar.io/x/jahirsheikh8",+ authorName: "Jahir Sheikh",+ url: "https://x.com/jahirsheikh8/status/2041923892089106798",+ quote:+ "this is insane bro much needed product i wanted for creating animated demos about my projects, awesome project bro 🔥",+ },+ {+ authorAvatar: "https://unavatar.io/x/ajaypatel_aj",+ authorName: "Ajay Patel",+ url: "https://x.com/ajaypatel_aj/status/2065642159177626057",+ quote: "This is killer, brother! Congratulations!",+ },+];