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