Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: remove ugly comments

dev_wandry29ba536c53b4
diff --git a/app/(home)/components/header-parts.tsx b/app/(home)/components/header-parts.tsx
index bfcd90d2..523050e7 100644
--- a/app/(home)/components/header-parts.tsx
+++ b/app/(home)/components/header-parts.tsx
@@ -47,7 +47,6 @@ export function HeaderActions() {
</div>
<ThemeToggle />
- {/* Mobile nav trigger */}
<Sheet>
<SheetTrigger
render={
diff --git a/app/(home)/components/stars-button.tsx b/app/(home)/components/stars-button.tsx
index 64020964..b12691fb 100644
--- a/app/(home)/components/stars-button.tsx
+++ b/app/(home)/components/stars-button.tsx
@@ -21,11 +21,7 @@ export function StarsButton({
{...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)]"
- />
+ <ShimmeringText text="Animate your stars" duration={1.4} />
</Link>
);
}
diff --git a/components/docs/new-badge.tsx b/components/docs/new-badge.tsx
index 41c7dfb5..7141ad21 100644
--- a/components/docs/new-badge.tsx
+++ b/components/docs/new-badge.tsx
@@ -1,18 +1,6 @@
import { ShimmeringText } from "@/components/shimmering-text";
import { cn } from "@/lib/utils";
-/**
- * Animated "NEW" tag for docs sidebar menu items. Built on the shimmering-text
- * primitive so the letters sweep between `--color` and `--shimmering-color`.
- * The pill sits on the `--badge-new-bg` accent (an editable token in
- * globals.css); the shimmer runs in dark `--badge-new-fg` tones so the label
- * stays legible on that light background in both themes.
- *
- * Rendered inline after a sidebar item's label (`ms-auto` pushes it to the rail
- * edge — the Fumadocs sidebar link is a flex row). `ShimmeringText` already
- * emits an `sr-only` "NEW" label and marks the animated glyphs `aria-hidden`,
- * so the badge stays accessible without extra wiring.
- */
export function NewBadge({ className }: { className?: string }) {
return (
<ShimmeringText