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

@@ -62,6 +62,10 @@ export class Ark {
return sub;
}
public getNDKEvent(event: NostrEvent) {
return new NDKEvent(this.ndk, event);
}
public async createEvent({
kind,
tags,

View File

@@ -101,7 +101,7 @@ export function ColumnHeader({
className="inline-flex items-center gap-3 px-3 text-sm font-medium text-red-500 rounded-lg h-9 hover:bg-red-500 hover:text-red-50 focus:outline-none"
>
<TrashIcon className="size-4" />
{t("global.Delete")}
{t("global.delete")}
</button>
</DropdownMenu.Item>
</DropdownMenu.Content>