diff --git a/client/Home.jsx b/client/Home.jsx index 70991a8..3213f84 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 StickyFooterCover from './covers/StickyFooterCover'; import Layout from './Layout'; import useDocumentTitle from './useDocumentTitle'; @@ -10,7 +11,18 @@ const Home = () => { return ( -

Pattern

+

Layouts

+ +
+
+ + +

Sticky footer

+ +
+
+ +

Patterns

diff --git a/client/covers/StickyFooterCover.jsx b/client/covers/StickyFooterCover.jsx new file mode 100644 index 0000000..57e3409 --- /dev/null +++ b/client/covers/StickyFooterCover.jsx @@ -0,0 +1,38 @@ +import React from 'react'; + +import Frame from '../placeholders/Frame'; +import Line from '../placeholders/Line'; + +const StickyFooterCover = () => { + return ( + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + ); +}; + +export default StickyFooterCover; diff --git a/client/placeholders/Frame.jsx b/client/placeholders/Frame.jsx index fb1d17b..545fbb5 100644 --- a/client/placeholders/Frame.jsx +++ b/client/placeholders/Frame.jsx @@ -1,10 +1,13 @@ import React from 'react'; -const Frame = ({ children }) => { +const Frame = ({ children, size }) => { + const bw = (size === 'medium' ? '2px' : '1px'); + return (
{ +const Line = ({ size }) => { + const h = (size === 'medium' ? '2px' : '1px'); + return (
); };