Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: added legendary sponsor
kapishdimafa5800acfdd4
diff --git a/app/(home)/components/sections/landing-partners.tsx b/app/(home)/components/sections/landing-partners.tsxindex 7f1758cb..34b6035f 100644--- a/app/(home)/components/sections/landing-partners.tsx+++ b/app/(home)/components/sections/landing-partners.tsx@@ -1,6 +1,6 @@import { ArrowRight } from "lucide-react";import Link from "next/link";-import { type Sponsor, sponsors } from "@/config/sponsors";+import { getFeaturedSponsors, type Sponsor } from "@/config/sponsors";import { cn } from "@/lib/utils";import { FadeUp } from "../fade-up";import { SectionHeading } from "../section-heading";@@ -33,9 +33,7 @@ function SponsorLogoCard({ sponsor }: { sponsor: Sponsor }) {}export function LandingPartners() {- const partners = sponsors.filter(- (s) => s.tier === "partner" && !s.hideFromFeatured,- );+ const featured = getFeaturedSponsors();return (<section id="partners" className="relative py-14 sm:py-20">@@ -47,17 +45,17 @@ export function LandingPartners() {lead="remocn is free and MIT-licensed. Sponsors keep the registry growing and the renders fast."/>- {partners.length > 0 && (+ {featured.length > 0 && (<FadeUp delay={0.1}><divclassName={cn("mx-auto mt-12 grid max-w-3xl gap-4 sm:gap-6",- partners.length === 1+ featured.length === 1? "max-w-sm grid-cols-1": "grid-cols-2 lg:grid-cols-3",)}>- {partners.map((s) => (+ {featured.map((s) => (<SponsorLogoCard key={s.id} sponsor={s} />))}</div>diff --git a/app/(home)/sponsors/components/sections/wall-of-love.tsx b/app/(home)/sponsors/components/sections/wall-of-love.tsxindex 2d8c4b98..92844ed9 100644--- a/app/(home)/sponsors/components/sections/wall-of-love.tsx+++ b/app/(home)/sponsors/components/sections/wall-of-love.tsx@@ -45,12 +45,14 @@ function SponsorLogoCard({function SponsorGroup({label,+ note,items,gridClassName,aspectClassName,maxH,}: {label: string;+ note?: string;items: Sponsor[];gridClassName: string;aspectClassName: string;@@ -59,8 +61,9 @@ function SponsorGroup({if (items.length === 0) return null;return (<div className="mb-12">- <div className="mb-4 font-mono text-xs font-medium text-muted-foreground">- {label}+ <div className="mb-4 flex flex-wrap items-baseline gap-x-2 font-mono text-xs font-medium text-muted-foreground">+ <span>{label}</span>+ {note && <span className="text-muted-foreground/60">{note}</span>}</div><div className={gridClassName}>{items.map((s) => (@@ -74,6 +77,7 @@ function SponsorGroup({}export function WallOfLove() {+ const legendary = sponsors.filter((s) => s.tier === "legendary");const partners = sponsors.filter((s) => s.tier === "partner");const builders = sponsors.filter((s) => s.tier === "builder");const supporters = sponsors.filter((s) => s.tier === "supporter");@@ -107,6 +111,14 @@ export function WallOfLove() {</FadeUp>) : (<FadeUp delay={0.1}>+ <SponsorGroup+ label="Legendary"+ note="By invitation only"+ items={legendary}+ gridClassName="grid gap-6 md:grid-cols-2"+ aspectClassName="aspect-[3/2]"+ maxH="max-h-24"+ /><SponsorGrouplabel="Partners"items={partners}diff --git a/components/docs/docs-sponsor.tsx b/components/docs/docs-sponsor.tsxindex d9b78a73..646114a4 100644--- a/components/docs/docs-sponsor.tsx+++ b/components/docs/docs-sponsor.tsx@@ -2,11 +2,11 @@ import { ArrowUpRight } from "lucide-react";import Link from "next/link";import type React from "react";import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";-import { getGoldSponsors } from "@/config/sponsors";+import { getFeaturedSponsors } from "@/config/sponsors";import { cn } from "@/lib/utils";export const DocsSponsor: React.FC = () => {- const goldSponsors = getGoldSponsors();+ const featuredSponsors = getFeaturedSponsors();return (<Card size="sm" className="w-full gap-4 shadow-2xs">@@ -24,9 +24,9 @@ export const DocsSponsor: React.FC = () => {<CardContent className="flex flex-col gap-1">{/* <span className="text-xs font-medium text-muted-foreground">Gold</span> */}- {goldSponsors.length > 0 ? (+ {featuredSponsors.length > 0 ? (<div className="flex flex-col gap-2">- {goldSponsors.map((sponsor) => (+ {featuredSponsors.map((sponsor) => (<akey={sponsor.id}href={sponsor.website}diff --git a/config/sponsors.ts b/config/sponsors.tsindex fe21e89c..8e240268 100644--- a/config/sponsors.ts+++ b/config/sponsors.ts@@ -1,6 +1,13 @@import { LAVENDER, MINT, PEACH } from "@/config/site";-export type SponsorTier = "partner" | "builder" | "supporter";+export type SponsorTier = "legendary" | "partner" | "builder" | "supporter";++const TIER_RANK: Record<SponsorTier, number> = {+ legendary: 0,+ partner: 1,+ builder: 2,+ supporter: 3,+};export type Sponsor = {id: string;@@ -21,6 +28,16 @@ export type Sponsor = {export const sponsors: Sponsor[] = ([+ {+ id: "neon",+ name: "Neon",+ logoUrl: "/sponsors/neon.svg",+ website:+ "https://neon.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "legendary",+ customStyles: "opacity-90 max-w-full",+ isPaste: false,+ },{id: "21st",name: "21st.dev",@@ -159,10 +176,14 @@ export const sponsors: Sponsor[] = (] satisfies Sponsor[]).filter((sponsor) => !sponsor.isPaste);-export function getGoldSponsors(): Sponsor[] {- return sponsors.filter(- (sponsor) => sponsor.tier === "partner" && !sponsor.hideFromFeatured,- );+export function getFeaturedSponsors(): Sponsor[] {+ return sponsors+ .filter(+ (sponsor) =>+ (sponsor.tier === "legendary" || sponsor.tier === "partner") &&+ !sponsor.hideFromFeatured,+ )+ .sort((a, b) => TIER_RANK[a.tier] - TIER_RANK[b.tier]);}export type BillingMode = "monthly" | "one-time";diff --git a/public/sponsors/neon.svg b/public/sponsors/neon.svgnew file mode 100644index 00000000..427875ae--- /dev/null+++ b/public/sponsors/neon.svg@@ -0,0 +1,4 @@+<svg width="157" height="45" viewBox="0 0 157 45" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M43.9855 0.0123174V44L26.9857 29.2514V44H0.417969V0L43.9855 0.0123174ZM5.75846 38.6595H21.6452V17.5326L38.6453 32.5729V5.35124L5.75846 5.34181V38.6595Z" fill="black"/>+<path d="M79.0696 35.7042L62.1559 20.7349V35.4106H56.8359V9.06775L73.7497 24.037V9.36126H79.0696V35.7042ZM84.9261 35.4106V9.36126H100.849V14.6078H90.2461V19.7443H98.6479V24.8808H90.2461V30.1641H100.849V35.4106H84.9261ZM117.319 35.7042C109.944 35.7042 104 29.7605 104 22.386C104 15.0114 109.944 9.06775 117.319 9.06775C124.693 9.06775 130.637 15.0114 130.637 22.386C130.637 29.7605 124.693 35.7042 117.319 35.7042ZM117.319 30.5677C121.868 30.5677 125.28 26.8987 125.28 22.386C125.28 17.8732 121.868 14.2042 117.319 14.2042C112.769 14.2042 109.357 17.8732 109.357 22.386C109.357 26.8987 112.769 30.5677 117.319 30.5677ZM156.492 35.7042L139.578 20.7349V35.4106H134.258V9.06775L151.172 24.037V9.36126H156.492V35.7042Z" fill="black"/>+</svg>