From 101dde4c6dfae179994f32e78d063ff1b4e3aa3e Mon Sep 17 00:00:00 2001 From: Utkarsh-Singhal-26 Date: Sat, 31 Jan 2026 22:58:03 +0530 Subject: [PATCH] [ REFACT ] : BlurText Text Animation --- .../code/TextAnimations/blurTextCode.ts | 9 +- .../TextAnimations/BlurText/BlurText.vue | 160 +++++++----------- src/demo/TextAnimations/BlurTextDemo.vue | 94 +++++----- 3 files changed, 110 insertions(+), 153 deletions(-) diff --git a/src/constants/code/TextAnimations/blurTextCode.ts b/src/constants/code/TextAnimations/blurTextCode.ts index c4e998c..f7536e7 100644 --- a/src/constants/code/TextAnimations/blurTextCode.ts +++ b/src/constants/code/TextAnimations/blurTextCode.ts @@ -1,18 +1,15 @@ -import code from '@content/TextAnimations/BlurText/BlurText.vue?raw'; import { createCodeObject } from '@/types/code'; +import code from '@content/TextAnimations/BlurText/BlurText.vue?raw'; export const blurText = createCodeObject(code, 'TextAnimations/BlurText', { installation: `npm install motion-v`, usage: ` diff --git a/src/content/TextAnimations/BlurText/BlurText.vue b/src/content/TextAnimations/BlurText/BlurText.vue index d21d1b0..420d15c 100644 --- a/src/content/TextAnimations/BlurText/BlurText.vue +++ b/src/content/TextAnimations/BlurText/BlurText.vue @@ -1,81 +1,99 @@ diff --git a/src/demo/TextAnimations/BlurTextDemo.vue b/src/demo/TextAnimations/BlurTextDemo.vue index 045f27a..1ef466c 100644 --- a/src/demo/TextAnimations/BlurTextDemo.vue +++ b/src/demo/TextAnimations/BlurTextDemo.vue @@ -1,33 +1,24 @@