diff --git a/client/homebrew/navbar/nav.jsx b/client/homebrew/navbar/nav.jsx index 7218d5f22..dda5abaa8 100644 --- a/client/homebrew/navbar/nav.jsx +++ b/client/homebrew/navbar/nav.jsx @@ -1,29 +1,7 @@ import React from 'react'; import cx from 'classnames'; -import NaturalCritIcon from '@components/svg/naturalcrit-d20.svg.jsx'; - const Nav = { - base : ({ children, className, ...props })=>{ - return ; - }, - logo : ()=>{ - return - - - NaturalCrit - - ; - }, - - section : ({ children, className, ...props })=>{ - return
- {children} -
; - }, - item : ({ icon, kbd, href, newTab, onClick, children, className, disabled, noDismiss, ...props })=>{ const classes = cx('navItem', className); if(disabled) { diff --git a/client/homebrew/navbar/navbar.jsx b/client/homebrew/navbar/navbar.jsx index b88d57448..1acd04cae 100644 --- a/client/homebrew/navbar/navbar.jsx +++ b/client/homebrew/navbar/navbar.jsx @@ -37,23 +37,23 @@ const Navbar = ({ children, brew, pageName, editor, title, currentPage, props }) } return ( - File} icon={null} key={'file'}> + File} icon={null} key={'file'}> - -
+ +
  • Clone Brew -
  • -
    + +
  • Export As .txt -
  • + {navSlots.file}
    ); @@ -61,8 +61,8 @@ const Navbar = ({ children, brew, pageName, editor, title, currentPage, props }) const renderEdit = ()=>{ return ( - Edit} icon={null} key={'edit'}> -
    + Edit} icon={null} key={'edit'}> +
  • editor?.undo()} kbd={`${mod} + z`} disabled={!editor}> Undo @@ -78,32 +78,32 @@ const Navbar = ({ children, brew, pageName, editor, title, currentPage, props }) editor?.unfoldCode()} disabled={!editor}> Unfold all lines -
  • + {navSlots.edit}
    ); }; const renderHelp = ()=>{ - return Help} icon={null} key={'help'}> -
    + return Help} icon={null} key={'help'}> +
  • Our Discord Server Our Subreddit -
  • + -
    +
  • Changelog Github -
  • -
    + +
  • Patreon -
  • + {navSlots.help}
    ; @@ -112,18 +112,18 @@ const Navbar = ({ children, brew, pageName, editor, title, currentPage, props }) return (