diff --git a/client/App.jsx b/client/App.jsx index 9d47369..709fd87 100644 --- a/client/App.jsx +++ b/client/App.jsx @@ -3,6 +3,7 @@ import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; import Home from './Home'; import Centering from './layouts/Centering'; +import Sidebar from './layouts/Sidebar'; import StickyFooter from './layouts/StickyFooter'; import StickyHeader from './layouts/StickyHeader'; @@ -12,6 +13,7 @@ const App = () => { + diff --git a/client/DetailsLayout.jsx b/client/DetailsLayout.jsx index 2c34b60..f59d31a 100644 --- a/client/DetailsLayout.jsx +++ b/client/DetailsLayout.jsx @@ -3,14 +3,13 @@ import { Link } from 'react-router-dom'; import Layout from './Layout'; -const DetailsLayout = ({ name, children }) => { +const DetailsLayout = ({ children }) => { return (
CSS Layout
-

{name}

{children}
diff --git a/client/Home.jsx b/client/Home.jsx index 1c4b21c..9deaeea 100644 --- a/client/Home.jsx +++ b/client/Home.jsx @@ -2,6 +2,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import CenterCover from './covers/CenterCover'; +import SidebarCover from './covers/SidebarCover'; import StickyFooterCover from './covers/StickyFooterCover'; import StickyHeaderCover from './covers/StickyHeaderCover'; import Layout from './Layout'; @@ -30,6 +31,12 @@ const Home = () => {

Layouts

+
+ + +

Sidebar

+ +
diff --git a/client/Layout.jsx b/client/Layout.jsx index 67c38b0..c7714f8 100644 --- a/client/Layout.jsx +++ b/client/Layout.jsx @@ -11,22 +11,20 @@ const Layout = ({ children }) => { {children}
-
+
Other cool things
-