import { useState } from 'react';
import { Link, useLocation } from 'react-router-dom';
import { X, LogOut } from 'lucide-react';
import { clsx } from 'clsx';
import { useAuth } from '../contexts/AuthContext';
function Sidebar({ navigation, isOnline }) {
const [sidebarOpen, setSidebarOpen] = useState(false);
const location = useLocation();
const auth = useAuth();
const { logout, user } = auth || {};
return (
<>
{/* Mobile sidebar */}
setSidebarOpen(false)} />
Personal Internet Cell
{/* Desktop sidebar */}
Personal Internet Cell
{/* Mobile menu button */}
Personal Internet Cell
{isOnline ? 'Connected' : 'Disconnected'}
>
);
}
export default Sidebar;