From 8c6454e3b3b14b0828070f414997a8fd08177ed3 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 15 Aug 2023 13:12:39 +0300 Subject: [PATCH] fix: move all background images to one folder --- .../background-images}/day-night-bg.png | Bin .../background-images}/landing-page-bg.png | Bin src/pages/ConnectDevicePage/ConnectDevicePage.tsx | 2 +- src/pages/LandingPage/LandingPage.tsx | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename {src/assets/bg-img => public/background-images}/day-night-bg.png (100%) rename {src/assets/bg-img => public/background-images}/landing-page-bg.png (100%) diff --git a/src/assets/bg-img/day-night-bg.png b/public/background-images/day-night-bg.png similarity index 100% rename from src/assets/bg-img/day-night-bg.png rename to public/background-images/day-night-bg.png diff --git a/src/assets/bg-img/landing-page-bg.png b/public/background-images/landing-page-bg.png similarity index 100% rename from src/assets/bg-img/landing-page-bg.png rename to public/background-images/landing-page-bg.png diff --git a/src/pages/ConnectDevicePage/ConnectDevicePage.tsx b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx index feafb723..e9b22cc1 100644 --- a/src/pages/ConnectDevicePage/ConnectDevicePage.tsx +++ b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx @@ -18,7 +18,7 @@ const ConnectDevicePage = () => { return ( } - rightImageSrc="src/assets/bg-img/day-night-bg.png" + rightImageSrc="/background-images/day-night-bg.png" >
diff --git a/src/pages/LandingPage/LandingPage.tsx b/src/pages/LandingPage/LandingPage.tsx index 8f7a47aa..801a7006 100644 --- a/src/pages/LandingPage/LandingPage.tsx +++ b/src/pages/LandingPage/LandingPage.tsx @@ -6,7 +6,7 @@ import NodesLogo from '../../components/Logos/NodesLogo' function LandingPage() { return ( <> - +