mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-16 12:18:45 +00:00
lint
This commit is contained in:
@@ -7,26 +7,22 @@ import RecentNavItems from '../../../navbar/recent.navitem.jsx';
|
|||||||
const { both: RecentNavItem } = RecentNavItems;
|
const { both: RecentNavItem } = RecentNavItems;
|
||||||
import Account from '../../../navbar/account.navitem.jsx';
|
import Account from '../../../navbar/account.navitem.jsx';
|
||||||
|
|
||||||
const UIPage = ({brew, children})=>{
|
const UIPage = ({ brew, children })=><div className='sitePage uiPage'>
|
||||||
|
<Navbar>
|
||||||
|
<Nav.section>
|
||||||
|
<Nav.item className='brewTitle'>{brew?.title}</Nav.item>
|
||||||
|
</Nav.section>
|
||||||
|
<Nav.section>
|
||||||
|
<NewBrewItem />
|
||||||
|
<HelpNavItem />
|
||||||
|
<RecentNavItem />
|
||||||
|
<Account />
|
||||||
|
</Nav.section>
|
||||||
|
</Navbar>
|
||||||
|
|
||||||
return <div className='sitePage uiPage'>
|
<div className='content'>
|
||||||
<Navbar>
|
{children}
|
||||||
<Nav.section>
|
</div>
|
||||||
<Nav.item className='brewTitle'>{brew?.title}</Nav.item>
|
</div>;
|
||||||
</Nav.section>
|
|
||||||
|
|
||||||
<Nav.section>
|
|
||||||
<NewBrewItem />
|
|
||||||
<HelpNavItem />
|
|
||||||
<RecentNavItem />
|
|
||||||
<Account />
|
|
||||||
</Nav.section>
|
|
||||||
</Navbar>
|
|
||||||
|
|
||||||
<div className='content'>
|
|
||||||
{children}
|
|
||||||
</div>
|
|
||||||
</div>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export default UIPage;
|
export default UIPage;
|
||||||
|
|||||||
Reference in New Issue
Block a user