diff --git a/client/DetailsLayout.jsx b/client/DetailsLayout.jsx index 2f6e1b8..953912e 100644 --- a/client/DetailsLayout.jsx +++ b/client/DetailsLayout.jsx @@ -6,14 +6,16 @@ import Layout from './Layout'; const DetailsLayout = ({ name, children }) => { return ( -
- Home -
/
-
{name}
-
+
+
+ Home +
/
+
{name}
+
-
- {children} +
+ {children} +
); diff --git a/client/Home.jsx b/client/Home.jsx index 7de1170..f01beaa 100644 --- a/client/Home.jsx +++ b/client/Home.jsx @@ -11,25 +11,41 @@ const Home = () => { return ( -

Layouts

- -
-
- - -

Sticky footer

- +
+
+ { + 'CSS LAYOUT'.split('').map((c, index) => { + return ( + c === ' ' + ?
+ :
{c}
+ ); + }) + }
+

a collection of popular layouts and patterns made with CSS

+
+

Layouts

-

Patterns

+
+
+ + +

Sticky footer

+ +
+
-
-
- - -

Centering

- +

Patterns

+ +
+
+ + +

Centering

+ +
diff --git a/client/Layout.jsx b/client/Layout.jsx index d8d4432..67c38b0 100644 --- a/client/Layout.jsx +++ b/client/Layout.jsx @@ -6,9 +6,87 @@ const Layout = ({ children }) => { }, []); return ( -
- {children} -
+ <> +
+ {children} +
+
+
+
+
Other cool things
+ +
+
+
© 2019 Nguyen Huu Phuoc and contributors
+ +
+
+
+ ); };