diff --git a/src/constants/code/TextAnimations/shinyTextCode.ts b/src/constants/code/TextAnimations/shinyTextCode.ts index a2952a4..8014f84 100644 --- a/src/constants/code/TextAnimations/shinyTextCode.ts +++ b/src/constants/code/TextAnimations/shinyTextCode.ts @@ -1,13 +1,20 @@ -import code from '@content/TextAnimations/ShinyText/ShinyText.vue?raw'; import { createCodeObject } from '@/types/code'; +import code from '@content/TextAnimations/ShinyText/ShinyText.vue?raw'; export const shinyText = createCodeObject(code, 'TextAnimations/ShinyText', { + installation: `npm install motion-v`, usage: ` diff --git a/src/content/TextAnimations/ShinyText/ShinyText.vue b/src/content/TextAnimations/ShinyText/ShinyText.vue index 2545abb..e7c0c30 100644 --- a/src/content/TextAnimations/ShinyText/ShinyText.vue +++ b/src/content/TextAnimations/ShinyText/ShinyText.vue @@ -1,49 +1,135 @@ - - diff --git a/src/demo/TextAnimations/ShinyTextDemo.vue b/src/demo/TextAnimations/ShinyTextDemo.vue index 90ab624..e87205f 100644 --- a/src/demo/TextAnimations/ShinyTextDemo.vue +++ b/src/demo/TextAnimations/ShinyTextDemo.vue @@ -1,33 +1,31 @@