From b5d185c08c8da2999292fa99fe8ffeb541c13367 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 18 Nov 2024 01:25:52 +1300 Subject: [PATCH] improve landing page --- src/components/connect/ConnectButtons.vue | 100 ++++++++++++++++++++++ src/components/pages/ConnectPage.vue | 77 +---------------- src/components/pages/MainPage.vue | 22 +---- 3 files changed, 107 insertions(+), 92 deletions(-) create mode 100644 src/components/connect/ConnectButtons.vue diff --git a/src/components/connect/ConnectButtons.vue b/src/components/connect/ConnectButtons.vue new file mode 100644 index 0000000..40df5d6 --- /dev/null +++ b/src/components/connect/ConnectButtons.vue @@ -0,0 +1,100 @@ + + + diff --git a/src/components/pages/ConnectPage.vue b/src/components/pages/ConnectPage.vue index 410d59c..f70dc4b 100644 --- a/src/components/pages/ConnectPage.vue +++ b/src/components/pages/ConnectPage.vue @@ -5,49 +5,8 @@ -
- - - - - - - - - - -
HTTP requires a proxy to bypass CORS
- +
+
@@ -56,42 +15,14 @@ diff --git a/src/components/pages/MainPage.vue b/src/components/pages/MainPage.vue index 84ace96..ad88edb 100644 --- a/src/components/pages/MainPage.vue +++ b/src/components/pages/MainPage.vue @@ -20,25 +20,7 @@
-
- - -
- - - - - - - - -
- - -
Not Connected
-
Connect to a Meshtastic device!
- -
+
@@ -50,10 +32,12 @@ import Header from "../Header.vue"; import ChannelsList from "../channels/ChannelsList.vue"; import NodesList from "../nodes/NodesList.vue"; import Page from "./Page.vue"; +import ConnectButtons from "../connect/ConnectButtons.vue"; export default { name: 'MainPage', components: { + ConnectButtons, Page, Header, NodesList,