Move Invites link from athlete page to settings; type pill active state contrast fix

This commit is contained in:
Davide Scaini
2026-05-14 16:22:31 +02:00
parent ab112788b4
commit 46445dd1cb
2 changed files with 10 additions and 5 deletions
@@ -30,10 +30,6 @@ const athleteUrl = `${mergedBase}athlete.json`;
<a href={`${base}u/${handle}/athlete/`} class="text-sm text-[--accent]">Athlete</a>
</nav>
</div>
<a id="invites-btn" href={`${base}invites/`}
class="hidden mt-1 px-3 py-1.5 text-xs border border-zinc-700 hover:border-zinc-500 text-zinc-400 hover:text-white rounded-md transition-colors">
Invites
</a>
</div>
</div>
<AthleteView {base} {indexUrl} {athleteUrl} {handle} client:only="svelte" />
@@ -42,7 +38,6 @@ const athleteUrl = `${mergedBase}athlete.json`;
function applyMeCheck(me) {
if (me === handle) {
document.getElementById('profile-subnav')?.remove();
document.getElementById('invites-btn')?.classList.remove('hidden');
}
}
if (window.__bincioMe !== undefined) {