From 208ac4046f6428bc10f81b65d02fa0a83b13f184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 8 Oct 2026 00:17:00 +0200 Subject: [PATCH] basic changes --- client/homebrew/navbar/navbar.jsx | 120 ++++++++++++----------- client/homebrew/navbar/navbar.less | 17 +++- client/homebrew/navbar/print.navitem.jsx | 4 +- 3 files changed, 80 insertions(+), 61 deletions(-) diff --git a/client/homebrew/navbar/navbar.jsx b/client/homebrew/navbar/navbar.jsx index 34f6d1b8d..9a53658b5 100644 --- a/client/homebrew/navbar/navbar.jsx +++ b/client/homebrew/navbar/navbar.jsx @@ -11,24 +11,22 @@ import Account from './account.navitem.jsx'; const { both: RecentNavItem } = RecentNavItems; import Nav from './nav.jsx'; -const Navbar = ({ account, brew, title, props }) => { +const Navbar = ({ account, brew, title = '', props }) => { const version = global.version || '0.0.0'; - - const isMac = navigator.platform.toUpperCase().includes("MAC"); - const mod = isMac ? "⌘" : "Ctrl"; + const isMac = navigator.platform.toUpperCase().includes('MAC'); + const mod = isMac ? '⌘' : 'Ctrl'; const renderTitle = () => { - //if vault const cleanTitle = title.replace(/^\/+|\/+$/g, ''); if (!brew.shareId) return {cleanTitle || 'Home'}; return ( - + {brew.title} ); }; - const renderEdit = () => { + const renderEditLink = () => { if (!brew.editId) return null; const editLink = brew.googleId && !brew.stubbed ? brew.googleId + brew.editId : brew.editId; @@ -40,60 +38,72 @@ const Navbar = ({ account, brew, title, props }) => { ); }; + const renderFile = () => { + return ( + File} icon={null} key={'file'}> + + Save document +
+ + Get txt +
+ +
+ Delete File + Publish File + Transfer File +
+
+ ); + }; + + const renderEdit = () => { + return ( + Edit} icon={null} key={'edit'}> +
+ + Undo + + Redo + cut + copy + paste + Find / Replace +
+
+ ); + }; + + const renderGo = () => { + return ( + Go} icon={null} key={'go'}> +
+ + Patreon + + + Vault + + + Changelog + +
+ Recent Brews} icon={null} key={'recent'}> + + +
+ ); + }; + return (