adding some icons

This commit is contained in:
Víctor Losada Hernández
2026-10-10 23:03:29 +02:00
parent 7b1cb31d20
commit 9da8132f97
2 changed files with 3 additions and 2 deletions
@@ -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',
+2 -2
View File
@@ -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>
{/*