diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index df46b61..4bfd1ac 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -91,6 +91,7 @@ export const CATEGORIES = [ 'Grid Motion', 'Orb', 'Ballpit', + 'Liquid Chrome', 'Grid Distortion' ] } diff --git a/src/constants/Components.ts b/src/constants/Components.ts index cc64964..0935b36 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -77,6 +77,7 @@ const backgrounds = { 'balatro': () => import('../demo/Backgrounds/BalatroDemo.vue'), 'orb': () => import('../demo/Backgrounds/OrbDemo.vue'), 'ballpit': () => import('../demo/Backgrounds/BallpitDemo.vue'), + 'liquid-chrome': () => import('../demo/Backgrounds/LiquidChromeDemo.vue'), 'grid-distortion': () => import('../demo/Backgrounds/GridDistortionDemo.vue'), }; diff --git a/src/constants/code/Backgrounds/liquidChromeCode.ts b/src/constants/code/Backgrounds/liquidChromeCode.ts new file mode 100644 index 0000000..b33d535 --- /dev/null +++ b/src/constants/code/Backgrounds/liquidChromeCode.ts @@ -0,0 +1,22 @@ +import code from '@content/Backgrounds/LiquidChrome/LiquidChrome.vue?raw'; +import type { CodeObject } from '../../../types/code'; + +export const liquidChrome: CodeObject = { + cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/LiquidChrome`, + installation: `npm i ogl`, + usage: ` + +`, + code +}; diff --git a/src/content/Backgrounds/LiquidChrome/LiquidChrome.vue b/src/content/Backgrounds/LiquidChrome/LiquidChrome.vue new file mode 100644 index 0000000..e472401 --- /dev/null +++ b/src/content/Backgrounds/LiquidChrome/LiquidChrome.vue @@ -0,0 +1,199 @@ + + + diff --git a/src/demo/Backgrounds/LiquidChromeDemo.vue b/src/demo/Backgrounds/LiquidChromeDemo.vue new file mode 100644 index 0000000..845465e --- /dev/null +++ b/src/demo/Backgrounds/LiquidChromeDemo.vue @@ -0,0 +1,109 @@ + + + + +