update projects and contact form

This commit is contained in:
will
2026-04-02 23:02:19 +01:00
parent ea864a99c4
commit 746e51370d
9776 changed files with 953 additions and 2075549 deletions

View File

@@ -290,7 +290,6 @@ export default function CommitSection() {
return (
<section id="activity" className="py-24 px-6" aria-labelledby="activity-heading">
<div className="max-w-5xl mx-auto">
<span className="label">Gitea · Code activity</span>
<h2 id="activity-heading"
className="text-[clamp(1.8rem,4vw,2.5rem)] font-black tracking-tight text-white mb-10">
Contributions
@@ -349,33 +348,6 @@ export default function CommitSection() {
</div>
</div>
{/* Repo bar chart */}
{!loading && repos.length > 0 && (
<div className="glass rounded-2xl p-5 sm:p-6 mt-4">
<span className="text-[11px] font-semibold uppercase tracking-[.1em] text-white/30 block mb-5">
Repository breakdown
</span>
<div className="flex flex-col gap-2.5">
{repos.slice(0, 6).map(r => {
const maxStars = Math.max(...repos.map(x => x.stars_count), 1);
const pct = (r.stars_count / maxStars) * 100;
return (
<div key={r.id} className="flex items-center gap-3 group">
<a href={r.html_url} target="_blank" rel="noopener noreferrer"
className="text-xs font-mono text-white/40 hover:text-white/70 transition-colors w-36 truncate shrink-0">
{r.name}
</a>
<div className="flex-1 h-1.5 bg-white/[0.04] rounded-full overflow-hidden">
<div className="h-full rounded-full bg-white/25 transition-all duration-500"
style={{ width: `${Math.max(pct, 2)}%` }} />
</div>
<span className="text-[10px] text-white/25 tabular-nums w-6 text-right">{r.stars_count}</span>
</div>
);
})}
</div>
</div>
)}
</div>
</section>
);