Skip to content

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

feat: intro badge

dev_wandry6d41034b95e3
diff --git a/app/(home)/components/sections/hero.tsx b/app/(home)/components/sections/hero.tsx
index c5c5b6da..39da9cbc 100644
--- a/app/(home)/components/sections/hero.tsx
+++ b/app/(home)/components/sections/hero.tsx
@@ -23,18 +23,9 @@ export function Hero() {
if (v.paused) {
void v.play();
setPlaying(true);
- trackEvent("preview_played", {
- component: "glass-code-block",
- surface: "hero",
- trigger: "click",
- });
} else {
v.pause();
setPlaying(false);
- trackEvent("preview_paused", {
- component: "glass-code-block",
- surface: "hero",
- });
}
}, [trackEvent]);
@@ -55,11 +46,11 @@ export function Hero() {
className="mb-5 h-7 gap-1.5 rounded-full px-3 text-xs"
render={
<Link
- href="/docs/shaders/getting-started/introduction"
+ href="/docs/icons/gallery"
onClick={() =>
trackEvent("cta_clicked", {
cta: "hero_ui_badge",
- destination: "/docs/shaders/getting-started/introduction",
+ destination: "/docs/icons/gallery",
})
}
/>
@@ -70,7 +61,7 @@ export function Hero() {
·
</span>
<span className="text-muted-foreground">
- Introducing <span className="text-foreground">Shaders</span>
+ Introducing <span className="text-foreground">Remocn Icons</span>
</span>
<ArrowRight className="size-3" aria-hidden="true" />
</Badge>