diff --git a/src/components/landing/Hero/Hero.vue b/src/components/landing/Hero/Hero.vue index 6402369..29b3492 100644 --- a/src/components/landing/Hero/Hero.vue +++ b/src/components/landing/Hero/Hero.vue @@ -19,11 +19,11 @@ />
- + New 🎉
- Gradient Blinds - + Prismatic Burst +
diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 6637ae2..0b11deb 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -1,5 +1,5 @@ // Highlighted sidebar items -export const NEW = ['Gradient Blinds', 'Bubble Menu', 'Prism', 'Plasma', 'Electric Border', 'Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Glass Surface', 'Sticker Peel', 'Scroll Stack', 'Faulty Terminal', 'Pill Nav', 'Card Nav', 'Logo Loop']; +export const NEW = ['Gradient Blinds', 'Bubble Menu', 'Prism', 'Plasma', 'Electric Border', 'Target Cursor', 'Pill Nav', 'Card Nav', 'Logo Loop', 'Prismatic Burst']; export const UPDATED = []; // Used for main sidebar navigation @@ -103,6 +103,7 @@ export const CATEGORIES = [ 'Dark Veil', 'Dither', 'Gradient Blinds', + 'Prismatic Burst', 'Dot Grid', 'Hyperspeed', 'Faulty Terminal', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 86973ae..b4ba2bd 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -110,6 +110,7 @@ const backgrounds = { 'plasma': () => import('../demo/Backgrounds/PlasmaDemo.vue'), 'prism': () => import('../demo/Backgrounds/PrismDemo.vue'), 'gradient-blinds': () => import('../demo/Backgrounds/GradientBlindsDemo.vue'), + 'prismatic-burst': () => import('../demo/Backgrounds/PrismaticBurstDemo.vue'), }; export const componentMap = { diff --git a/src/constants/code/Backgrounds/prismaticBurstCode.ts b/src/constants/code/Backgrounds/prismaticBurstCode.ts new file mode 100644 index 0000000..5fdace7 --- /dev/null +++ b/src/constants/code/Backgrounds/prismaticBurstCode.ts @@ -0,0 +1,26 @@ +import code from '@content/Backgrounds/PrismaticBurst/PrismaticBurst.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const prismaticBurst = createCodeObject(code, 'Backgrounds/PrismaticBurst', { + installation: `npm install ogl`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/PrismaticBurst/PrismaticBurst.vue b/src/content/Backgrounds/PrismaticBurst/PrismaticBurst.vue new file mode 100644 index 0000000..54cbad5 --- /dev/null +++ b/src/content/Backgrounds/PrismaticBurst/PrismaticBurst.vue @@ -0,0 +1,469 @@ + + + diff --git a/src/demo/Backgrounds/PrismaticBurstDemo.vue b/src/demo/Backgrounds/PrismaticBurstDemo.vue new file mode 100644 index 0000000..02c7a11 --- /dev/null +++ b/src/demo/Backgrounds/PrismaticBurstDemo.vue @@ -0,0 +1,154 @@ + + + + +