diff --git a/public/assets/videos/lightpillar.mp4 b/public/assets/videos/lightpillar.mp4 new file mode 100644 index 0000000..a077458 Binary files /dev/null and b/public/assets/videos/lightpillar.mp4 differ diff --git a/public/assets/videos/lightpillar.webm b/public/assets/videos/lightpillar.webm new file mode 100644 index 0000000..6c05476 Binary files /dev/null and b/public/assets/videos/lightpillar.webm differ diff --git a/src/components/landing/Hero/Hero.vue b/src/components/landing/Hero/Hero.vue index 315915b..a273510 100644 --- a/src/components/landing/Hero/Hero.vue +++ b/src/components/landing/Hero/Hero.vue @@ -19,10 +19,10 @@ />
- + New 🎉
- Floating Lines + Light Pillar
diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index c286951..2cceb8f 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -1,5 +1,5 @@ // Highlighted sidebar items -export const NEW = ['Color Bends', 'Ghost Cursor', 'Laser Flow', 'Liquid Ether', 'Pixel Blast', 'Floating Lines']; +export const NEW = ['Color Bends', 'Ghost Cursor', 'Laser Flow', 'Liquid Ether', 'Pixel Blast', 'Floating Lines', 'Light Pillar']; export const UPDATED = []; // Used for main sidebar navigation @@ -123,6 +123,7 @@ export const CATEGORIES = [ 'Iridescence', 'Letter Glitch', 'Lightning', + 'Light Pillar', 'Light Rays', 'Liquid Chrome', 'Liquid Ether', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 342f7c0..5426f0b 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -121,6 +121,7 @@ const backgrounds = { 'liquid-ether': () => import('../demo/Backgrounds/LiquidEtherDemo.vue'), 'color-bends': () => import('../demo/Backgrounds/ColorBendsDemo.vue'), 'floating-lines': () => import('../demo/Backgrounds/FloatingLinesDemo.vue'), + 'light-pillar': () => import('../demo/Backgrounds/LightPillarDemo.vue'), }; export const componentMap = { diff --git a/src/constants/Information.ts b/src/constants/Information.ts index 30e75fe..c49335a 100644 --- a/src/constants/Information.ts +++ b/src/constants/Information.ts @@ -948,5 +948,13 @@ export const componentMetadata: ComponentMetadata = { name: 'LiquidEther', docsUrl: 'https://vue-bits.dev/backgrounds/liquid-ether', tags: [] + }, + 'Backgrounds/LightPillar': { + videoUrl: '/assets/videos/lightpillar.webm', + description: 'Vertical pillar of light with glow effects.', + category: 'Backgrounds', + name: 'LightPillar', + docsUrl: 'https://vue-bits.dev/backgrounds/light-pillar', + tags: [] } }; diff --git a/src/constants/code/Backgrounds/lightPillarCode.ts b/src/constants/code/Backgrounds/lightPillarCode.ts new file mode 100644 index 0000000..20994d6 --- /dev/null +++ b/src/constants/code/Backgrounds/lightPillarCode.ts @@ -0,0 +1,27 @@ +import code from '@content/Backgrounds/LightPillar/LightPillar.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const lightPillar = createCodeObject(code, 'Backgrounds/LightPillar', { + installation: `npm install three`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/LightPillar/LightPillar.vue b/src/content/Backgrounds/LightPillar/LightPillar.vue new file mode 100644 index 0000000..ff3f40f --- /dev/null +++ b/src/content/Backgrounds/LightPillar/LightPillar.vue @@ -0,0 +1,402 @@ + + + diff --git a/src/demo/Backgrounds/LightPillarDemo.vue b/src/demo/Backgrounds/LightPillarDemo.vue new file mode 100644 index 0000000..c4db63d --- /dev/null +++ b/src/demo/Backgrounds/LightPillarDemo.vue @@ -0,0 +1,161 @@ + + +