From 3e7d6adeb8cabe18686b0609b2737e2a89182be1 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 29 May 2024 04:47:26 +0200 Subject: [PATCH] feat(web): added local timeline --- web/src/app.rs | 2 ++ web/src/components/navigation.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/web/src/app.rs b/web/src/app.rs index 9c0d3c7..a4b3745 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -21,6 +21,7 @@ pub fn App() -> impl IntoView { .unwrap_or_default(); let home_tl = Timeline::new(format!("{URL_BASE}/users/{username}/inbox/page")); let server_tl = Timeline::new(format!("{URL_BASE}/inbox/page")); + let local_tl = Timeline::new(format!("{URL_BASE}/outbox/page")); let user_tl = Timeline::new(format!("{URL_BASE}/users/{username}/outbox/page")); let context_tl = Timeline::new(format!("{URL_BASE}/outbox/page")); @@ -120,6 +121,7 @@ pub fn App() -> impl IntoView { } /> } /> + } /> } /> diff --git a/web/src/components/navigation.rs b/web/src/components/navigation.rs index 7e492ec..7b9b8f3 100644 --- a/web/src/components/navigation.rs +++ b/web/src/components/navigation.rs @@ -39,6 +39,7 @@ pub fn Navigator() -> impl IntoView { +