Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
fix: align, gaps, sizing for mobile
dev_wandry52cb2277e96f
diff --git a/app/(home)/components/sections/bento-registry.tsx b/app/(home)/components/sections/bento-registry.tsxindex 4816c60e..69625f2e 100644--- a/app/(home)/components/sections/bento-registry.tsx+++ b/app/(home)/components/sections/bento-registry.tsx@@ -172,7 +172,7 @@ export function BentoRegistry() {const trackEvent = useTrackEvent();return (- <section id="components" className="relative py-20 sm:py-20">+ <section id="components" className="relative py-14 sm:py-20"><div className="section"><SectionHeadingeyebrow="The registry"@@ -201,7 +201,7 @@ export function BentoRegistry() {}/>- <FadeUp delay={0.1} className="mt-12 sm:mt-16">+ <FadeUp delay={0.1} className="mt-10 sm:mt-16"><SpotlightSurface className="grid gap-4 sm:gap-6 md:grid-cols-3"><BentoCardname="claude-code"diff --git a/app/(home)/components/sections/final-cta.tsx b/app/(home)/components/sections/final-cta.tsxindex c82cfc32..985bac8c 100644--- a/app/(home)/components/sections/final-cta.tsx+++ b/app/(home)/components/sections/final-cta.tsx@@ -22,9 +22,9 @@ export function FinalCTA() {const trackEvent = useTrackEvent();return (- <section className="relative py-20 sm:py-28">+ <section className="relative py-14 sm:py-28"><div className="section">- <div className="surface-card relative overflow-hidden rounded-3xl px-6 py-16 text-center sm:px-12 sm:py-20">+ <div className="surface-card relative overflow-hidden rounded-3xl px-6 py-12 text-center sm:px-12 sm:py-20">{/* Restrained accent wash — low opacity so it reads in both themes. */}<divaria-hiddendiff --git a/app/(home)/components/sections/get-started.tsx b/app/(home)/components/sections/get-started.tsxindex 35243eff..909459c5 100644--- a/app/(home)/components/sections/get-started.tsx+++ b/app/(home)/components/sections/get-started.tsx@@ -120,7 +120,7 @@ function FeaturedStep({export function GetStarted() {return (- <section id="get-started" className="relative py-20 sm:py-20">+ <section id="get-started" className="relative py-14 sm:py-20"><div className="section"><SectionHeadingeyebrow="Get started"diff --git a/app/(home)/components/sections/hero-scroll-video.tsx b/app/(home)/components/sections/hero-scroll-video.tsxindex 8b8e73ea..daad6314 100644--- a/app/(home)/components/sections/hero-scroll-video.tsx+++ b/app/(home)/components/sections/hero-scroll-video.tsx@@ -21,6 +21,7 @@ const CARD_ASPECT = 9 / 16;const REST_RADIUS = 24;const GROW_END = 0.28;const HOLD_END = 0.72;+const SCRUB_MIN_WIDTH = 1024;type Viewport = { w: number; h: number };@@ -51,10 +52,12 @@ export function HeroScrollVideo() {return () => window.removeEventListener("resize", update);}, []);- if (reduceMotion || !viewport) {+ const scrubEnabled = viewport !== null && viewport.w >= SCRUB_MIN_WIDTH;++ if (reduceMotion || !viewport || !scrubEnabled) {return (<div className="section">- <div className="relative mt-10 flex w-full justify-center sm:mt-12">+ <div className="relative mt-8 flex w-full justify-center sm:mt-12"><div className="w-full max-w-[1120px]"><VideoCardvideoRef={videoRef}diff --git a/app/(home)/components/sections/hero.tsx b/app/(home)/components/sections/hero.tsxindex ea7c7119..f905ba2d 100644--- a/app/(home)/components/sections/hero.tsx+++ b/app/(home)/components/sections/hero.tsx@@ -14,7 +14,7 @@ export function Hero() {const trackEvent = useTrackEvent();return (- <section className="relative isolate pt-10 pb-16 sm:pt-16 sm:pb-24">+ <section className="relative isolate pt-8 pb-12 sm:pt-16 sm:pb-24"><div aria-hidden className="absolute inset-0 -z-10"><div className="absolute inset-0 bg-grid-fade" /><HeroNeuroBg />diff --git a/app/(home)/components/sections/interactive-code.tsx b/app/(home)/components/sections/interactive-code.tsxindex 41c5ef01..e28796f9 100644--- a/app/(home)/components/sections/interactive-code.tsx+++ b/app/(home)/components/sections/interactive-code.tsx@@ -298,7 +298,7 @@ export function InteractiveCode() {: "16 / 9";return (- <section id="showcase" className="relative py-20 sm:py-20">+ <section id="showcase" className="relative py-14 sm:py-20"><div className="section"><SectionHeadingeyebrow="It's just props"diff --git a/app/(home)/components/sections/landing-partners.tsx b/app/(home)/components/sections/landing-partners.tsxindex 38982797..7f1758cb 100644--- a/app/(home)/components/sections/landing-partners.tsx+++ b/app/(home)/components/sections/landing-partners.tsx@@ -38,7 +38,7 @@ export function LandingPartners() {);return (- <section id="partners" className="relative py-20 sm:py-20">+ <section id="partners" className="relative py-14 sm:py-20"><div className="section"><SectionHeadingalign="center"diff --git a/app/(home)/components/sections/testimonials.tsx b/app/(home)/components/sections/testimonials.tsxindex b77a766c..12fa5fea 100644--- a/app/(home)/components/sections/testimonials.tsx+++ b/app/(home)/components/sections/testimonials.tsx@@ -63,7 +63,7 @@ export function Testimonials() {const bottomRow = [...testimonials].reverse();return (- <section id="testimonials" className="relative py-20 sm:py-20">+ <section id="testimonials" className="relative py-14 sm:py-20"><div className="section"><SectionHeadingalign="center"diff --git a/app/(home)/components/sections/ui-registry.tsx b/app/(home)/components/sections/ui-registry.tsxindex d5d965d0..31395e15 100644--- a/app/(home)/components/sections/ui-registry.tsx+++ b/app/(home)/components/sections/ui-registry.tsx@@ -266,7 +266,7 @@ function UiRegistryIntro({ className }: { className?: string }) {export function UiRegistry() {return (- <section id="ui-registry" className="relative py-20 sm:py-20">+ <section id="ui-registry" className="relative py-14 sm:py-20"><div className="section"><div className="grid items-center gap-10 lg:grid-cols-2 lg:gap-12"><UiRegistryIntro />diff --git a/app/(home)/components/sections/whats-inside.tsx b/app/(home)/components/sections/whats-inside.tsxindex dea7f146..9a6171db 100644--- a/app/(home)/components/sections/whats-inside.tsx+++ b/app/(home)/components/sections/whats-inside.tsx@@ -359,7 +359,7 @@ export function WhatsInside() {return (<sectionid="whats-inside"- className="relative py-20 sm:py-20 [content-visibility:auto] [contain-intrinsic-size:auto_640px]"+ className="relative py-14 sm:py-20 [content-visibility:auto] [contain-intrinsic-size:auto_640px]"><div className="section"><SectionHeading eyebrow={EYEBROW} title={TITLE} lead={LEAD} />diff --git a/app/(home)/components/sections/why-remocn.tsx b/app/(home)/components/sections/why-remocn.tsxindex 67ad08e0..97ba5cdb 100644--- a/app/(home)/components/sections/why-remocn.tsx+++ b/app/(home)/components/sections/why-remocn.tsx@@ -1,6 +1,13 @@"use client";-import { Bot, Check, Clapperboard, Clock, Wallet } from "lucide-react";+import {+ ArrowRight,+ Bot,+ Check,+ Clapperboard,+ Clock,+ Wallet,+} from "lucide-react";import { motion, useInView, useReducedMotion } from "motion/react";import { type ComponentType, useRef } from "react";import { INSTALL_COMMAND, SPRING_BOUNCE, SPRING_SOFT } from "@/config/site";@@ -76,15 +83,17 @@ function LedgerRow({ problem, index }: { problem: Problem; index: number }) {<divref={ref}className={cn(- "grid grid-cols-[auto_1fr_auto] items-center gap-x-2.5 py-3.5 sm:gap-x-4",+ "flex flex-col gap-2.5 py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-4 sm:py-3.5",index > 0 && "border-t border-border/60",)}>- <Icon aria-hidden className="size-5 text-foreground/55" />- <p className="min-w-0 text-sm font-medium text-foreground sm:text-base">- {problem.task}- </p>- <div className="flex items-center gap-3 justify-self-end sm:gap-4">+ <div className="flex min-w-0 items-center gap-2.5">+ <Icon aria-hidden className="size-5 shrink-0 text-foreground/55" />+ <p className="min-w-0 text-base font-medium text-foreground">+ {problem.task}+ </p>+ </div>+ <div className="flex items-center gap-2.5 pl-[1.875rem] sm:shrink-0 sm:gap-4 sm:pl-0"><span className="relative inline-block text-sm text-foreground/45 sm:text-base">{problem.cost}<motion.span@@ -98,6 +107,10 @@ function LedgerRow({ problem, index }: { problem: Problem; index: number }) {}}/></span>+ <ArrowRight+ aria-hidden+ className="size-3.5 shrink-0 text-muted-foreground/40"+ /><motion.spanclassName="inline-flex items-center gap-1.5 text-sm font-semibold text-foreground sm:text-base"initial={reduced ? false : { opacity: 0, x: 8 }}@@ -121,7 +134,7 @@ function LedgerRow({ problem, index }: { problem: Problem; index: number }) {export function WhyRemocn() {return (- <section id="why-remocn" className="relative pt-8 pb-20 sm:pt-0 sm:pb-20">+ <section id="why-remocn" className="relative pt-6 pb-14 sm:pt-0 sm:pb-20"><div className="section"><SectionHeading eyebrow={EYEBROW} title={TITLE} lead={LEAD} />@@ -132,7 +145,7 @@ export function WhyRemocn() {<p className="text-base font-semibold text-foreground sm:text-lg">The usual bill</p>- <p className="mt-0.5 text-xs text-muted-foreground sm:text-sm">+ <p className="mt-0.5 hidden text-sm text-muted-foreground sm:block">What a video normally costs you</p></div>@@ -140,7 +153,7 @@ export function WhyRemocn() {<p className="text-base font-semibold text-foreground sm:text-lg">With remocn</p>- <p className="mt-0.5 text-xs text-muted-foreground sm:text-sm">+ <p className="mt-0.5 hidden text-sm text-muted-foreground sm:block">Just one command</p></div>