feat: add trending notes column

This commit is contained in:
2024-01-30 14:22:56 +07:00
parent c389a23365
commit 1fa1872ca6
15 changed files with 286 additions and 9 deletions

View File

@@ -14,6 +14,7 @@
"@columns/hashtag": "workspace:^",
"@columns/thread": "workspace:^",
"@columns/timeline": "workspace:^",
"@columns/trending-notes": "workspace:^",
"@columns/user": "workspace:^",
"@getalby/sdk": "^3.2.3",
"@lume/ark": "workspace:^",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 381 KiB

After

Width:  |  Height:  |  Size: 381 KiB

View File

@@ -5,6 +5,7 @@ import { Group } from "@columns/group";
import { Hashtag } from "@columns/hashtag";
import { Thread } from "@columns/thread";
import { Timeline } from "@columns/timeline";
import { TrendingNotes } from "@columns/trending-notes";
import { User } from "@columns/user";
import { useColumnContext } from "@lume/ark";
import {
@@ -45,6 +46,8 @@ export function HomeScreen() {
return <Group key={column.id} column={column} />;
case COL_TYPES.antenas:
return <Antenas key={column.id} column={column} />;
case COL_TYPES.trendingNotes:
return <TrendingNotes key={column.id} column={column} />;
default:
return <Default key={column.id} column={column} />;
}