diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts
index a71d25e..3227adc 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'];
+export const NEW = ['Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy'];
export const UPDATED = [];
// Used for main sidebar navigation
@@ -103,7 +103,8 @@ export const CATEGORIES = [
'Orb',
'Ballpit',
'Liquid Chrome',
- 'Grid Distortion'
+ 'Grid Distortion',
+ 'Galaxy',
]
}
];
diff --git a/src/constants/Components.ts b/src/constants/Components.ts
index 83b7d15..05ddf75 100644
--- a/src/constants/Components.ts
+++ b/src/constants/Components.ts
@@ -90,6 +90,7 @@ const backgrounds = {
'liquid-chrome': () => import('../demo/Backgrounds/LiquidChromeDemo.vue'),
'grid-distortion': () => import('../demo/Backgrounds/GridDistortionDemo.vue'),
'ripple-grid': () => import('../demo/Backgrounds/RippleGridDemo.vue'),
+ 'galaxy': () => import('../demo/Backgrounds/GalaxyDemo.vue'),
};
export const componentMap = {
diff --git a/src/constants/code/Backgrounds/galaxyCode.ts b/src/constants/code/Backgrounds/galaxyCode.ts
new file mode 100644
index 0000000..08e5f66
--- /dev/null
+++ b/src/constants/code/Backgrounds/galaxyCode.ts
@@ -0,0 +1,28 @@
+import code from '@content/Backgrounds/Galaxy/Galaxy.vue?raw';
+import { createCodeObject } from '../../../types/code';
+
+export const galaxy = createCodeObject(code, 'Backgrounds/Galaxy', {
+ installation: `npm install ogl`,
+ usage: `
+ // Basic usage
+
+
+
+
+ // With custom prop values
+
+
+
+
+
+`
+});
diff --git a/src/content/Backgrounds/Galaxy/Galaxy.vue b/src/content/Backgrounds/Galaxy/Galaxy.vue
new file mode 100644
index 0000000..f201bf3
--- /dev/null
+++ b/src/content/Backgrounds/Galaxy/Galaxy.vue
@@ -0,0 +1,357 @@
+
+
+
+
+
diff --git a/src/demo/Backgrounds/GalaxyDemo.vue b/src/demo/Backgrounds/GalaxyDemo.vue
new file mode 100644
index 0000000..975344b
--- /dev/null
+++ b/src/demo/Backgrounds/GalaxyDemo.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+