import React from 'react'; import { useNavigate } from 'react-router-dom'; import styles from './LandingPage.module.css'; const LandingPage: React.FC = () => { const navigate = useNavigate(); const isAuthenticated = !!localStorage.getItem('token'); return (

MindMapX

{isAuthenticated ? ( ) : ( <> )}

Create Beautiful Mind Maps

MindMapX is a powerful tool for creating, sharing, and collaborating on mind maps. Organize your thoughts, plan projects, and visualize complex ideas with our intuitive interface.

{!isAuthenticated && ( )}

Intuitive Interface

Drag and drop nodes, create connections, and organize your ideas with ease.

Real-time Collaboration

Work together with your team in real-time, share your mind maps, and get instant feedback.

Cloud Storage

Access your mind maps from anywhere, anytime. Your work is automatically saved and synced.

); }; export default LandingPage;