From 64e14c715d51f2f8d0175be48e642d437d266370 Mon Sep 17 00:00:00 2001 From: km0 Date: Sat, 20 May 2023 16:49:17 +0200 Subject: [PATCH] basic scene add and remove, video snapshot --- index.html | 5 +-- public/baobab.svg | 3 ++ public/vite.svg | 1 - src/App.vue | 44 ++++++++++++++++++++++++- src/assets/vue.svg | 1 - src/components/AddScene.vue | 36 +++++++++++++------- src/components/FileLoader.vue | 54 +++++++++++++++++++++++++----- src/components/SceneEntry.vue | 62 +++++++++++++++++++++++++++-------- src/style.css | 14 +++++++- 9 files changed, 182 insertions(+), 38 deletions(-) create mode 100755 public/baobab.svg delete mode 100644 public/vite.svg delete mode 100644 src/assets/vue.svg diff --git a/index.html b/index.html index 795e4fb..904a64d 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,10 @@ - + + - Vite + Vue + Story Baobab
diff --git a/public/baobab.svg b/public/baobab.svg new file mode 100755 index 0000000..5c64286 --- /dev/null +++ b/public/baobab.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 066bd73..2effa23 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,57 @@ diff --git a/src/assets/vue.svg b/src/assets/vue.svg deleted file mode 100644 index 770e9d3..0000000 --- a/src/assets/vue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/AddScene.vue b/src/components/AddScene.vue index 4cc0bbe..5fc5bf4 100644 --- a/src/components/AddScene.vue +++ b/src/components/AddScene.vue @@ -1,36 +1,49 @@ diff --git a/src/components/SceneEntry.vue b/src/components/SceneEntry.vue index 1585c3d..b3b9294 100644 --- a/src/components/SceneEntry.vue +++ b/src/components/SceneEntry.vue @@ -1,7 +1,9 @@ diff --git a/src/style.css b/src/style.css index 8d1c8b6..4574585 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,13 @@ - + * { + box-sizing: border-box; +} + +html, body { + margin: 0; +} + +body { + font-family: sans-serif; + font-size: 16px; + line-height: 1.6; +}