weird characters
This commit is contained in:
@@ -13,7 +13,7 @@ const singleHandle = isSingleUser ? shards[0].handle : null;
|
||||
---
|
||||
|
||||
{activityUrl ? (
|
||||
<!-- ── Hub mode: bincio.org — login form / app selector ─────────────── -->
|
||||
<!-- Hub mode: bincio.org - login form / app selector -->
|
||||
<Base title="Bincio" public={true}>
|
||||
<div class="max-w-sm mx-auto mt-16 px-4"
|
||||
id="hub-root"
|
||||
@@ -69,14 +69,14 @@ const singleHandle = isSingleUser ? shards[0].handle : null;
|
||||
</div>
|
||||
</Base>
|
||||
) : isSingleUser ? (
|
||||
<!-- Single-user: redirect / → /u/{handle}/ -->
|
||||
<!-- Single-user: redirect / -> /u/{handle}/ -->
|
||||
<meta http-equiv="refresh" content={`0;url=${base}u/${singleHandle}/`} />
|
||||
<script define:vars={{ base, singleHandle }}>
|
||||
window.location.replace(base + 'u/' + singleHandle + '/');
|
||||
</script>
|
||||
) : (
|
||||
<!-- Multi-user activity feed -->
|
||||
<Base title="BincioActivity — Feed">
|
||||
<Base title="BincioActivity - Feed">
|
||||
<h1 class="text-2xl font-bold text-white mb-6">Feed</h1>
|
||||
<ActivityFeed {base} client:only="svelte" />
|
||||
</Base>
|
||||
@@ -85,7 +85,7 @@ const singleHandle = isSingleUser ? shards[0].handle : null;
|
||||
<script>
|
||||
const root = document.getElementById('hub-root') as HTMLElement | null;
|
||||
if (!root) {
|
||||
// Not in hub mode — nothing to do.
|
||||
// Not in hub mode - nothing to do.
|
||||
} else {
|
||||
const activityUrl = root.dataset.activityUrl ?? '';
|
||||
const wikiUrl = root.dataset.wikiUrl ?? '';
|
||||
|
||||
Reference in New Issue
Block a user