Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: redesign header
dev_wandry3f80bb584c4b
diff --git a/app/(home)/components/github-button.tsx b/app/(home)/components/github-button.tsxindex 7fc81b2d..f8d1f293 100644--- a/app/(home)/components/github-button.tsx+++ b/app/(home)/components/github-button.tsx@@ -13,13 +13,11 @@ export async function GithubButton() {data-track="cta_clicked"data-cta="github_header"data-destination={GITHUB_URL}- className="inline-flex h-9 items-center gap-2 rounded-full border border-border px-3 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"+ className="inline-flex h-9 items-center gap-2 rounded-full border-border px-3 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"><GitHubIcon className="size-4" />- <span className="hidden sm:inline">Star</span>{stars !== null && (<span className="inline-flex items-center gap-1 tabular-nums text-foreground">- <Star className="size-3.5 fill-current" />{formatStars(stars)}</span>)}diff --git a/app/(home)/components/header-nav.tsx b/app/(home)/components/header-nav.tsxindex 46d0ae71..5b5b8413 100644--- a/app/(home)/components/header-nav.tsx+++ b/app/(home)/components/header-nav.tsx@@ -57,7 +57,7 @@ export function NavDesktop({href={link.href}onMouseEnter={(event) => moveTo(event.currentTarget)}onFocus={(event) => moveTo(event.currentTarget)}- className="relative rounded-full px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:text-foreground focus-visible:outline-none"+ className="relative rounded-full px-3 py-2 text-sm font-medium text-foreground focus-visible:outline-none">{link.label}</Link>diff --git a/app/(home)/components/header-parts.tsx b/app/(home)/components/header-parts.tsxindex 84d3e90b..6f418940 100644--- a/app/(home)/components/header-parts.tsx+++ b/app/(home)/components/header-parts.tsx@@ -41,9 +41,6 @@ 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>diff --git a/app/(home)/components/sticky-header-shell.tsx b/app/(home)/components/sticky-header-shell.tsxindex edbdd4af..06443c3c 100644--- a/app/(home)/components/sticky-header-shell.tsx+++ b/app/(home)/components/sticky-header-shell.tsx@@ -8,14 +8,13 @@ export function StickyHeaderShell({ children }: { children: ReactNode }) {const scrolled = useScroll();return (- <header- className="sticky inset-x-0 top-0 z-40 border-transparent bg-transparent py-3">+ <header className="sticky inset-x-0 top-0 z-40 py-3"><divclassName={cn(- "mx-auto flex w-full max-w-6xl items-center justify-between rounded-2xl border px-4 backdrop-blur-xl transition-all duration-300 sm:px-6",+ "mx-auto flex w-full max-w-6xl items-center justify-between rounded-3xl border px-4 transition-all duration-300 sm:px-6",scrolled- ? "h-14 border-border bg-background/80 shadow-lg shadow-black/5 dark:shadow-black/30"- : "h-16 border-border/60 bg-background/40 shadow-lg shadow-black/5 dark:shadow-black/20",+ ? "h-14 border-border bg-background/80 shadow-lg shadow-black/5 backdrop-blur-xl dark:shadow-black/30"+ : "h-16 border-transparent bg-transparent",)}>{children}