mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 22:57:02 +00:00
fix cursor and nav alignment
This commit is contained in:
1 parent
372df2d452
commit
d9ee61e290
3 files changed
+23
-48
No files matched your search
@@ -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 <nav className={className}>
|
||||
{children}
|
||||
</nav>;
|
||||
},
|
||||
logo : ()=>{
|
||||
return <a className='navLogo' href='https://www.naturalcrit.com'>
|
||||
<NaturalCritIcon />
|
||||
<span className='name'>
|
||||
Natural<span className='crit'>Crit</span>
|
||||
</span>
|
||||
</a>;
|
||||
},
|
||||
|
||||
section : ({ children, className, ...props })=>{
|
||||
return <div className={cx([`navSection`, className])}>
|
||||
{children}
|
||||
</div>;
|
||||
},
|
||||
|
||||
item : ({ icon, kbd, href, newTab, onClick, children, className, disabled, noDismiss, ...props })=>{
|
||||
const classes = cx('navItem', className);
|
||||
if(disabled) {
|
||||
|
||||
Reference in new issue
Block a user