Skip to content

Visualize Your Ideas With Code

fix(docs): fix links to examples (#106)

Jacobd445b564746b
diff --git a/packages/docs/src/components/AnimationPlayer/AnimationLink.tsx b/packages/docs/src/components/AnimationPlayer/AnimationLink.tsx
index 44e8a5be..3962183c 100644
--- a/packages/docs/src/components/AnimationPlayer/AnimationLink.tsx
+++ b/packages/docs/src/components/AnimationPlayer/AnimationLink.tsx
@@ -9,7 +9,7 @@ export interface AnimationLinkProps {
}
export default function AnimationLink({name}: AnimationLinkProps) {
- const url = `https://github.com/motion-canvas/motion-canvas/blob/main/examples/src/scenes/${name}.tsx`;
+ const url = `https://github.com/motion-canvas/motion-canvas/blob/main/packages/examples/src/scenes/${name}.tsx`;
return (
<Link to={url} className={clsx('padding--sm', styles.link)}>
<span>View source code</span>