add ScrollWarning, improve HomeMenu and meta tags
This commit is contained in:
parent
3cf9e024c0
commit
d891ee8b7b
7 changed files with 56 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue