wip: learn nostr widget

This commit is contained in:
Ren Amamiya
2023-09-16 07:47:44 +07:00
parent c6a0636e8c
commit fe4bfa1699
8 changed files with 112 additions and 25 deletions

View File

@@ -32,6 +32,9 @@ export const WidgetKinds = {
trendingAccounts: 1,
trendingNotes: 2,
},
other: {
learnNostr: 90000,
},
tmp: {
list: 10000,
xfeed: 10001,
@@ -100,6 +103,16 @@ export const DefaultWidgets: Array<WidgetGroup> = [
},
],
},
{
title: 'Other',
data: [
{
kind: WidgetKinds.other.learnNostr,
title: 'Learn Nostr',
description: 'All things you need to know about Nostr',
},
],
},
];
export const useWidgets = create<WidgetState>()(