diff --git a/public/images/chirpy.svg b/public/chirpy.svg similarity index 100% rename from public/images/chirpy.svg rename to public/chirpy.svg diff --git a/public/devices/README.md b/public/devices/README.md deleted file mode 100644 index 0e40ce8d..00000000 --- a/public/devices/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright Notice -Copyright © 2024 Meshtastic LLC. All Rights Reserved. - -## In reference to the GNU GPLv3 License terms defined in Section 7e -Images (or assets) in this directory are protected under international copyright laws and treaties. Unauthorized reproduction, distribution, modification, or use of these images in any form, commercial or otherwise, outside of official Meshtastic creative works or its Backers and Partners is strictly prohibited without prior written consent from the copyright holder (Meshtastic LLC). diff --git a/public/devices/diy.svg b/public/diy.svg similarity index 100% rename from public/devices/diy.svg rename to public/diy.svg diff --git a/public/devices/heltec-ht62-esp32c3-sx1262.svg b/public/heltec-ht62-esp32c3-sx1262.svg similarity index 100% rename from public/devices/heltec-ht62-esp32c3-sx1262.svg rename to public/heltec-ht62-esp32c3-sx1262.svg diff --git a/public/devices/heltec-mesh-node-t114-case.svg b/public/heltec-mesh-node-t114-case.svg similarity index 100% rename from public/devices/heltec-mesh-node-t114-case.svg rename to public/heltec-mesh-node-t114-case.svg diff --git a/public/devices/heltec-mesh-node-t114.svg b/public/heltec-mesh-node-t114.svg similarity index 100% rename from public/devices/heltec-mesh-node-t114.svg rename to public/heltec-mesh-node-t114.svg diff --git a/public/devices/heltec-v3-case.svg b/public/heltec-v3-case.svg similarity index 100% rename from public/devices/heltec-v3-case.svg rename to public/heltec-v3-case.svg diff --git a/public/devices/heltec-v3.svg b/public/heltec-v3.svg similarity index 100% rename from public/devices/heltec-v3.svg rename to public/heltec-v3.svg diff --git a/public/devices/heltec-vision-master-e213.svg b/public/heltec-vision-master-e213.svg similarity index 100% rename from public/devices/heltec-vision-master-e213.svg rename to public/heltec-vision-master-e213.svg diff --git a/public/devices/heltec-vision-master-e290.svg b/public/heltec-vision-master-e290.svg similarity index 100% rename from public/devices/heltec-vision-master-e290.svg rename to public/heltec-vision-master-e290.svg diff --git a/public/devices/heltec-vision-master-t190.svg b/public/heltec-vision-master-t190.svg similarity index 100% rename from public/devices/heltec-vision-master-t190.svg rename to public/heltec-vision-master-t190.svg diff --git a/public/devices/heltec-wireless-paper-V1_0.svg b/public/heltec-wireless-paper-V1_0.svg similarity index 100% rename from public/devices/heltec-wireless-paper-V1_0.svg rename to public/heltec-wireless-paper-V1_0.svg diff --git a/public/devices/heltec-wireless-paper.svg b/public/heltec-wireless-paper.svg similarity index 100% rename from public/devices/heltec-wireless-paper.svg rename to public/heltec-wireless-paper.svg diff --git a/public/devices/heltec-wireless-tracker-V1-0.svg b/public/heltec-wireless-tracker-V1-0.svg similarity index 100% rename from public/devices/heltec-wireless-tracker-V1-0.svg rename to public/heltec-wireless-tracker-V1-0.svg diff --git a/public/devices/heltec-wireless-tracker.svg b/public/heltec-wireless-tracker.svg similarity index 100% rename from public/devices/heltec-wireless-tracker.svg rename to public/heltec-wireless-tracker.svg diff --git a/public/devices/heltec-wsl-v3.svg b/public/heltec-wsl-v3.svg similarity index 100% rename from public/devices/heltec-wsl-v3.svg rename to public/heltec-wsl-v3.svg diff --git a/public/devices/nano-g2-ultra.svg b/public/nano-g2-ultra.svg similarity index 100% rename from public/devices/nano-g2-ultra.svg rename to public/nano-g2-ultra.svg diff --git a/public/devices/pico.svg b/public/pico.svg similarity index 100% rename from public/devices/pico.svg rename to public/pico.svg diff --git a/public/devices/promicro.svg b/public/promicro.svg similarity index 100% rename from public/devices/promicro.svg rename to public/promicro.svg diff --git a/public/devices/rak-wismeshtap.svg b/public/rak-wismeshtap.svg similarity index 100% rename from public/devices/rak-wismeshtap.svg rename to public/rak-wismeshtap.svg diff --git a/public/devices/rak11310.svg b/public/rak11310.svg similarity index 100% rename from public/devices/rak11310.svg rename to public/rak11310.svg diff --git a/public/devices/rak2560.svg b/public/rak2560.svg similarity index 100% rename from public/devices/rak2560.svg rename to public/rak2560.svg diff --git a/public/devices/rak4631.svg b/public/rak4631.svg similarity index 100% rename from public/devices/rak4631.svg rename to public/rak4631.svg diff --git a/public/devices/rak4631_case.svg b/public/rak4631_case.svg similarity index 100% rename from public/devices/rak4631_case.svg rename to public/rak4631_case.svg diff --git a/public/devices/rpipicow.svg b/public/rpipicow.svg similarity index 100% rename from public/devices/rpipicow.svg rename to public/rpipicow.svg diff --git a/public/devices/seeed-sensecap-indicator.svg b/public/seeed-sensecap-indicator.svg similarity index 100% rename from public/devices/seeed-sensecap-indicator.svg rename to public/seeed-sensecap-indicator.svg diff --git a/public/devices/seeed-xiao-s3.svg b/public/seeed-xiao-s3.svg similarity index 100% rename from public/devices/seeed-xiao-s3.svg rename to public/seeed-xiao-s3.svg diff --git a/public/devices/station-g2.svg b/public/station-g2.svg similarity index 100% rename from public/devices/station-g2.svg rename to public/station-g2.svg diff --git a/public/devices/t-deck.svg b/public/t-deck.svg similarity index 100% rename from public/devices/t-deck.svg rename to public/t-deck.svg diff --git a/public/devices/t-echo.svg b/public/t-echo.svg similarity index 100% rename from public/devices/t-echo.svg rename to public/t-echo.svg diff --git a/public/devices/t-watch-s3.svg b/public/t-watch-s3.svg similarity index 100% rename from public/devices/t-watch-s3.svg rename to public/t-watch-s3.svg diff --git a/public/devices/tbeam-s3-core.svg b/public/tbeam-s3-core.svg similarity index 100% rename from public/devices/tbeam-s3-core.svg rename to public/tbeam-s3-core.svg diff --git a/public/devices/tbeam.svg b/public/tbeam.svg similarity index 100% rename from public/devices/tbeam.svg rename to public/tbeam.svg diff --git a/public/devices/tlora-c6.svg b/public/tlora-c6.svg similarity index 100% rename from public/devices/tlora-c6.svg rename to public/tlora-c6.svg diff --git a/public/devices/tlora-t3s3-epaper.svg b/public/tlora-t3s3-epaper.svg similarity index 100% rename from public/devices/tlora-t3s3-epaper.svg rename to public/tlora-t3s3-epaper.svg diff --git a/public/devices/tlora-t3s3-v1.svg b/public/tlora-t3s3-v1.svg similarity index 100% rename from public/devices/tlora-t3s3-v1.svg rename to public/tlora-t3s3-v1.svg diff --git a/public/devices/tlora-v2-1-1_6.svg b/public/tlora-v2-1-1_6.svg similarity index 100% rename from public/devices/tlora-v2-1-1_6.svg rename to public/tlora-v2-1-1_6.svg diff --git a/public/devices/tlora-v2-1-1_8.svg b/public/tlora-v2-1-1_8.svg similarity index 100% rename from public/devices/tlora-v2-1-1_8.svg rename to public/tlora-v2-1-1_8.svg diff --git a/public/devices/tracker-t1000-e.svg b/public/tracker-t1000-e.svg similarity index 100% rename from public/devices/tracker-t1000-e.svg rename to public/tracker-t1000-e.svg diff --git a/public/devices/unknown.svg b/public/unknown.svg similarity index 100% rename from public/devices/unknown.svg rename to public/unknown.svg diff --git a/public/devices/wio-tracker-wm1110.svg b/public/wio-tracker-wm1110.svg similarity index 100% rename from public/devices/wio-tracker-wm1110.svg rename to public/wio-tracker-wm1110.svg diff --git a/public/devices/wm1110_dev_kit.svg b/public/wm1110_dev_kit.svg similarity index 100% rename from public/devices/wm1110_dev_kit.svg rename to public/wm1110_dev_kit.svg diff --git a/src/components/UI/ErrorPage.tsx b/src/components/UI/ErrorPage.tsx index 618932b0..dbf50406 100644 --- a/src/components/UI/ErrorPage.tsx +++ b/src/components/UI/ErrorPage.tsx @@ -53,7 +53,7 @@ export function ErrorPage({ error }: { error: Error }) {
Chirpy the Meshtastic error diff --git a/src/components/generic/DeviceImage.tsx b/src/components/generic/DeviceImage.tsx index ef96a429..b80ebbac 100644 --- a/src/components/generic/DeviceImage.tsx +++ b/src/components/generic/DeviceImage.tsx @@ -47,7 +47,7 @@ const hardwareModelToFilename: { [key: string]: string } = { }; export const DeviceImage = ({ deviceType, className }: DeviceImageProps) => { - const getPath = (device: string) => `/devices/${device}`; + const getPath = (device: string) => `/${device}`; const device = hardwareModelToFilename[deviceType] || "unknown.svg"; return {device}; };