mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-12 06:18:45 +00:00
adding some icons
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
import request from 'superagent';
|
||||
import Nav from './nav.jsx';
|
||||
import { Dropdown } from '../../components/dropdown/dropdown.jsx';
|
||||
|
||||
const Account = createReactClass({
|
||||
displayName : 'AccountNavItem',
|
||||
|
||||
@@ -39,7 +39,7 @@ const Navbar = ({ children, brew, pageName, editor, title, currentPage, props })
|
||||
}
|
||||
|
||||
return (
|
||||
<Nav.item href={`/download/${shareLink}`} disabled={!isBrew}>
|
||||
<Nav.item icon='fas fa-download' href={`/download/${shareLink}`} disabled={!isBrew}>
|
||||
Get txt
|
||||
</Nav.item>
|
||||
);
|
||||
@@ -63,7 +63,7 @@ const Navbar = ({ children, brew, pageName, editor, title, currentPage, props })
|
||||
{renderDownloadLink()}
|
||||
</div>
|
||||
<div className='nav-section'>
|
||||
<Nav.item href={`/new/${brew?.shareId}`} disabled={!isBrew}>
|
||||
<Nav.item icon={'fas fa-clone'} href={`/new/${brew?.shareId}`} disabled={!isBrew}>
|
||||
Clone File
|
||||
</Nav.item>
|
||||
{/*
|
||||
|
||||
Reference in New Issue
Block a user