import { Hexagon, Send, Layers, Zap, MessageCircle, BarChart3, ChevronRight, Flame, Share2, Globe, Instagram } from 'lucide-react'; const DICT: Record = { pt: { back: '← Voltar ao Hub', login: 'Conectar', subscribeBtn: 'Inscrever', sidebarAd: 'ESPAÇO PATROCINADO', popularData: 'DADOS ON-CHAIN', trending: 'EM ALTA:', picks: 'ESCOLHA DOS EDITORES', feedTitle: 'FLUXO DE DADOS PRINCIPAL', categoryWeb3: 'WEB 3.0 & DAOS', categoryAI: 'IA & COMPUTAÇÃO' } }; export default function NeonTheme({ posts, activeView = 'home', currentArticle, children }: { posts: any[], activeView?: 'home' | 'article', currentArticle?: any, children?: React.ReactNode }) { const ui = DICT['pt']; const articlesToRender = posts.map(p => ({ id: p.slug, title: p.data.title || p.slug, excerpt: p.data.excerpt || 'Resumo do artigo...', tag: p.data.category || 'NeuroTech', date: p.data.date ? new Date(p.data.date).toLocaleDateString('pt-BR') : 'Hoje' })); const displayArticle = currentArticle ? { id: currentArticle.slug, title: currentArticle.data.title || currentArticle.slug, excerpt: currentArticle.data.excerpt || '', tag: currentArticle.data.category || 'NeuroTech', date: currentArticle.data.date ? new Date(currentArticle.data.date).toLocaleDateString('pt-BR') : 'Hoje' } : articlesToRender[0]; const trendTags = ['Polkadot', 'Stable Diffusion 5', 'AGI timelines', 'Bitcoin $120k', 'Neuralink Trial']; return (
{/* Ticker / Topbar */}
{ui.trending} {trendTags.map((t, i) => ( // {t} ))}
{activeView === 'home' ? (
{/* Ad Space Leaderboard */}
{ui.sidebarAd} // ADS_MATRIX
{/* Densified Hero */}
{/* Main Big Article */} {/* 2 Smaller Articles Top/Bottom */}
{articlesToRender.slice(1, 3).map((art: any) => ( ))}
{/* Tech Specs / Tokens Widget */}
{/* 70/30 Split layout Feed / Sidebar */}
{/* MAIN COLUMN (70%) */}

{ui.categoryWeb3}

{articlesToRender.slice(3, 5).map((art: any) => ( ))}
{/* Cyber Banner Inline Ad */}
{ui.sidebarAd} // 728x90 HARDWARE_NODE_OFF 50%

{ui.categoryAI}

{articlesToRender.slice(5).map((art: any, i: number) => ( ))}
{/* CYBER SIDEBAR (30%) */}
) : ( /* --- ARTICLE VIEW --- */
{ui.back}
Deep Dive // {displayArticle.tag}

{displayArticle.title}

{ui.sidebarAd}
{children}
)} {/* Cyber Footer */}
); }