From 86d145de84f42c0ca194edc0cad82ed92cdf63f4 Mon Sep 17 00:00:00 2001 From: Nick Wittwer <6360459+nwittwer@users.noreply.github.com> Date: Tue, 7 Nov 2023 22:01:12 +0100 Subject: [PATCH] (WIP) Basic on/off implementation --- app/assets/icons/arrows-pointing-in.svg | 3 + app/assets/icons/arrows-pointing-out.svg | 3 + app/components/Fullscreen.vue | 29 +++++ app/components/Screens/Artboard.vue | 142 +++++++++++------------ app/components/Screens/WebPage.vue | 2 +- app/components/ToolBar/index.vue | 13 +++ app/pages/index.vue | 16 ++- app/store/gui.ts | 3 + 8 files changed, 130 insertions(+), 81 deletions(-) create mode 100644 app/assets/icons/arrows-pointing-in.svg create mode 100644 app/assets/icons/arrows-pointing-out.svg create mode 100644 app/components/Fullscreen.vue diff --git a/app/assets/icons/arrows-pointing-in.svg b/app/assets/icons/arrows-pointing-in.svg new file mode 100644 index 00000000..be37343b --- /dev/null +++ b/app/assets/icons/arrows-pointing-in.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/assets/icons/arrows-pointing-out.svg b/app/assets/icons/arrows-pointing-out.svg new file mode 100644 index 00000000..a17a134e --- /dev/null +++ b/app/assets/icons/arrows-pointing-out.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/components/Fullscreen.vue b/app/components/Fullscreen.vue new file mode 100644 index 00000000..9c8f4b10 --- /dev/null +++ b/app/components/Fullscreen.vue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/app/components/Screens/Artboard.vue b/app/components/Screens/Artboard.vue index bdb213ed..65c683de 100644 --- a/app/components/Screens/Artboard.vue +++ b/app/components/Screens/Artboard.vue @@ -2,94 +2,66 @@ -
-
+
+
-
-
- {{ props.title }} - {{ props.width }} x {{ props.height }} -
- -
-
-
-
-
+ }" @mouseover="hoverStart(props.id)" @mouseout="hoverEnd(props.id)" @click.right="rightClickHandler()"> +
+
+ {{ props.title }} + {{ props.width }} x {{ props.height }} +
+ +
+
+
+
+
+
-
-
-
-
+
+
-
- + }"> +
+ +
+
+
+
+
-
-
-
+
+
-
- -
-
+ + +