From 01ab91c316617cb69c5e383c94ae9a40daac3416 Mon Sep 17 00:00:00 2001 From: David Haz Date: Sat, 12 Jul 2025 19:16:42 +0300 Subject: [PATCH] Migrate --- src/constants/Categories.ts | 1 + src/constants/Components.ts | 3 +- .../code/Animations/splashCursorCode.ts | 29 + .../Animations/SplashCursor/SplashCursor.vue | 1267 +++++++++++++++++ src/demo/Animations/SplashCursorDemo.vue | 154 ++ 5 files changed, 1453 insertions(+), 1 deletion(-) create mode 100644 src/constants/code/Animations/splashCursorCode.ts create mode 100644 src/content/Animations/SplashCursor/SplashCursor.vue create mode 100644 src/demo/Animations/SplashCursorDemo.vue diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 95693af..b0503f3 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -31,6 +31,7 @@ export const CATEGORIES = [ subcategories: [ 'Animated Content', 'Fade Content', + 'Splash Cursor', 'Pixel Transition', 'Ribbons', 'Glare Hover', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 7b7ea30..74763af 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -9,7 +9,8 @@ const animations = { 'metallic-paint': () => import('../demo/Animations/MetallicPaintDemo.vue'), 'magnet': () => import('../demo/Animations/MagnetDemo.vue'), 'cubes': () => import('../demo/Animations/CubesDemo.vue'), - 'count-up': () => import('../demo/Animations/CountUpDemo.vue') + 'count-up': () => import('../demo/Animations/CountUpDemo.vue'), + 'splash-cursor': () => import('../demo/Animations/SplashCursorDemo.vue'), }; const textAnimations = { diff --git a/src/constants/code/Animations/splashCursorCode.ts b/src/constants/code/Animations/splashCursorCode.ts new file mode 100644 index 0000000..c8de8ce --- /dev/null +++ b/src/constants/code/Animations/splashCursorCode.ts @@ -0,0 +1,29 @@ +import code from '@content/Animations/SplashCursor/SplashCursor.vue?raw'; +import type { CodeObject } from '../../../types/code'; + +export const splashCursor: CodeObject = { + cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/SplashCursor`, + usage: ` + +`, + code +}; diff --git a/src/content/Animations/SplashCursor/SplashCursor.vue b/src/content/Animations/SplashCursor/SplashCursor.vue new file mode 100644 index 0000000..e69f127 --- /dev/null +++ b/src/content/Animations/SplashCursor/SplashCursor.vue @@ -0,0 +1,1267 @@ + + + diff --git a/src/demo/Animations/SplashCursorDemo.vue b/src/demo/Animations/SplashCursorDemo.vue new file mode 100644 index 0000000..f3776c9 --- /dev/null +++ b/src/demo/Animations/SplashCursorDemo.vue @@ -0,0 +1,154 @@ + + + + +