diff --git a/src/components/landing/Hero/Hero.vue b/src/components/landing/Hero/Hero.vue index 36b952f..0c3cf37 100644 --- a/src/components/landing/Hero/Hero.vue +++ b/src/components/landing/Hero/Hero.vue @@ -19,10 +19,10 @@ />
- + New 🎉
- Laser Flow + Color Bends
diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 8285535..9a612fb 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -1,5 +1,5 @@ // Highlighted sidebar items -export const NEW = ['Ghost Cursor', 'Laser Flow', 'Dome Gallery', 'Liquid Ether', 'Staggered Menu', 'Pixel Blast', 'Gradient Blinds', 'Bubble Menu', 'Prism', 'Plasma', 'Pill Nav', 'Card Nav', 'Prismatic Burst']; +export const NEW = ['Color Bends', 'Ghost Cursor', 'Laser Flow', 'Dome Gallery', 'Liquid Ether', 'Staggered Menu', 'Pixel Blast', 'Bubble Menu', 'Pill Nav', 'Card Nav']; export const UPDATED = []; // Used for main sidebar navigation @@ -103,6 +103,7 @@ export const CATEGORIES = [ { name: 'Backgrounds', subcategories: [ + 'Color Bends', 'Prism', 'Aurora', 'Beams', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 09b41f7..440002d 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -119,6 +119,7 @@ const backgrounds = { 'prismatic-burst': () => import('../demo/Backgrounds/PrismaticBurstDemo.vue'), 'pixel-blast': () => import('../demo/Backgrounds/PixelBlastDemo.vue'), 'liquid-ether': () => import('../demo/Backgrounds/LiquidEtherDemo.vue'), + 'color-bends': () => import('../demo/Backgrounds/ColorBendsDemo.vue'), }; export const componentMap = { diff --git a/src/constants/code/Backgrounds/colorBendsCode.ts b/src/constants/code/Backgrounds/colorBendsCode.ts new file mode 100644 index 0000000..bbc9a29 --- /dev/null +++ b/src/constants/code/Backgrounds/colorBendsCode.ts @@ -0,0 +1,24 @@ +import code from '@content/Backgrounds/ColorBends/ColorBends.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const colorBends = createCodeObject(code, 'Backgrounds/ColorBends', { + installation: `npm install three`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/ColorBends/ColorBends.vue b/src/content/Backgrounds/ColorBends/ColorBends.vue new file mode 100644 index 0000000..998afe2 --- /dev/null +++ b/src/content/Backgrounds/ColorBends/ColorBends.vue @@ -0,0 +1,300 @@ + + + diff --git a/src/demo/Backgrounds/ColorBendsDemo.vue b/src/demo/Backgrounds/ColorBendsDemo.vue new file mode 100644 index 0000000..2e9ff35 --- /dev/null +++ b/src/demo/Backgrounds/ColorBendsDemo.vue @@ -0,0 +1,108 @@ + + +