component: change the folder structure by putting the Layout under hoc folder
This commit is contained in:
parent
b94ea9284b
commit
fcfcebebc8
@ -1,6 +1,6 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import Layout from './components/Layout/Layout';
|
import Layout from './hoc/Layout/Layout';
|
||||||
import BurgerBuilder from './containers/BurgerBuilder/BurgerBuilder';
|
import BurgerBuilder from './containers/BurgerBuilder/BurgerBuilder';
|
||||||
|
|
||||||
class App extends Component {
|
class App extends Component {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Aux from '../../../hoc/Auxiliary';
|
import Aux from '../../../hoc/Auxiliary/Auxiliary';
|
||||||
import Button from '../../UI/Button/Button';
|
import Button from '../../UI/Button/Button';
|
||||||
|
|
||||||
const orderSummary = (props) => {
|
const orderSummary = (props) => {
|
||||||
|
@ -3,7 +3,7 @@ import React from 'react';
|
|||||||
import classes from './SideDrawer.css';
|
import classes from './SideDrawer.css';
|
||||||
import Logo from '../../Logo/Logo';
|
import Logo from '../../Logo/Logo';
|
||||||
import NavigationItems from '../NavigationItems/NavigationItems';
|
import NavigationItems from '../NavigationItems/NavigationItems';
|
||||||
import Aux from '../../../hoc/Auxiliary';
|
import Aux from '../../../hoc/Auxiliary/Auxiliary';
|
||||||
import Backdrop from '../../UI/Backdrop/Backdrop';
|
import Backdrop from '../../UI/Backdrop/Backdrop';
|
||||||
|
|
||||||
const sideDrawer = (props) => {
|
const sideDrawer = (props) => {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import Aux from '../../../hoc/Auxiliary';
|
import Aux from '../../../hoc/Auxiliary/Auxiliary';
|
||||||
import Backdrop from '../Backdrop/Backdrop';
|
import Backdrop from '../Backdrop/Backdrop';
|
||||||
import classes from './Modal.css';
|
import classes from './Modal.css';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import Aux from '../../hoc/Auxiliary';
|
import Aux from '../../hoc/Auxiliary/Auxiliary';
|
||||||
import Burger from '../../components/Burger/Burger';
|
import Burger from '../../components/Burger/Burger';
|
||||||
import BuildControls from '../../components/Burger/BuildControls/BuildControls';
|
import BuildControls from '../../components/Burger/BuildControls/BuildControls';
|
||||||
import Modal from '../../components/UI/Modal/Modal';
|
import Modal from '../../components/UI/Modal/Modal';
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import Aux from '../../hoc/Auxiliary';
|
import Aux from '../Auxiliary/Auxiliary';
|
||||||
import classes from './Layout.css';
|
import classes from './Layout.css';
|
||||||
import Toolbar from '../Navigation/Toolbar/Toolbar';
|
import Toolbar from '../../components/Navigation/Toolbar/Toolbar';
|
||||||
import SideDrawer from '../Navigation/SideDrawer/SideDrawer';
|
import SideDrawer from '../../components/Navigation/SideDrawer/SideDrawer';
|
||||||
|
|
||||||
class Layout extends Component {
|
class Layout extends Component {
|
||||||
state = {
|
state = {
|
Loading…
Reference in New Issue
Block a user