Skip to content

Commit b5d9338

Browse files
committed
fix: text-loop examples path
1 parent e3c7b99 commit b5d9338

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
![hero](/app/opengraph-image.jpg)
2-
31
# Motion-Primitives
42

53
Beautifully designed, easy-to-integrate motion components for engineers and designers, built with [motion](https://motion.dev/) and [Tailwind CSS](https://tailwindcss.com/).
64

75
**This project is in beta. Expect new components to be released regularly and significant updates to the code.**
86

7+
<p align="center">
8+
<img src="https://raw.githubusercontent.com/ibelick/motion-primitives/main/app/opengraph-image.jpg" alt="hero" width="80%" />
9+
</p>
10+
911
## Documentation
1012

1113
Visit [motion-primitives.com/docs](http://motion-primitives.com/docs) to view the full documentation.

app/docs/spotlight/spotlight-basic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export function SpotlightBasic() {
2424
>
2525
<path
2626
stroke='currentColor'
27-
stroke-linecap='round'
28-
stroke-width='3'
27+
strokeLinecap='round'
28+
strokeWidth='3'
2929
d='M51.883 26.495c-7.277-4.124-18.08-7.004-26.519-7.425-2.357-.118-4.407-.244-6.364 1.06M59.642 51c-10.47-7.25-26.594-13.426-39.514-15.664-3.61-.625-6.744-1.202-9.991.263'
3030
></path>
3131
</svg>

app/docs/text-loop/page.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Text animation that transitions between multiple items, creating an engaging loo
2020

2121
<ComponentCodePreview
2222
component={<TextLoopBasic />}
23-
filePath='components/core/text-loop.tsx'
23+
filePath='app/docs/text-loop/text-loop-basic.tsx'
2424
classNameComponentContainer='min-h-0 py-12 px-12 justify-start items-start'
2525
/>
2626

2727
### Text Loop with custom variants and transition
2828

2929
<ComponentCodePreview
3030
component={<TextLoopCustomVariantsTransition />}
31-
filePath='components/core/text-loop.tsx'
31+
filePath='app/docs/text-loop/text-loop-custom-variants-transition.tsx'
3232
classNameComponentContainer='min-h-0 py-12 px-12 justify-start items-start'
3333
/>
3434

@@ -38,7 +38,7 @@ You can use the `onIndexChange` prop to trigger a callback function when the ind
3838

3939
<ComponentCodePreview
4040
component={<TextLoopOnIndexChange />}
41-
filePath='components/core/text-loop.tsx'
41+
filePath='app/docs/text-loop/text-loop-on-index.tsx'
4242
classNameComponentContainer='min-h-[124px] py-12 px-12 justify-start items-start'
4343
/>
4444

0 commit comments

Comments
 (0)