diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 2ceaea5..3cb0a8e 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -90,7 +90,8 @@ export const CATEGORIES = [ 'Threads', 'Grid Motion', 'Orb', - 'Ballpit' + 'Ballpit', + 'Liquid Chrome', ] } ]; diff --git a/src/constants/Components.ts b/src/constants/Components.ts index a6dba2d..3e00484 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'), }; export const componentMap = { 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..8c6fe2b --- /dev/null +++ b/src/demo/Backgrounds/LiquidChromeDemo.vue @@ -0,0 +1,161 @@ + + +