PageSourceSearch

https://faf.co.ao/assets/Competitions-ohLE8Hxp.js

js faf.co.ao collected 2026-10-02 19:10:13 UTC 6,639 bytes, 1 lines download raw bytes

1import{b as m,j as e,L as x}from"./vendor-react-core-_0sZDOLQ.js";import{h as i,c as p,b as g}from"./index-j07E1qHv.js";import{C as o,a as r}from"./card-DHmBnTdH.js";import{B as h}from"./badge-BXqwvh8U.js";import{C as u}from"./CleanHero-B9_2ARuE.js";import{h as n,t as b,aP as j,af as l}from"./vendor-lucide-Ddz0eB7N.js";import{m as t}from"./vendor-framer-motion-C1oRD-X5.js";import"./vendor-radix-CFmJ1img.js";import"./vendor-utils-BRu4i-LD.js";import"./vendor-supabase-Ca6cp8v2.js";const y=[{id:"girabola",name:"Liga Unitel Girabola",queryName:"Girabola",type:"Liga Nacional",description:"A principal competição de futebol em Angola, disputada por 16 equipas em formato de pontos corridos.",founded:1979,teams:16,currentChampion:"Petro de Luanda",format:"Duas voltas (casa e fora)",icon:n,color:"from-yellow-500 to-yellow-600",bgColor:"bg-yellow-50",textColor:"text-yellow-700",image:i.girabola,details:["Competição profissional de elite","Classificação para CAF Champions League","Sistema de promoção/despromoção","Temporada de Fevereiro a Novembro"]},{id:"taca",name:"Taça de Angola",type:"Competição Eliminatória",description:"Torneio eliminatório nacional que reúne equipas de todas as divisões e províncias de Angola.",founded:1982,teams:32,currentChampion:"1º de Agosto",format:"Eliminatória direta",icon:b,color:"from-red-500 to-red-600",bgColor:"bg-red-50",textColor:"text-red-700",image:i.taca,details:["Aberta a todas as divisões","Vencedor qualifica para CAF Confederation Cup","Final disputada em jogo único","Tradição desde 1982"]},{id:"supercup",name:"Supertaça de Angola",type:"Jogo Inaugural",description:"Disputa entre o campeão da Girabola e o vencedor da Taça de Angola para abrir a temporada.",founded:1991,teams:2,currentChampion:"Petro de Luanda",format:"Jogo único",icon:j,color:"from-blue-500 to-blue-600",bgColor:"bg-blue-50",textColor:"text-blue-700",image:i.supercup,details:["Abertura oficial da época","Campeão vs. Vencedor da Taça","Jogo único no início da temporada"]},{id:"segunda",name:"Segunda Divisão",type:"Liga Secundária",description:"Segunda divisão do futebol angolano com sistema de acesso à Girabola.",founded:1980,teams:14,format:"Duas voltas",icon:l,color:"from-green-500 to-green-600",bgColor:"bg-green-50",textColor:"text-green-700",image:i.segunda,details:["Desenvolvimento de talentos","Promoção à Girabola","Equipas de várias províncias"]}],f=[{name:"Torneios Sub-17/Sub-20",description:"Competições de categorias de base",icon:l}];function I(){const{data:v,isLoading:N}=m({queryKey:["competitions"],queryFn:()=>g.entities.Competition.list("name"),initialData:[]});return e.jsxs("main",{className:"min-h-screen bg-gray-50",children:[e.jsx(u,{eyebrow:"Competições Nacionais",title:"Competições da FAF",description:"A FAF organiza e regula as principais competições de futebol em Angola, desde a elite profissional até às categorias de formação.",icon:n}),e.jsx("section",{className:"py-16",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"space-y-12",children:y.map((a,s)=>e.jsx(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},children:e.jsx(o,{className:"overflow-hidden border-0 shadow-lg hover:shadow-xl transition-shadow",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2",children:[e.jsxs("div",{className:"relative h-64 lg:h-auto",children:[e.jsx("img",{src:a.image,alt:a.name,className:"w-full h-full object-cover"}),e.jsx("div",{className:`absolute inset-0 bg-gradient-to-r ${a.color} opacity-80`}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(a.icon,{className:"w-24 h-24 text-white opacity-50"})})]}),e.jsxs(r,{className:"p-8",children:[e.jsxs("div",{className:"flex items-start justify-between mb-4",children:[e.jsxs("div",{children:[e.jsx(h,{className:`${a.bgColor} ${a.textColor} mb-3`,children:a.type}),e.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-2",children:a.name})]}),e.jsx(x,{to:`${p("CompetitionDetail")}?name=${encodeURIComponent(a.queryName||a.name)}`,children:e.jsx("div",{className:`w-16 h-16 bg-gradient-to-br ${a.color} rounded-xl flex items-center justify-center cursor-pointer hover:scale-110 transition-transform`,children:e.jsx(a.icon,{className:"w-8 h-8 text-white"})})})]}),e.jsx("p",{className:"text-gray-600 mb-6 leading-relaxed",children:a.description}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-500 mb-1",children:"Fundação"}),e.jsx("p",{className:"font-bold text-gray-900",children:a.founded})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-500 mb-1",children:"Equipas"}),e.jsx("p",{className:"font-bold text-gray-900",children:a.teams})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-500 mb-1",children:"Formato"}),e.jsx("p",{className:"font-bold text-gray-900",children:a.format})]}),a.currentChampion&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-500 mb-1",children:"Campeão Atual"}),e.jsx("p",{className:"font-bold text-gray-900",children:a.currentChampion})]})]}),e.jsx("div",{className:"space-y-2",children:a.details.map((d,c
1)=>e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600",children:[e.jsx("div",{className:`w-1.5 h-1.5 rounded-full bg-gradient-to-r ${a.color}`}),d]},c))})]})]})})},a.id))})})}),e.jsx("section",{className:"py-16 bg-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Outras Competições"}),e.jsx("p",{className:"text-gray-600 max-w-2xl mx-auto",children:"A FAF também organiza competições de categorias de base"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:f.map((a,s)=>e.jsx(t.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},children:e.jsx(o,{className:"h-full hover:shadow-lg transition-shadow",children:e.jsxs(r,{className:"p-6 text-center",children:[e.jsx("div",{className:"w-16 h-16 bg-gray-100 rounded-xl flex items-center justify-center mx-auto mb-4",children:e.jsx(a.icon,{className:"w-8 h-8 text-gray-600"})}),e.jsx("h3",{className:"font-bold text-gray-900 mb-2",children:a.name}),e.jsx("p",{className:"text-sm text-gray-600",children:a.description})]})})},a.name))})]})})]})}export{I 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.