PageSourceSearch

https://xterns.ai/assets/XternRecognition-D88FqvJI.js

js xterns.ai collected 2026-10-05 13:24:14 UTC 9,688 bytes, 1 lines download raw bytes

1import{j as e,aK as o,bt as h,bu as j,aZ as p,B as N,h as a,m as t,U as g,i as r,k as l,J as i,a1 as u,a2 as f,a3 as y,P as c}from"./index-DLd_kDlx.js";import{T as d}from"./trophy-DBX-jNOC.js";import{A as x}from"./award-MEJfpupD.js";import{S as v}from"./star-BH1OFEcs.js";import{T as m}from"./trending-up-BU4cR3Ys.js";const R=()=>e.jsx(o,{children:e.jsxs("div",{className:"min-h-screen flex w-full bg-gray-50",children:[e.jsx(h,{}),e.jsxs(j,{className:"flex-1",children:[e.jsxs("header",{className:"sticky top-0 z-40 flex h-16 shrink-0 items-center gap-2 border-b bg-white px-4",children:[e.jsx(p,{className:"-ml-1"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h1",{className:"text-xl font-semibold",children:"Recognition & Achievements"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Celebrate your progress and compete with peers"})]}),e.jsxs(N,{size:"sm",children:[e.jsx(d,{className:"h-4 w-4 mr-1"}),"View Leaderboard"]})]}),e.jsxs("div",{className:"flex-1 space-y-6 p-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[e.jsx(a,{className:"bg-gradient-to-br from-yellow-400 to-orange-500 text-white",children:e.jsx(t,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-yellow-100",children:"Total Badges"}),e.jsx("p",{className:"text-3xl font-bold",children:"12"}),e.jsx("p",{className:"text-yellow-100",children:"+3 this month"})]}),e.jsx(x,{className:"h-12 w-12 text-yellow-200"})]})})}),e.jsx(a,{children:e.jsx(t,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-600",children:"Leaderboard Rank"}),e.jsx("p",{className:"text-2xl font-bold",children:"#8"}),e.jsx("p",{className:"text-sm text-green-600",children:"↑2 this week"})]}),e.jsx(d,{className:"h-8 w-8 text-yellow-500"})]})})}),e.jsx(a,{children:e.jsx(t,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-600",children:"Recognition Score"}),e.jsx("p",{className:"text-2xl font-bold",children:"1,247"}),e.jsx("p",{className:"text-sm text-blue-600",children:"+89 points"})]}),e.jsx(v,{className:"h-8 w-8 text-blue-500"})]})})}),e.jsx(a,{children:e.jsx(t,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-600",children:"Peer Votes"}),e.jsx("p",{className:"text-2xl font-bold",children:"34"}),e.jsx("p",{className:"text-sm text-purple-600",children:"This month"})]}),e.jsx(g,{className:"h-8 w-8 text-purple-500"})]})})})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsxs(a,{children:[e.jsx(r,{children:e.jsxs(l,{className:"flex items-center gap-2",children:[e.jsx(x,{className:"h-5 w-5"}),"My Badges"]})}),e.jsx(t,{children:e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{name:"First Commit",icon:"🚀",earned:!0,date:"Nov 15",rarity:"Common"},{name:"Code Reviewer",icon:"👁️",earned:!0,date:"Nov 28",rarity:"Uncommon"},{name:"Team Player",icon:"🤝",earned:!0,date:"Dec 3",rarity:"Common"},{name:"Bug Hunter",icon:"🐛",earned:!0,date:"Dec 8",rarity:"Rare"},{name:"Top Performer",icon:"⭐",earned:!0,date:"Dec 10",rarity:"Epic"},{name:"Mentor",icon:"👨‍🏫",earned:!0,date:"Dec 12",rarity:"Rare"},{name:"Sprint Master",icon:"🏃",earned:!1,date:"",rarity:"Uncommon"},{name:"Open Source",icon:"🌐",earned:!1,date:"",rarity:"Rare"}].map((s,n)=>e.jsxs("div",{className:`p-4 border rounded-lg text-center ${s.earned?"bg-white":"bg-gray-50 opacity-60"}`,children:[e.jsx("div",{className:"text-3xl mb-2",children:s.earned?s.icon:"🔒"}),e.jsx("h3",{className:"font-medium text-sm mb-1",children:s.name}),e.jsx(i,{variant:"outline",className:`text-xs mb-2 ${s.rarity==="Epic"?"border-purple-300 text-purple-700":s.rarity==="Rare"?"border-blue-300 text-blue-700":s.rarity==="Uncommon"?"border-green-300 text-green-700":"border-gray-300 text-gray-700"}`,children:s.rarity}),s.earned&&e.jsx("p",{className:"text-xs text-gray-500",children:s.date})]},n))})})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(l,{children:"Recent Achievements"})}),e.jsx(t,{className:"space-y-4",children:[{title:"Top Performer Badge Earned!",description:"Achieved highest EI score improvement in Pod Alpha",date:"Dec 10, 2024",points:"+150 points",icon:"⭐"},{title:"Mentor Recognition",description:"Helped 5 teammates with code reviews this week",date:"Dec 12, 2024",points:"+75 points",icon:"👨‍🏫"},{title:"Bug Hunter Success",description:"Found and fixed critical bug in team project",date:"Dec 8, 2024",points:"+100 points",icon:"🐛"}].map((s,n)=>e.jsxs("div",{className:"flex items-start gap-3 p-4 bg-gradient-to-r from-blue-50 to-purple-50 rounded-lg",children:[e.jsx("div",{className:"text-2xl",children:s.icon}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"font-semibold text-sm",children:s.title}),e.jsx("p",{className:"text-sm text-gray-600",children:s.description}),e.jsxs("div",{className:"flex items-center justify-between mt-2",children:[e.jsx("span",{className:"text-xs text-gray-500",children:s.date}),e.jsx(i,{className:"bg-green-100 text-green-800",children:s.points})]})]})]},n))})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs(a,{children:[e.jsx(r,{children:e.jsxs(l,{className:"text-base flex items-center gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),"Pod Alpha Leaderboard"]})}),e.jsx(t,{className:"space-y-3",children:[{rank:1,name:"Jessica Park",score:1654,avatar:"JP",trend:"up"},{rank:2,name:"David Kim",score:1532,avatar:"DK",trend:"up"},{rank:3,name:"Lisa Wang",score:1489,avatar:"LW",trend:"down"},{rank:8,name:"You",score:1247,avatar:"YU",trend:"up"}].map((s,n)=>e.jsxs("div",{className:`flex items-center gap-3 p-3 rounded-lg ${s.name==="You"?"bg-purple-50 border border-purple-200":"bg-gray-50"}`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[s.rank<=3?e.jsx("div",{className:"text-lg",children:s.rank===1?"🥇":s.rank===2?"🥈":"🥉"}):e.jsx("div",{className:"w-6 h-6 rounded-full bg-gray-200 flex items-center justify-center text-xs font-bold",children:s.rank}),e.jsxs(u,{className:"w-8 h-8",children:[e.jsx(f,{src:"/placeholder.svg"}),e.jsx(y,{className:"text-xs",children:s.avatar})]})]}),e.jsx("div",{className:"flex-1",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-medium text-sm",children:s.name}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("span",{className:"text-sm font-bold",children:s.score}),s.trend==="up"?e.jsx(m,{className:"h-3 w-3 text-green-500"}):e.jsx(m,{className:"h-3 w-3 text-red-500 rotate-180"})]})]})})]},n))})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(l,{className:"text-base",children:"Progress to Next Badge"})}),e.jsxs(t,{className:"space-y-4",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl mb-2",children:"🏃"}),e.jsx("h3",{className:"font-semibold",children:"Sprint Master"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Complete 5 sprints perfectly"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{children:"Progress"}),e.jsx("span",{className:"font-medium",children:"3/5 sprints"})]}),e.jsx(c,{value:60,className:"h-3"})]}),e.jsx("p",{className:"text-xs text-gray-500 text-center",children:"2 more sprints to go!"})]})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(l,{className:"text-base",children:"Monthly Challenges"})}),e.jsxs(t,{className:"space-y-3",children:[e.jsxs("div",{className:"p-3 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"font-medium text-sm",children:"Code 20 days"}),e.jsx(i,{className:"bg-green-100 text-green-800",children:"18/20"})]}),e.jsx(c,{value:90,className:"h-2"})]}),e.jsxs("div",{className:"p-3 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"font-medium text-sm",children:"Help 5 teammates"}),e.jsx(i,{className:"bg-yellow-100 text-yellow-800",children:"3/5"})]}),e.jsx(c,{value:60,className:"h-2"})]}),e.jsxs("div",{className:"p-3 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"font-medium text-sm",children:"Complete project"}),e.jsx(i,{className:"bg-red-100 text-red-800",children:"0/1"})]}),e.jsx(c,{value:75,className:"h-2"})]})]})]}),e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(l,{className:"text-base",children:"Recognition Stats"})}),e.jsxs(t,{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{children:"Peer nominations"}),e.jsx("span",{className:"font-medium",children:"12"})]}),e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{children:"Mentor endorsements"}),e.jsx("span",{className:"font-medium",children:"4"})]}),e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{children:"Public shoutouts"}),e.jsx("span",{className:"font-medium",children:"7"})]}),e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{children:"Project features"}),e.jsx("span",{className:"font-medium",children:"2"})]})]})]})]})]})]})]})]})});export{R 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.