Refactor catalog example to use portal.js

This commit is contained in:
Rising Odegua
2021-05-21 16:48:55 +01:00
parent b103b0e845
commit f8602184ce
14 changed files with 94 additions and 340 deletions

View File

@@ -22,7 +22,7 @@ const Nav = ({ logo, navMenu }) => {
return (
<nav className="flex items-center justify-between flex-wrap bg-white p-4 border-b border-gray-200">
<div className="flex items-center flex-shrink-0 text-gray-700 mr-6">
<img src={logo} alt="portal logo" width="40" />
<Link href="/"><img src={logo} alt="portal logo" width="40" /></Link>
</div>
<div className="block lg:hidden mx-4">
<button