import { useState } from 'react' interface WelcomeModalProps { isOpen: boolean onClose: () => void } export function WelcomeModal({ isOpen, onClose }: WelcomeModalProps) { const [neverShowAgain, setNeverShowAgain] = useState(false) const handleClose = () => { if (neverShowAgain) { localStorage.setItem('palace-welcome-dismissed', 'true') } onClose() } const handleOverlayClick = (e: React.MouseEvent) => { if (e.target === e.currentTarget) { handleClose() } } if (!isOpen) return null return (
This is Bubo's Memory Palace. You can write words and sentences in space. Double click a word to navigate to the corresponding space. Empty spaces are deleted. Spaces with no words linking to them are kept, only forgotten.
Navigation : Hit : to open a navigation console.
Writing: Double click in the void to write anything.
Selection: Shift+click or click and drag to select.
Warping: Double click on a note to warp between spaces.
Delete : Backspace/Del to delete a note.
Share: Type share in the nav console to share a space through a browser link (overrides the target).