import React, { useState } from 'react'
import { Link, usePage } from '@inertiajs/react'
const navItems = [
{ label: 'Profile', href: '/dashboard/profile', icon: 'fa-solid fa-user' },
// Future: { label: 'Notifications', href: '/dashboard/notifications', icon: 'fa-solid fa-bell' },
// Future: { label: 'Privacy', href: '/dashboard/privacy', icon: 'fa-solid fa-shield-halved' },
]
function NavLink({ item, active, onClick }) {
return (
{item.label}
)
}
function SidebarContent({ isActive, onNavigate }) {
return (
<>
Settings
Creator Studio
>
)
}
export default function SettingsLayout({ children, title }) {
const { url } = usePage()
const [mobileOpen, setMobileOpen] = useState(false)
const isActive = (href) => url.startsWith(href)
return (
{/* Mobile top bar */}
Settings
{/* Mobile nav overlay */}
{mobileOpen && (
setMobileOpen(false)}>
)}
{/* Desktop sidebar */}
{/* Main content */}
{title && (
{title}
)}
{children}
)
}