PageSourceSearch

https://top1000league.com/assets/News-CML-fDse.js

js top1000league.com collected 2026-10-09 22:05:06 UTC 6,033 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-vendor-59hLoTKd.js";import{a as m,u as g}from"./react-vendor-DHHkWg5p.js";import{N as u,i,k as n,T as l,B as p,F as x,ba as h,C as y,a9 as b,f,x as w}from"./index-B712TPBp.js";import{L as v,M as d}from"./megaphone-JyRN_IRr.js";import{B as c}from"./book-open-Dccz-DNt.js";import"./supabase-D_pLX_lr.js";import"./query--LTQ4q54.js";const j=[{id:"all",label:"All",icon:v},{id:"spotlights",label:"Player Spotlights",icon:n},{id:"tutorials",label:"Tutorials",icon:c},{id:"events",label:"Events",icon:l},{id:"updates",label:"Updates",icon:d}],s=[{id:"1",category:"tutorials",title:"How to Challenge Someone to a Ranked Match",excerpt:"Step-by-step guide to finding opponents, sending challenges, and verifying games with QR codes.",image:null,date:"2025-01-15",readTime:"3 min read",slug:"how-to-challenge"},{id:"2",category:"tutorials",title:"Understanding Your ELO Rating",excerpt:"What is ELO? How does it work? How can you climb the rankings faster?",image:null,date:"2025-01-14",readTime:"5 min read",slug:"understanding-elo"},{id:"3",category:"tutorials",title:"Finding Pickup Games Near You",excerpt:"Use the Find a Run feature to discover pickup sessions at gyms and courts in your city.",image:null,date:"2025-01-13",readTime:"4 min read",slug:"finding-pickup-games"},{id:"4",category:"spotlights",title:"Player Spotlight: The Rise of Chicago's #1",excerpt:"How one player climbed from unranked to the top of the Chicago leaderboard in just 3 weeks.",image:null,date:"2025-01-12",readTime:"6 min read",slug:"spotlight-chicago-1"},{id:"5",category:"events",title:"King of the Court: How It Works",excerpt:"Everything you need to know about our elimination-style tournament format.",image:null,date:"2025-01-11",readTime:"4 min read",slug:"kotc-how-it-works"},{id:"6",category:"updates",title:"Chicago Launch 2025: What to Expect",excerpt:"The first official rankings drop this month. Here's everything you need to know.",image:null,date:"2025-01-10",readTime:"3 min read",slug:"chicago-launch-2025"},{id:"7",category:"tutorials",title:"How to Host a King of the Court Event",excerpt:"A complete guide for organizers who want to run official KOTC tournaments.",image:null,date:"2025-01-09",readTime:"7 min read",slug:"host-kotc-event"},{id:"8",category:"updates",title:"New Feature: Run Rating for Pickup Basketball",excerpt:"Track your pickup game performance with our new social basketball score.",image:null,date:"2025-01-08",readTime:"4 min read",slug:"run-rating-launch"}],N={spotlights:"bg-yellow-500/20 text-yellow-400 border-yellow-500/30",tutorials:"bg-blue-500/20 text-blue-400 border-blue-500/30",events:"bg-purple-500/20 text-purple-400 border-purple-500/30",updates:"bg-green-500/20 text-green-400 border-green-500/30"},k={spotlights:n,tutorials:c,events:l,updates:d},T=({article:t})=>{const o=g(),r=k[t.category];return e.jsx(h.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4},children:e.jsxs(y,{className:"group cursor-pointer hover:border-primary/50 transition-all duration-300 overflow-hidden bg-card",onClick:()=>o(`/news/${t.slug}`),children:[e.jsx("div",{className:b("h-40 flex items-center justify-center",t.category==="spotlights"&&"bg-gradient-to-br from-yellow-500/20 to-orange-500/20",t.category==="tutorials"&&"bg-gradient-to-br from-blue-500/20 to-cyan-500/20",t.category==="events"&&"bg-gradient-to-br from-purple-500/20 to-pink-500/20",t.category==="updates"&&"bg-gradient-to-br from-green-500/20 to-emerald-500/20"),children:e.jsx(r,{className:"h-12 w-12 text-white/30 group-hover:scale-110 transition-transform"})}),e.jsxs(f,{className:"p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsx(i,{variant:"outline",className:N[t.category],children:t.category}),e.jsx("span",{className:"text-xs text-muted-foreground",children:t.readTime})]}),e.jsx("h3",{className:"font-bold text-lg mb-2 group-hover:text-primary transition-colors line-clamp-2",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:t.excerpt}),e.jsxs("div",{className:"flex items-center justify-between mt-4 pt-4 border-t border-border/50",children:[e.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(t.date).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}),e.jsx(w,{className:"h-4 w-4 text-muted-foreground group-hover:text-primary group-hover:translate-x-1 transition-all"})]})]})]})})},B=()=>
1{const[t,o]=m.useState("all"),r=t==="all"?s:s.filter(a=>a.category===t);return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(u,{}),e.jsx("section",{className:"py-16 bg-gradient-to-b from-primary/10 to-transparent",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[e.jsx(i,{variant:"outline",className:"mb-4 border-primary/50",children:"THE LATEST"}),e.jsxs("h1",{className:"text-4xl md:text-5xl font-black mb-4",children:["NEWS & ",e.jsx("span",{className:"text-primary",children:"SPOTLIGHTS"})]}),e.jsx("p",{className:"text-xl text-muted-foreground",children:"Player features, platform updates, tutorials, and more."})]})}),e.jsx("section",{className:"border-b border-border sticky top-16 bg-background/95 backdrop-blur z-10",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4",children:e.jsx("div",{className:"flex gap-1 overflow-x-auto py-2 scrollbar-hide",children:j.map(a=>e.jsxs(p,{variant:t===a.id?"default":"ghost",size:"sm",onClick:()=>o(a.id),className:"flex-shrink-0",children:[e.jsx(a.icon,{className:"h-4 w-4 mr-2"}),a.label]},a.id))})})}),e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r.map(a=>e.jsx(T,{article:a},a.id))}),r.length===0&&e.jsx("div",{className:"text-center py-12",children:e.jsx("p",{className:"text-muted-foreground",children:"No articles in this category yet."})})]})}),e.jsx(x,{})]})};export{s as articles,B 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.