From bbb22644e7b3eb7b1d67a92bad19a6c31f763b83 Mon Sep 17 00:00:00 2001 From: Utkarsh-Singhal-26 Date: Sun, 22 Mar 2026 12:22:36 +0530 Subject: [PATCH] feat: added background --- src/constants/code/Backgrounds/radarCode.ts | 31 +++ src/content/Backgrounds/Radar/Radar.vue | 250 ++++++++++++++++++++ src/demo/Backgrounds/RadarDemo.vue | 191 +++++++++++++++ 3 files changed, 472 insertions(+) create mode 100644 src/constants/code/Backgrounds/radarCode.ts create mode 100644 src/content/Backgrounds/Radar/Radar.vue create mode 100644 src/demo/Backgrounds/RadarDemo.vue diff --git a/src/constants/code/Backgrounds/radarCode.ts b/src/constants/code/Backgrounds/radarCode.ts new file mode 100644 index 0000000..727f6e1 --- /dev/null +++ b/src/constants/code/Backgrounds/radarCode.ts @@ -0,0 +1,31 @@ +import code from '@content/Backgrounds/Radar/Radar.vue?raw'; +import { createCodeObject } from '../../../types/code'; + +export const radar = createCodeObject(code, 'Backgrounds/Radar', { + installation: `npm install ogl`, + usage: ` + +` +}); diff --git a/src/content/Backgrounds/Radar/Radar.vue b/src/content/Backgrounds/Radar/Radar.vue new file mode 100644 index 0000000..7323046 --- /dev/null +++ b/src/content/Backgrounds/Radar/Radar.vue @@ -0,0 +1,250 @@ + + + diff --git a/src/demo/Backgrounds/RadarDemo.vue b/src/demo/Backgrounds/RadarDemo.vue new file mode 100644 index 0000000..8f05527 --- /dev/null +++ b/src/demo/Backgrounds/RadarDemo.vue @@ -0,0 +1,191 @@ + + +