diff --git a/src/constants/code/Backgrounds/evilEyeCode.ts b/src/constants/code/Backgrounds/evilEyeCode.ts new file mode 100644 index 0000000..42c94b2 --- /dev/null +++ b/src/constants/code/Backgrounds/evilEyeCode.ts @@ -0,0 +1,26 @@ +import code from '@content/Backgrounds/EvilEye/EvilEye.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const evilEye = createCodeObject(code, 'Backgrounds/EvilEye', { + installation: `npm install ogl`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/EvilEye/EvilEye.vue b/src/content/Backgrounds/EvilEye/EvilEye.vue new file mode 100644 index 0000000..1fc56c8 --- /dev/null +++ b/src/content/Backgrounds/EvilEye/EvilEye.vue @@ -0,0 +1,303 @@ + + + diff --git a/src/demo/Backgrounds/EvilEyeDemo.vue b/src/demo/Backgrounds/EvilEyeDemo.vue new file mode 100644 index 0000000..60d9813 --- /dev/null +++ b/src/demo/Backgrounds/EvilEyeDemo.vue @@ -0,0 +1,135 @@ + + + diff --git a/src/demo/Backgrounds/SoftAuroraDemo.vue b/src/demo/Backgrounds/SoftAuroraDemo.vue index 111a0db..56bd219 100644 --- a/src/demo/Backgrounds/SoftAuroraDemo.vue +++ b/src/demo/Backgrounds/SoftAuroraDemo.vue @@ -30,14 +30,14 @@ - - - - - - - - + + + + + + + + @@ -74,7 +74,7 @@ import PreviewSlider from '@/components/common/PreviewSlider.vue'; import PreviewSwitch from '@/components/common/PreviewSwitch.vue'; import PropTable from '@/components/common/PropTable.vue'; import TabbedLayout from '@/components/common/TabbedLayout.vue'; -import { radar } from '@/constants/code/Backgrounds/radarCode'; +import { softAurora } from '@/constants/code/Backgrounds/softAuroraCode'; import SoftAurora from '@/content/Backgrounds/SoftAurora/SoftAurora.vue'; import { ref } from 'vue';