show posts on profile page

This commit is contained in:
ari melody 2025-07-14 04:10:16 +01:00
parent d8efaccb30
commit 455679a525
Signed by: ari
GPG key ID: CF99829C92678188
7 changed files with 158 additions and 10 deletions

View file

@ -4,12 +4,10 @@
import { server } from '$lib/client/server.js';
import { app } from '$lib/client/app.js';
import { playSound } from '$lib/sound.js';
import { getTimeline } from '$lib/timeline.js';
import { getNotifications } from '$lib/notifications.js';
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { createEventDispatcher } from 'svelte';
import { notifications, unread_notif_count } from '$lib/notifications.js';
import { unread_notif_count } from '$lib/notifications.js';
import Lang from '$lib/lang';
import Logo from '$lib/../img/campfire-logo.svg';
@ -81,7 +79,7 @@
{lang.string('navigation.timeline')}
</Button>
<Button label="Notifications"
href="notifications"}
href="/notifications"}
active={$page.url.pathname === "/notifications"}>
<svelte:fragment slot="icon">
<NotificationsIcon/>