diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-09-15 15:38:06 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-09-20 16:07:06 +0200 |
| commit | 7199e2c15838d78fedd3c6127beddf1656dbeae2 (patch) | |
| tree | 8ded3dcd92a8d8c571c0f5c80e635ae4e527d1af /opendc-web/opendc-web-ui/src/components/util/NavItemLink.js | |
| parent | 24b857ae580fcbea441e7cb91bc7aba681fc6c8b (diff) | |
feat(web/ui): Redesign projects page
This change updates the design of the projects page to use a gallery
overview.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/util/NavItemLink.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/util/NavItemLink.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/util/NavItemLink.js b/opendc-web/opendc-web-ui/src/components/util/NavItemLink.js index c0d109bd..83301361 100644 --- a/opendc-web/opendc-web-ui/src/components/util/NavItemLink.js +++ b/opendc-web/opendc-web-ui/src/components/util/NavItemLink.js @@ -23,11 +23,13 @@ import Link from 'next/link' import PropTypes from 'prop-types' -const NavItemLink = ({ children, href, ...props }) => ( - <Link href={href}> - <a {...props}>{children}</a> - </Link> -) +function NavItemLink({ children, href, ...props }) { + return ( + <Link href={href}> + <a {...props}>{children}</a> + </Link> + ) +} NavItemLink.propTypes = { children: PropTypes.node, |
