Unverified Commit 0b4b8503 authored by andreswebs's avatar andreswebs
Browse files

update folder structure

parent 08c8d912
import React from 'react';
import { Provider } from 'react-redux';
import store from 'store';
import MainRoutes from 'routes/MainRoutes';
import MainRoutes from 'components/routes/MainRoutes';
import 'App.css';
const App = () => (
......
......@@ -8,10 +8,10 @@ import { Switch, Route, Redirect } from 'react-router-dom';
import withStyles from '@material-ui/core/styles/withStyles';
// core components
import Header from 'components/Header/Header';
import Sidebar from 'components/Sidebar';
import Header from 'components/ui/Header/Header';
import Sidebar from 'components/ui/Sidebar';
import dashboardRoutes from 'routes/dashboard-routes';
import dashboardRoutes from 'components/routes/dashboard-routes';
import appStyle from 'assets/jss/material-dashboard-react/layouts/dashboardStyle';
......
......@@ -12,14 +12,14 @@ import Email from '@material-ui/icons/Email';
// import LockOutline from "@material-ui/icons/LockOutline";
// core components
import GridContainer from 'components/Grid/GridContainer';
import GridItem from 'components/Grid/GridItem';
import CustomInput from 'components/CustomInput/CustomInput';
import Button from 'components/CustomButtons/Button';
import Card from 'components/Card/Card';
import CardBody from 'components/Card/CardBody';
import CardHeader from 'components/Card/CardHeader';
import CardFooter from 'components/Card/CardFooter';
import GridContainer from 'components/ui/Grid/GridContainer';
import GridItem from 'components/ui/Grid/GridItem';
import CustomInput from 'components/ui/CustomInput/CustomInput';
import Button from 'components/ui/CustomButtons/Button';
import Card from 'components/ui/Card/Card';
import CardBody from 'components/ui/Card/CardBody';
import CardHeader from 'components/ui/Card/CardHeader';
import CardFooter from 'components/ui/Card/CardFooter';
import CircularProgress from '@material-ui/core/CircularProgress';
import Snackbar from '@material-ui/core/Snackbar';
......
......@@ -4,14 +4,14 @@ import React from 'react';
import withStyles from '@material-ui/core/styles/withStyles';
import dashboardStyle from 'assets/jss/material-dashboard-react/views/dashboardStyle';
import GridContainer from 'components/Grid/GridContainer';
import GridItem from 'components/Grid/GridItem';
import GridContainer from 'components/ui/Grid/GridContainer';
import GridItem from 'components/ui/Grid/GridItem';
// widgets
import CurrencyValues from 'widgets/CurrencyValues';
import Earnings from 'widgets/Earnings';
import MonthEarnings from 'widgets/MonthEarnings';
import LastTransactions from 'widgets/LastTransactions';
import CurrencyValues from 'components/widgets/CurrencyValues';
import Earnings from 'components/widgets/Earnings';
import MonthEarnings from 'components/widgets/MonthEarnings';
import LastTransactions from 'components/widgets/LastTransactions';
const Dashboard = () => (
<div>
......
import React from 'react';
import WalletBalance from 'widgets/WalletBalance';
import Transactions from 'widgets/Transactions';
import WalletActions from 'widgets/WalletActions';
import WalletBalance from 'components/widgets/WalletBalance';
import Transactions from 'components/widgets/Transactions';
import WalletActions from 'components/widgets/WalletActions';
const Wallet = () => {
return (
......
......@@ -6,9 +6,11 @@ import {
Switch
} from 'react-router-dom';
import LoginLayout from 'layouts/LoginLayout';
import DashboardLayout from 'layouts/DashboardLayout';
import LoginLayout from 'components/layouts/LoginLayout';
import DashboardLayout from 'components/layouts/DashboardLayout';
import { isLoggedIn } from 'utils';
import PrivateRoute from './PrivateRoute';
const MainRoutes = () => (
......
import Dashboard from 'pages/Dashboard';
import Wallet from 'pages/Wallet';
import Dashboard from 'components/pages/Dashboard';
import Wallet from 'components/pages/Wallet';
// @material-ui/icons
import DashboardIcon from '@material-ui/icons/Dashboard';
......
......@@ -14,7 +14,7 @@ import MoreVert from '@material-ui/icons/MoreVert';
import ViewList from '@material-ui/icons/ViewList';
// core components
import Button from 'components/CustomButtons/Button';
import Button from 'components/ui/CustomButtons/Button';
import headerStyle from 'assets/jss/material-dashboard-react/components/headerStyle';
import HeaderLinks from './HeaderLinks';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment