PageSourceSearch

https://niucursos.lovable.app/assets/ProfessorsPage-B6UR_yVP.js

js niucursos.lovable.app collected 2026-10-03 03:34:20 UTC 3,557 bytes, 1 lines download raw bytes

1import{j as s,L as m}from"./index-B3Cp9eUl.js";import{e as l,L as d}from"./Layout-CBOB6el3.js";import{S as c}from"./skeleton-D95WUbW2.js";import{S as p}from"./SEOHead-1_WFSllz.js";import{B as u}from"./Breadcrumbs-D5Eov3IH.js";import{s as g,h}from"./imageFallback-QdZLgMpg.js";import"./input-UMssmug8.js";import"./useQuery-6jdW1Ocz.js";import"./youtube-BEBNoYtS.js";import"./chevron-right-ChDFvrVP.js";const C=()=>{const{data:a,isLoading:t}=l(),o=a==null?void 0:a.filter(e=>e.professor).reduce((e,r)=>{var i;return e.find(n=>n.name===r.professor)||e.push({name:r.professor,image:r.professor_image,bio:r.professor_bio,category:((i=r.categories)==null?void 0:i.name)||null,slug:r.slug}),e},[]);return s.jsxs(d,{children:[s.jsx(p,{title:"Professores",description:"Conheça os professores da Niu Cursos. Profissionais renomados do mercado brasileiro ensinando finanças, investimentos, tecnologia e mais.",keywords:"professores, instrutores, especialistas, niu cursos, pablo spyer, geraldo rufino, alan ghani",jsonLd:[{"@context":"https://schema.org","@type":"CollectionPage",name:"Professores da Niu Cursos",description:"Os melhores profissionais do mercado ensinando para você",url:"https://niucursos.lovable.app/professores",isPartOf:{"@type":"WebSite",name:"Niu Cursos",url:"https://niucursos.lovable.app"},provider:{"@type":"Organization",name:"Niu Cursos"}},{"@context":"https://schema.org","@type":"ItemList",numberOfItems:(o==null?void 0:o.length)||0,itemListElement:(o==null?void 0:o.map((e,r)=>({"@type":"ListItem",position:r+1,name:e.name,url:`https://niucursos.lovable.app/professores/${e.name.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}`})))||[]},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Início",item:"https://niucursos.lovable.app/"},{"@type":"ListItem",position:2,name:"Professores",item:"https://niucursos.lovable.app/professores"}]}]}),s.jsx("section",{className:"bg-primary text-primary-foreground py-12 md:py-20",children:s.jsxs("div",{className:"container text-center",children:[s.jsx("h1",{className:"text-3xl md:text-4xl font-bold",children:"Professores da Niu"}),s.jsx("p",{className:"mt-3 opacity-90",children:"Os melhores profissionais do mercado ensinando para você"})]})}),s.jsxs("section",{className:"container py-10",children:[s.jsx(u,{items:[{label:"Professores"}]}),s.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-
15",children:t?Array.from({length:8}).map((e,r)=>s.jsx(c,{className:"h-[280px] rounded-lg"},r)):o==null?void 0:o.map(e=>s.jsxs(m,{to:`/curso/${e.slug}`,className:"group bg-card rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow",children:[s.jsx("div",{className:"aspect-square bg-muted flex items-center justify-center overflow-hidden",children:s.jsx("img",{src:g(e.image,"/logo-niu.webp",e.name),alt:e.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",decoding:"async",onError:h})}),s.jsxs("div",{className:"p-4",children:[e.category&&s.jsx("span",{className:"text-xs font-medium text-primary",children:e.category}),s.jsx("h3",{className:"font-semibold text-foreground mt-1",children:e.name}),e.bio&&s.jsx("p",{className:"text-xs text-muted-foreground mt-1 line-clamp-2",children:e.bio})]})]},e.name))}),!t&&(!o||o.length===0)&&s.jsx("p",{className:"text-center text-muted-foreground py-10",children:"Nenhum professor encontrado."})]})]})};export{C as default};

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.