mirror of
https://github.com/motion-canvas/motion-canvas.git
synced 2026-01-13 07:48:03 -05:00
fix(docs): fix links to examples (#106)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user