From 37ed4196c8e1ddbbda2fc46e69b3ef61860c582a Mon Sep 17 00:00:00 2001 From: Utkarsh-Singhal-26 Date: Sat, 6 Sep 2025 11:20:34 +0530 Subject: [PATCH] =?UTF-8?q?FEAT:=20=F0=9F=8E=89=20New=20?= =?UTF-8?q?=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/landing/Hero/Hero.vue | 4 +- src/constants/Categories.ts | 3 +- src/constants/Components.ts | 1 + .../code/Backgrounds/liquidEtherCode.ts | 31 + .../Backgrounds/LiquidEther/LiquidEther.vue | 1265 +++++++++++++++++ src/demo/Backgrounds/LiquidEtherDemo.vue | 217 +++ 6 files changed, 1518 insertions(+), 3 deletions(-) create mode 100644 src/constants/code/Backgrounds/liquidEtherCode.ts create mode 100644 src/content/Backgrounds/LiquidEther/LiquidEther.vue create mode 100644 src/demo/Backgrounds/LiquidEtherDemo.vue diff --git a/src/components/landing/Hero/Hero.vue b/src/components/landing/Hero/Hero.vue index 14d4c2c..a276611 100644 --- a/src/components/landing/Hero/Hero.vue +++ b/src/components/landing/Hero/Hero.vue @@ -19,10 +19,10 @@ />
- + New 🎉
- Staggered Menu + Liquid Ether
diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 34962e4..bf5ae9b 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -1,5 +1,5 @@ // Highlighted sidebar items -export const NEW = ['Staggered Menu', 'Pixel Blast', 'Gradual Blur', 'Gradient Blinds', 'Bubble Menu', 'Prism', 'Plasma', 'Electric Border', 'Target Cursor', 'Pill Nav', 'Card Nav', 'Logo Loop', 'Prismatic Burst']; +export const NEW = ['Liquid Ether', 'Staggered Menu', 'Pixel Blast', 'Gradual Blur', '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 @@ -111,6 +111,7 @@ export const CATEGORIES = [ 'Hyperspeed', 'Faulty Terminal', 'Plasma', + 'Liquid Ether', 'Ripple Grid', 'Silk', 'Lightning', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 5a15b0b..d07c4cc 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -114,6 +114,7 @@ const backgrounds = { 'gradient-blinds': () => import('../demo/Backgrounds/GradientBlindsDemo.vue'), 'prismatic-burst': () => import('../demo/Backgrounds/PrismaticBurstDemo.vue'), 'pixel-blast': () => import('../demo/Backgrounds/PixelBlastDemo.vue'), + 'liquid-ether': () => import('../demo/Backgrounds/LiquidEtherDemo.vue'), }; export const componentMap = { diff --git a/src/constants/code/Backgrounds/liquidEtherCode.ts b/src/constants/code/Backgrounds/liquidEtherCode.ts new file mode 100644 index 0000000..19166d4 --- /dev/null +++ b/src/constants/code/Backgrounds/liquidEtherCode.ts @@ -0,0 +1,31 @@ +import code from '@content/Backgrounds/LiquidEther/LiquidEther.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const liquidEther = createCodeObject(code, 'Backgrounds/LiquidEther', { + installation: `npm install three`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/LiquidEther/LiquidEther.vue b/src/content/Backgrounds/LiquidEther/LiquidEther.vue new file mode 100644 index 0000000..fb61139 --- /dev/null +++ b/src/content/Backgrounds/LiquidEther/LiquidEther.vue @@ -0,0 +1,1265 @@ + + + diff --git a/src/demo/Backgrounds/LiquidEtherDemo.vue b/src/demo/Backgrounds/LiquidEtherDemo.vue new file mode 100644 index 0000000..9e3f297 --- /dev/null +++ b/src/demo/Backgrounds/LiquidEtherDemo.vue @@ -0,0 +1,217 @@ + + +