From 5b773041ef5ea6328941d82fda008dacdc14401a Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 16 Aug 2018 16:29:14 +0200 Subject: [PATCH] common page refactored to new structure --- .../Wallet/views/Acquire/index.js} | 0 .../Wallet/views/Bootloader/index.js} | 0 .../Wallet/views/Dashboard/index.js} | 0 .../Wallet/views/DeviceSettings/index.js} | 2 +- .../Wallet/views/DeviceSettingsTabs/index.js} | 0 .../Wallet/views/Initialize/index.js} | 0 .../Wallet/views/UnreadableDevice/index.js} | 0 .../Wallet/views/WalletSettings/index.js} | 2 +- src/js/views/index.js | 37 +++++++++---------- 9 files changed, 20 insertions(+), 21 deletions(-) rename src/js/{components/wallet/pages/Acquire.js => views/Wallet/views/Acquire/index.js} (100%) rename src/js/{components/wallet/pages/Bootloader.js => views/Wallet/views/Bootloader/index.js} (100%) rename src/js/{components/wallet/pages/Dashboard.js => views/Wallet/views/Dashboard/index.js} (100%) rename src/js/{components/wallet/pages/DeviceSettings.js => views/Wallet/views/DeviceSettings/index.js} (96%) rename src/js/{components/wallet/pages/DeviceSettingsTabs.js => views/Wallet/views/DeviceSettingsTabs/index.js} (100%) rename src/js/{components/wallet/pages/Initialize.js => views/Wallet/views/Initialize/index.js} (100%) rename src/js/{components/wallet/pages/UnreadableDevice.js => views/Wallet/views/UnreadableDevice/index.js} (100%) rename src/js/{components/wallet/pages/WalletSettings.js => views/Wallet/views/WalletSettings/index.js} (87%) diff --git a/src/js/components/wallet/pages/Acquire.js b/src/js/views/Wallet/views/Acquire/index.js similarity index 100% rename from src/js/components/wallet/pages/Acquire.js rename to src/js/views/Wallet/views/Acquire/index.js diff --git a/src/js/components/wallet/pages/Bootloader.js b/src/js/views/Wallet/views/Bootloader/index.js similarity index 100% rename from src/js/components/wallet/pages/Bootloader.js rename to src/js/views/Wallet/views/Bootloader/index.js diff --git a/src/js/components/wallet/pages/Dashboard.js b/src/js/views/Wallet/views/Dashboard/index.js similarity index 100% rename from src/js/components/wallet/pages/Dashboard.js rename to src/js/views/Wallet/views/Dashboard/index.js diff --git a/src/js/components/wallet/pages/DeviceSettings.js b/src/js/views/Wallet/views/DeviceSettings/index.js similarity index 96% rename from src/js/components/wallet/pages/DeviceSettings.js rename to src/js/views/Wallet/views/DeviceSettings/index.js index 81f3ca3c..b51a505e 100644 --- a/src/js/components/wallet/pages/DeviceSettings.js +++ b/src/js/views/Wallet/views/DeviceSettings/index.js @@ -29,7 +29,7 @@ const Row = styled.div` padding-bottom: 98px; `; -export const DeviceSettings = () => ( +const DeviceSettings = () => (
( +const WalletSettings = () => (
Wallet settings
diff --git a/src/js/views/index.js b/src/js/views/index.js index 087754bc..279e2f65 100644 --- a/src/js/views/index.js +++ b/src/js/views/index.js @@ -5,19 +5,18 @@ import { Provider } from 'react-redux'; import { ConnectedRouter } from 'react-router-redux'; import ErrorBoundary from 'support/ErrorBoundary'; - -import WalletContainer from 'views/Wallet'; -import BootloaderContainer from 'components/wallet/pages/Bootloader'; -import InitializeContainer from 'components/wallet/pages/Initialize'; -import AcquireContainer from 'components/wallet/pages/Acquire'; -import UnreadableDeviceContainer from 'components/wallet/pages/UnreadableDevice'; - -import DashboardContainer from 'components/wallet/pages/Dashboard'; - -import DeviceSettingsContainer from 'components/wallet/pages/DeviceSettings'; -import WalletSettingsContainer from 'components/wallet/pages/WalletSettings'; import LandingContainer from 'views/Landing/Container'; +// wallet views +import WalletContainer from 'views/Wallet'; +import WalletDashboard from 'views/Wallet/views/Dashboard'; +import WalletDeviceSettings from 'views/Wallet/views/DeviceSettings'; +import WalletSettings from 'views/Wallet/views/WalletSettings'; +import WalletBootloader from 'views/Wallet/views/Bootloader'; +import WalletInitialize from 'views/Wallet/views/Initialize'; +import WalletAcquire from 'views/Wallet/views/Acquire'; +import WalletUnreadableDevice from 'views/Wallet/views/UnreadableDevice'; + import SignVerifyContainer from './Wallet/components/Sign'; import ReceiveContainer from './Wallet/components/Receive/Container'; import SendFormContainer from './Wallet/components/Send/Container'; @@ -35,14 +34,14 @@ const App = () => ( - - - - - - - - + + + + + + + +