Move Invites link from athlete page to settings; type pill active state contrast fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user