mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 16:52:38 +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 })=>{
|
const HeaderNavItem = ({ link, text, depth, className })=>{
|
||||||
return <p>
|
return <li>
|
||||||
<a href={`#${link}`} target='_self' className={className}>
|
<a href={`#${link}`} target='_self' className={className}>
|
||||||
{`${'-'.repeat(depth)}${text}`}
|
{`${'-'.repeat(depth)}${text}`}
|
||||||
</a>
|
</a>
|
||||||
</p>;
|
</li>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default HeaderNav;
|
export default HeaderNav;
|
||||||
Reference in New Issue
Block a user