From 80c42e7af4bdd41f775f29e8b3a425aca9a52a49 Mon Sep 17 00:00:00 2001 From: Utkarsh-Singhal-26 Date: Sun, 1 Feb 2026 17:24:20 +0530 Subject: [PATCH] [ REFACT ] : GradientText Text Animation --- .../code/TextAnimations/gradientTextCode.ts | 15 +- .../GradientText/GradientText.vue | 161 ++++++++++----- src/demo/TextAnimations/GradientTextDemo.vue | 188 ++++++++++++------ 3 files changed, 244 insertions(+), 120 deletions(-) diff --git a/src/constants/code/TextAnimations/gradientTextCode.ts b/src/constants/code/TextAnimations/gradientTextCode.ts index 19fc948..efeadfb 100644 --- a/src/constants/code/TextAnimations/gradientTextCode.ts +++ b/src/constants/code/TextAnimations/gradientTextCode.ts @@ -1,15 +1,18 @@ -import code from '@content/TextAnimations/GradientText/GradientText.vue?raw'; import { createCodeObject } from '@/types/code'; +import code from '@content/TextAnimations/GradientText/GradientText.vue?raw'; export const gradientText = createCodeObject(code, 'TextAnimations/GradientText', { - usage: `