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 @@ + + + + +