fix(hub): greeting above tagline, no punctuation

This commit is contained in:
Davide Scaini
2026-05-01 22:08:27 +02:00
parent 0ab62aa961
commit 12ef5100ef
+2 -2
View File
@@ -53,10 +53,10 @@ const singleHandle = isSingleUser ? shards[0].handle : null;
<!-- App selector (shown when authenticated) --> <!-- App selector (shown when authenticated) -->
<div id="hub-apps" style="display:none"> <div id="hub-apps" style="display:none">
<p id="hub-greeting" class="text-center text-zinc-400 text-sm mb-4"></p>
<p class="text-center text-zinc-600 text-sm italic mb-8 leading-relaxed"> <p class="text-center text-zinc-600 text-sm italic mb-8 leading-relaxed">
mangia<br/>bevi<br/>stai calmo<br/>non strappare mangia<br/>bevi<br/>stai calmo<br/>non strappare
</p> </p>
<p id="hub-greeting" class="text-center text-zinc-400 text-sm mb-6"></p>
<div id="hub-cards" class="space-y-3"></div> <div id="hub-cards" class="space-y-3"></div>
<p class="text-center mt-8"> <p class="text-center mt-8">
<button id="hub-logout" <button id="hub-logout"
@@ -111,7 +111,7 @@ const singleHandle = isSingleUser ? shards[0].handle : null;
function showApps(user: { handle: string; display_name: string; activity_access: boolean; wiki_access: boolean }) { function showApps(user: { handle: string; display_name: string; activity_access: boolean; wiki_access: boolean }) {
loginDiv.style.display = 'none'; loginDiv.style.display = 'none';
appsDiv.style.display = ''; appsDiv.style.display = '';
greeting.textContent = `Ciao, ${user.display_name || user.handle}.`; greeting.textContent = `Ciao ${user.display_name || user.handle}`;
cardsDiv.innerHTML = ''; cardsDiv.innerHTML = '';
if (user.activity_access && activityUrl) { if (user.activity_access && activityUrl) {
// If activityUrl is the same origin (dev --hub mode), go to the user page // If activityUrl is the same origin (dev --hub mode), go to the user page