import { Route, Routes, useLocation, useNavigate } from 'react-router-dom'; import AuthenticationScreen from './authentication'; import { Chat } from './chat'; import { MailPage } from './mail'; import DashboardPage from './dashboard'; import TaskPage from './tasks'; import TemplatesPage from './templates'; import { DriveScreen } from './drive'; import SyncPage from './sync/page'; import { Button } from './components/ui/button'; const examples = [ { name: "Home", href: "authentication" }, { name: "Dashboard", href: "dashboard" }, { name: "Chat", href: "chat" }, { name: "Mail", href: "mail" }, { name: "Drive", href: "drive" }, { name: "Tasks", href: "tasks" }, { name: "Meet", href: "meet" }, { name: "Templates", href: "templates" }, { name: "Settings", href: "sync" }, { name: "Help", href: "help" }, ]; const ExamplesNav = () => { const location = useLocation(); const navigate = useNavigate(); return (