diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts
index af8a54e..da10bcc 100644
--- a/src/constants/Categories.ts
+++ b/src/constants/Categories.ts
@@ -1,5 +1,5 @@
// Highlighted sidebar items
-export const NEW = ['Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Text Type', 'Glass Surface', 'Sticker Peel', 'Scroll Stack', 'Faulty Terminal', 'Pill Nav', 'Card Nav', 'Logo Loop'];
+export const NEW = ['Prism', 'Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Glass Surface', 'Sticker Peel', 'Scroll Stack', 'Faulty Terminal', 'Pill Nav', 'Card Nav', 'Logo Loop'];
export const UPDATED = [];
// Used for main sidebar navigation
@@ -95,6 +95,7 @@ export const CATEGORIES = [
{
name: 'Backgrounds',
subcategories: [
+ 'Prism',
'Aurora',
'Beams',
'Dark Veil',
diff --git a/src/constants/Components.ts b/src/constants/Components.ts
index d3658e7..2e7535c 100644
--- a/src/constants/Components.ts
+++ b/src/constants/Components.ts
@@ -105,6 +105,7 @@ const backgrounds = {
'galaxy': () => import('../demo/Backgrounds/GalaxyDemo.vue'),
'faulty-terminal': () => import('../demo/Backgrounds/FaultyTerminalDemo.vue'),
'light-rays': () => import('../demo/Backgrounds/LightRaysDemo.vue'),
+ 'prism': () => import('../demo/Backgrounds/PrismDemo.vue'),
};
export const componentMap = {
diff --git a/src/constants/code/Backgrounds/prismCode.ts b/src/constants/code/Backgrounds/prismCode.ts
new file mode 100644
index 0000000..f620522
--- /dev/null
+++ b/src/constants/code/Backgrounds/prismCode.ts
@@ -0,0 +1,25 @@
+import code from '@content/Backgrounds/Prism/Prism.vue?raw';
+import { createCodeObject } from '../../../types/code';
+
+export const prism = createCodeObject(code, 'Backgrounds/Prism', {
+ installation: `npm install ogl`,
+ usage: `
+
+
+
+`
+});
diff --git a/src/content/Backgrounds/Prism/Prism.vue b/src/content/Backgrounds/Prism/Prism.vue
new file mode 100644
index 0000000..f33ab11
--- /dev/null
+++ b/src/content/Backgrounds/Prism/Prism.vue
@@ -0,0 +1,459 @@
+
+
+
+
+
diff --git a/src/demo/Backgrounds/PrismDemo.vue b/src/demo/Backgrounds/PrismDemo.vue
new file mode 100644
index 0000000..16b553a
--- /dev/null
+++ b/src/demo/Backgrounds/PrismDemo.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+