import React, { useState } from 'react';
import Sidebar from './Sidebar';
import CreationCenter from '../Sections/CreationCenter';
import ProjectManagement from '../Sections/ProjectManagement';
import AIModels from '../Sections/AIModels';
import Settings from '../Sections/Settings';
import AdminPanel from '../Sections/AdminPanel';
import { useAuth } from '../../hooks/useAuth';
const Layout: React.FC = () => {
const [activeSection, setActiveSection] = useState('creation');
const { user } = useAuth();
const renderSection = () => {
switch (activeSection) {
case 'creation':
return