diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index c4497798..00000000 --- a/.gitmodules +++ /dev/null @@ -1,6 +0,0 @@ -[submodule "design"] - path = design - url = https://github.com/meshtastic/meshtastic-design/ -[submodule "public/design"] - path = public/design - url = https://github.com/meshtastic/meshtastic-design/ diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 00000000..4ee6514a Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 00000000..916e99f7 Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 00000000..a75fd498 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/design b/public/design deleted file mode 160000 index d0339f02..00000000 --- a/public/design +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d0339f0297c629f1bd6873b4abccfecb98443538 diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 00000000..9e1cdb60 Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 00000000..d12db16a Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 00000000..2a1cdfc1 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html index 74694306..fe17c38c 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,13 @@ - + + + + + + + + + + + + + + diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 00000000..ec315774 --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "Meshtastic", + "short_name": "Meshtastic", + "start_url": ".", + "description": "Meshtastic web app", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#67ea94", + "background_color": "#67ea94", + "display": "standalone" +} diff --git a/public/typelogo.svg b/public/typelogo.svg new file mode 100644 index 00000000..5168a516 --- /dev/null +++ b/public/typelogo.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + ESHT + + + + + + + + + ST + + + C + + + + diff --git a/src/App.tsx b/src/App.tsx index 406f8168..47b6a39b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -135,20 +135,21 @@ const App = () => { connection.onRoutingPacketEvent.subscribe((routingPacket) => { console.log(routingPacket); + // console.log(messages); - messages.map((message) => { - console.log( - `${ - routingPacket.payloadVariant.oneofKind === 'decoded' - ? routingPacket.payloadVariant.decoded.requestId - : null - } === ${message.message.packet.id}: ${ - routingPacket.payloadVariant.oneofKind === 'decoded' - ? routingPacket.payloadVariant.decoded.requestId - : null === message.message.packet.id - }`, - ); - }); + // messages.map((message) => { + // console.log( + // `${ + // routingPacket.payloadVariant.oneofKind === 'decoded' + // ? routingPacket.payloadVariant.decoded.requestId + // : null + // } === ${message.message.packet.id}: ${ + // routingPacket.payloadVariant.oneofKind === 'decoded' + // ? routingPacket.payloadVariant.decoded.requestId + // : null === message.message.packet.id + // }`, + // ); + // }); // messages.find((message) => { // message.message.packet.id === routingPacket.decoded.requestId; // }); @@ -156,32 +157,6 @@ const App = () => { }, []); return (
- {/* - - - - - - - */}
{ Language={props.Language} SetLanguage={props.SetLanguage} Translations={props.Translations} + myId={props.MyNodeInfo.myNodeNum} />
); diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 3aa31c99..1fc543ba 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -14,7 +14,7 @@ const Header = (props: HeaderProps) => { return (