diff --git a/components/editor/Menubar/index.js b/components/editor/Menubar/index.js index d7a1918..f1d14b0 100644 --- a/components/editor/Menubar/index.js +++ b/components/editor/Menubar/index.js @@ -3,7 +3,7 @@ import { useEffect, useState } from 'react'; import { toaster } from '@/components/toast'; import { ToolTip, ToolTipCon, ToolTipTrigger } from '@/components/UI/Tooltip'; import { DropDown, DropDownContainer, DropDownExtension, DropDownExtensionContainer, DropDownExtensionTrigger, DropDownItem, DropDownSection, DropDownSectionTitle, DropDownTrigger } from '@/lib/Pop-Cards/DropDown'; -import { CalendarDays, CircleUser, TextSelect, BookDashed, Pencil, Share2, PartyPopper, Archive, ArchiveRestore, Baseline, CaseLower, Copy, Eye, EyeOff, Info, PanelRightDashed, Settings2, Share, Space, Trash2Icon, WholeWord, Settings, PanelRight, Paintbrush, Printer, Glasses, Folder } from 'lucide-react'; +import { CalendarDays, CircleUser, TextSelect, BookDashed, Pencil, Share2, PartyPopper, Archive, ArchiveRestore, Baseline, CaseLower, Copy, Eye, EyeOff, Info, PanelRightDashed, Settings2, Share, Space, Trash2Icon, WholeWord, Settings, PanelRight, Paintbrush, Printer, Glasses, Folder, Fullscreen, X, PanelRightClose } from 'lucide-react'; import { CountCharacters, CountWords } from './helpers'; import { SendPageChanges } from '@/lib/Page state manager'; import { findPageListPage } from '@/components/Pages List/list-functions'; @@ -25,7 +25,7 @@ export function MenuBarButton({ ...props }) { ) } -export default function MenuBar({ sidebarstate, currentPageData, currentPage, listedPageItems, unauthed = false }) { +export default function MenuBar({ sidebarstate, currentPageData, currentPage, listedPageItems, unauthed = false, peekPageOpen = false }) { if (!listedPageItems || !currentPage || !currentPageData) { return <>> @@ -75,6 +75,46 @@ export default function MenuBar({ sidebarstate, currentPageData, currentPage, li ) : null} + + + + {peekPageOpen ? ( +