PageSourceSearch

https://forbes.it/assets/admin-BhcdC7gw.js

js forbes.it collected 2026-09-24 08:40:47 UTC 1,737 bytes, 1 lines download raw bytes

1import{am as n,j as e,S as l,L as d,O as m,a as x}from"./index-D2Of2sTJ.js";const a=[{to:"/admin",label:"Panoramica"},{to:"/admin/contenuti",label:"Contenuti"},{to:"/admin/pagine",label:"Pagine"},{to:"/admin/candidature",label:"Candidature"},{to:"/admin/newsletter",label:"Newsletter"}],c=[{to:"/admin/utenti",label:"Utenti"}];function p(){const{isEditor:s,user:r,loading:i}=n(),o=r?.isSuperadmin?[...a,...c]:a;return e.jsxs("div",{className:"min-h-screen flex flex-col bg-forbes-bg text-forbes-ink",children:[e.jsx(l,{}),e.jsxs("main",{className:"flex-1 mx-auto w-full max-w-7xl bg-white border-x border-forbes-rule shadow-xl px-4 sm:px-8 py-10 md:py-14",children:[e.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.22em] text-forbes-red",children:"Redazione"}),e.jsx("h1",{className:"mt-2 font-serif text-4xl md:text-5xl",children:"Area admin"}),i?e.jsx("p",{className:"mt-10 text-sm text-forbes-muted",children:"Verifica dei permessi…"}):s?e.jsxs(e.Fragment,{children:[e.jsx("nav",{className:"mt-8 flex flex-wrap gap-2 border-b border-forbes-rule pb-4",children:o.map(t=>e.jsx(d,{to:t.to,activeOptions:{exact:t.to==="/admin"},className:"px-3 py-1.5 text-[11px] font-semibold uppercase tracking-[0.14em] text-forbes-muted hover:text-forbes-red",activeProps:{className:"px-3 py-1.5 text-[11px] font-semibold uppercase tracking-[0.14em] bg-forbes-ink text-white"},children:t.label},t.to))}),e.jsx("div",{className:"mt-8",children:e.jsx(m,{})})]}):e.jsx("p",{className:"mt-10 border border-forbes-rule bg-forbes-bg p-6 text-sm text-forbes-muted",children:"Questa area è riservata a redattori, editor e amministratori. Se ritieni di dover accedere, contatta la redazione."})]}),e.jsx(x,{})]})}export{p as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.