diff --git a/src/components/layout.jsx b/src/components/layout.jsx index ec8366c..1904770 100644 --- a/src/components/layout.jsx +++ b/src/components/layout.jsx @@ -5,6 +5,7 @@ require('../styles/index.scss'); const Layout = ({ title, + isIndex = false, children }) => { return ( @@ -25,9 +26,23 @@ const Layout = ({ rel="stylesheet" /> -
+
{children}
+ { + !isIndex && +
+ + + +
+ } ); }; diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 7113d76..7d0a646 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -4,7 +4,7 @@ import Layout from '../components/layout'; const Home = () => { const [pin, setPin] = useState(''); return ( - +
diff --git a/static/shopping-bag.svg b/static/shopping-bag.svg new file mode 100644 index 0000000..936277b --- /dev/null +++ b/static/shopping-bag.svg @@ -0,0 +1 @@ +