homepage improvements

- show followed streams first
- show stream hashtags in video tile
- allow to visit hashtag page by clicking tag
- allow to follow/unfollow hashtags
This commit is contained in:
2023-07-31 12:19:51 +02:00
parent e726a67413
commit 75ff1dc376
11 changed files with 288 additions and 158 deletions

View File

@ -7,6 +7,7 @@ import { NostrSystem } from "@snort/system";
import { RouterProvider, createBrowserRouter } from "react-router-dom";
import { RootPage } from "pages/root";
import { TagPage } from "pages/tag";
import { LayoutPage } from "pages/layout";
import { ProfilePage } from "pages/profile-page";
import { StreamPage } from "pages/stream-page";
@ -41,6 +42,10 @@ const router = createBrowserRouter([
path: "/",
element: <RootPage />,
},
{
path: "/t/:tag",
element: <TagPage />,
},
{
path: "/p/:npub",
element: <ProfilePage />,