Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: added gh stars button
dev_wandry88976b90314f
diff --git a/app/(home)/components/header-parts.tsx b/app/(home)/components/header-parts.tsxindex f3453ac0..bfcd90d2 100644--- a/app/(home)/components/header-parts.tsx+++ b/app/(home)/components/header-parts.tsx@@ -15,6 +15,7 @@ import { cn } from "@/lib/utils";import { NavMobile } from "./header-nav";import { ThemeToggle } from "./theme-toggle";import { GithubButton } from "./github-button";+import { StarsButton } from "./stars-button";export function HeaderLogo() {return (@@ -38,6 +39,9 @@ export function HeaderLogo() {export function HeaderActions() {return (<div className="flex items-center gap-2">+ <div className="hidden sm:block">+ <StarsButton />+ </div><div className="hidden sm:block"><GithubButton /></div>@@ -63,6 +67,7 @@ export function HeaderActions() {</SheetHeader><NavMobile links={NAV_LINKS} /><div className="mt-4 flex flex-col gap-4 px-6 pb-6">+ <SheetClose render={<StarsButton className="w-full justify-center" />} /><GithubButton /><SheetCloserender={diff --git a/app/(home)/components/stars-button.tsx b/app/(home)/components/stars-button.tsxnew file mode 100644index 00000000..64020964--- /dev/null+++ b/app/(home)/components/stars-button.tsx@@ -0,0 +1,31 @@+import { Sparkles } from "lucide-react";+import Link from "next/link";+import type { ComponentProps } from "react";+import { ShimmeringText } from "@/components/shimmering-text";+import { cn } from "@/lib/utils";++export function StarsButton({+ className,+ ...props+}: Omit<ComponentProps<typeof Link>, "href" | "children">) {+ return (+ <Link+ href="/stars"+ data-track="cta_clicked"+ data-cta="stars_header"+ data-destination="/stars"+ className={cn(+ "group inline-flex h-9 items-center gap-2 rounded-full border border-border px-3 text-sm font-medium transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40",+ className,+ )}+ {...props}+ >+ <Sparkles className="size-4 text-muted-foreground transition-colors group-hover:text-foreground" />+ <ShimmeringText+ text="Animate your stars"+ duration={1.4}+ className="[--color:var(--muted-foreground)] [--shimmering-color:var(--foreground)]"+ />+ </Link>+ );+}