Add invite system: /invites/ management page, /join/ registration page, nav link
This commit is contained in:
@@ -142,6 +142,7 @@ const { title = 'BincioWiki', description = 'La memoria collettiva del gruppo Bi
|
||||
<div class="ml-auto shrink-0 flex items-center gap-2">
|
||||
<span id="nav-handle" class="text-xs text-zinc-500" style="display:none"></span>
|
||||
<a id="nav-wikilog" href="/log/" class="text-xs text-zinc-500 hover:text-white transition-colors px-1" style="display:none">WikiLog</a>
|
||||
<a id="nav-invites" href="/invites/" class="text-xs text-zinc-500 hover:text-white transition-colors px-1" style="display:none">Inviti</a>
|
||||
<button id="nav-logout" class="text-xs text-zinc-500 hover:text-white transition-colors px-1" style="display:none">Log out</button>
|
||||
<button
|
||||
id="theme-toggle"
|
||||
@@ -178,6 +179,8 @@ const { title = 'BincioWiki', description = 'La memoria collettiva del gruppo Bi
|
||||
const logoutEl = document.getElementById('nav-logout');
|
||||
if (handleEl) { handleEl.textContent = '@' + user.handle; handleEl.style.display = ''; }
|
||||
if (wikilogEl) wikilogEl.style.display = '';
|
||||
const invitesEl = document.getElementById('nav-invites');
|
||||
if (invitesEl) invitesEl.style.display = '';
|
||||
if (logoutEl) logoutEl.style.display = '';
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user