add ScrollWarning, improve HomeMenu and meta tags

This commit is contained in:
Yusur 2025-12-14 20:54:18 +01:00
parent 3cf9e024c0
commit d891ee8b7b
7 changed files with 56 additions and 4 deletions

View file

@ -2,6 +2,7 @@
import { RiChatOffLine } from "svelte-remixicon";
import Centered from "./Centered.svelte";
import FeedPost from "./FeedPost.svelte";
import ScrollWarning from "./ScrollWarning.svelte";
let { posts, emptymsg = "No posts, how empty" } = $props();
</script>
@ -14,6 +15,10 @@
<p class="big"><RiChatOffLine /></p>
{emptymsg}</Centered>
{/each}
{#if posts}
<!-- TODO make feeds keep track of a "next page" -->
<ScrollWarning next={2} loadNext={() => {}} />
{/if}
</ul>
<style>