mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 00:52:48 +00:00
Change to list items
This commit is contained in:
@@ -66,11 +66,11 @@ const HeaderNav = React.forwardRef(({}, pagesRef)=>{
|
||||
);
|
||||
|
||||
const HeaderNavItem = ({ link, text, depth, className })=>{
|
||||
return <p>
|
||||
return <li>
|
||||
<a href={`#${link}`} target='_self' className={className}>
|
||||
{`${'-'.repeat(depth)}${text}`}
|
||||
</a>
|
||||
</p>;
|
||||
</li>;
|
||||
};
|
||||
|
||||
export default HeaderNav;
|
||||
Reference in New Issue
Block a user