From 9a11e0f4a38297006b89cc7bb2a60734111582e0 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Sun, 10 Mar 2024 00:13:25 +0000
Subject: Migrate to nuxt

---
 src/views/EditorView.vue | 37 -------------------------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 src/views/EditorView.vue

(limited to 'src/views/EditorView.vue')

diff --git a/src/views/EditorView.vue b/src/views/EditorView.vue
deleted file mode 100644
index b94f998..0000000
--- a/src/views/EditorView.vue
+++ /dev/null
@@ -1,37 +0,0 @@
-<script setup lang="ts">
-import { useSessionStore } from '@/stores/session';
-import { loadQuestsFromJson, loadCategoriesFromJson } from '@/lib/questsLoader';
-import EditorSidebar from '@/components/Editor/EditorSidebar.vue';
-import testData from '@/data/testData.json';
-import taskDefinitions from '@/data/taskDefinitions.json';
-import EditorPane from '@/components/Editor/EditorPane.vue';
-
-const sessionStore = useSessionStore();
-
-const quests = loadQuestsFromJson(testData.quests);
-const categories = loadCategoriesFromJson(testData.categories);
-
-sessionStore.setQuests(quests);
-sessionStore.setCategories(categories);
-sessionStore.setTaskDefinitions(taskDefinitions.taskTypes);
-// sessionStore.updateEditorCategories();
-</script>
-
-<template>
-  <main>
-    <div id="editor-container">
-      <EditorSidebar />
-      
-      <EditorPane />
-    </div>
-  </main>
-</template>
-
-<style lang="scss" scoped>
-#editor-container {
-  display: flex;
-  background-color: var(--color-background-soft);
-  max-height: calc(100vh - 73px);
-  flex-direction: row;
-}
-</style>
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

