'use client'

import { SettingsNav } from '@/components/settings'

export default function SettingsLayout({
    children,
}: {
    children: React.ReactNode
}) {
    return (
        <div className="container mx-auto py-10 px-4 max-w-6xl">
            <div className="grid grid-cols-1 lg:grid-cols-4 gap-6">
                {/* Sidebar Navigation */}
                <aside className="lg:col-span-1">
                    <SettingsNav />
                </aside>

                {/* Main Content */}
                <main className="lg:col-span-3 space-y-6">
                    {children}
                </main>
            </div>
        </div>
    )
}
