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 = () => ( - - - - - - - - + + + + + + + +