diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 1dadbea..581a1b2 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -47,6 +47,7 @@ export const CATEGORIES = [ 'Blob Cursor', 'Meta Balls', 'Image Trail', + 'Shape Blur', ] }, { @@ -84,7 +85,6 @@ export const CATEGORIES = [ 'Balatro', 'Letter Glitch', 'Particles', - 'Shape Blur', 'Waves', 'Squares', 'Iridescence', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 27f8cfa..35542d1 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -15,6 +15,7 @@ const animations = { 'blob-cursor': () => import('../demo/Animations/BlobCursorDemo.vue'), 'meta-balls': () => import('../demo/Animations/MetaBallsDemo.vue'), 'image-trail': () => import('../demo/Animations/ImageTrailDemo.vue'), + 'shape-blur': () => import('../demo/Animations/ShapeBlurDemo.vue'), }; const textAnimations = { @@ -74,7 +75,6 @@ const backgrounds = { 'beams': () => import('../demo/Backgrounds/BeamsDemo.vue'), 'grid-motion': () => import('../demo/Backgrounds/GridMotionDemo.vue'), 'hyperspeed': () => import('../demo/Backgrounds/HyperspeedDemo.vue'), - 'shape-blur': () => import('../demo/Backgrounds/ShapeBlurDemo.vue'), 'balatro': () => import('../demo/Backgrounds/BalatroDemo.vue'), 'orb': () => import('../demo/Backgrounds/OrbDemo.vue'), 'ballpit': () => import('../demo/Backgrounds/BallpitDemo.vue'), diff --git a/src/constants/code/Backgrounds/shapeBlurCode.ts b/src/constants/code/Animations/shapeBlurCode.ts similarity index 78% rename from src/constants/code/Backgrounds/shapeBlurCode.ts rename to src/constants/code/Animations/shapeBlurCode.ts index 5e776d5..165c3f7 100644 --- a/src/constants/code/Backgrounds/shapeBlurCode.ts +++ b/src/constants/code/Animations/shapeBlurCode.ts @@ -1,8 +1,8 @@ -import code from '@content/Backgrounds/ShapeBlur/ShapeBlur.vue?raw'; +import code from '@/content/Animations/ShapeBlur/ShapeBlur.vue?raw'; import type { CodeObject } from '../../../types/code'; export const shapeBlur: CodeObject = { - cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/ShapeBlur`, + cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/ShapeBlur`, installation: `npm install three @types/three`, usage: `