diff --git a/frontend/components/Layout.js b/frontend/pages/_app.js similarity index 54% rename from frontend/components/Layout.js rename to frontend/pages/_app.js index d78d2b2..342b06a 100644 --- a/frontend/components/Layout.js +++ b/frontend/pages/_app.js @@ -2,8 +2,8 @@ import { Fragment } from 'react'; /* Components Imports */ -import Header from './Header/Header'; -import Footer from './Footer/Footer'; +import Header from '../components/Header/Header'; +import Footer from '../components/Footer/Footer'; /* CSS Imports */ import '../public/fonts/Montserrat/Montserrat.css'; @@ -11,12 +11,14 @@ import '../public/css/normalize.css'; import '../public/css/grid.css'; import '../public/css/general.css'; -const Layout = (props) => ( +const App = ({ Component, pageProps }) => (
-
{props.children}
+
+ +