"use client" import { useEffect, useState } from "react" import { RepoCard } from "@/components/RepoCard" const pinnedRepos = [ { name: "gitsune", description: "A lightweight, privacy-focused Forgejo fork with enhanced performance and modern UI components.", language: "Go", languageColor: "#00ADD8", stars: 42, forks: 8, url: "https://github.com/aguitauwu/gitsune", starUrl: "https://github.com/aguitauwu/gitsune", }, { name: "NHE", description: "Not Humanity Exam - A benchmark for measuring metacognition and reasoning patterns in large language models.", language: "Python", languageColor: "#3572A5", stars: 156, forks: 23, url: "https://huggingface.co/Not-Humanity-Exam", starUrl: "https://huggingface.co/Not-Humanity-Exam", }, { name: "koe", description: "Decentralized P2P communication protocol with end-to-end encryption and minimal latency.", language: "Rust", languageColor: "#dea584", stars: 89, forks: 12, url: "https://github.com/Koe-chat/koe", starUrl: "https://github.com/Koe-chat/koe", }, { name: "OpceanAI", description: "Open source AI models and research. Fine-tuned LLMs for specific tasks and domains.", language: "Python", languageColor: "#3572A5", stars: 234, forks: 45, url: "https://huggingface.co/OpceanAI", starUrl: "https://huggingface.co/OpceanAI", }, ] // Static contribution pattern const contributionPattern = "0123401230123012340123012340123401230123012340123012340123401230123012340123012340123401234012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401230123012340123012340123401234012340123" const levelColors = ["#161b22", "#0e4429", "#006d32", "#26a641", "#39d353"] function ContributionGraph() { const [mounted, setMounted] = useState(false) useEffect(() => { setMounted(true) }, []) if (!mounted) { return (
{Array.from({ length: 371 }).map((_, i) => (
))}
) } return (
{contributionPattern.slice(0, 371).split("").map((level, i) => (
))}
) } export function OverviewTab() { return (
{/* Pinned repos section */}

Pinned

Customize your pins
{pinnedRepos.map((repo) => ( ))}
{/* Contribution graph */}

Contribution activity

Contributions in the last year
Less
More
) }