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,