From 46101ca896004e13e5666efbf22f049b3ca0ffd6 Mon Sep 17 00:00:00 2001 From: mabasian Date: Wed, 1 Dec 2021 20:56:42 +0100 Subject: [PATCH] start frontend proj added new components and changed the route --- launcher/src/components/UI/LangButton.vue | 27 ++++++++ launcher/src/components/UI/LangDialog.vue | 40 +++++++++++ launcher/src/components/layers/BaseLogo.vue | 26 +++++++ launcher/src/components/layers/TheFirst.vue | 75 +++++++++++++++++++++ launcher/src/router/index.js | 16 +++-- 5 files changed, 179 insertions(+), 5 deletions(-) create mode 100644 launcher/src/components/UI/LangButton.vue create mode 100644 launcher/src/components/UI/LangDialog.vue create mode 100644 launcher/src/components/layers/BaseLogo.vue create mode 100644 launcher/src/components/layers/TheFirst.vue diff --git a/launcher/src/components/UI/LangButton.vue b/launcher/src/components/UI/LangButton.vue new file mode 100644 index 000000000..2a21257d3 --- /dev/null +++ b/launcher/src/components/UI/LangButton.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/launcher/src/components/UI/LangDialog.vue b/launcher/src/components/UI/LangDialog.vue new file mode 100644 index 000000000..9e589d39b --- /dev/null +++ b/launcher/src/components/UI/LangDialog.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/launcher/src/components/layers/BaseLogo.vue b/launcher/src/components/layers/BaseLogo.vue new file mode 100644 index 000000000..9853b1322 --- /dev/null +++ b/launcher/src/components/layers/BaseLogo.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/launcher/src/components/layers/TheFirst.vue b/launcher/src/components/layers/TheFirst.vue new file mode 100644 index 000000000..f2890f076 --- /dev/null +++ b/launcher/src/components/layers/TheFirst.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/launcher/src/router/index.js b/launcher/src/router/index.js index e4f4a2447..673d9b9b3 100644 --- a/launcher/src/router/index.js +++ b/launcher/src/router/index.js @@ -1,19 +1,25 @@ import Vue from "vue"; import VueRouter from "vue-router"; -import Setup from "../views/Setup.vue"; +//import Setup from "../views/Setup.vue"; +import TheFirst from "../components/layers/TheFirst.vue"; Vue.use(VueRouter); const routes = [ + // { + // path: "/", + // name: "Setup", + // component: Setup, + // }, { path: "/", - name: "Setup", - component: Setup, - }, + name: "TheFirst", + component: TheFirst, + }, ]; const router = new VueRouter({ - mode: 'hash', + mode: "hash", base: process.env.BASE_URL, routes, });