diff --git a/src/shared/notes/actions/zap.tsx b/src/shared/notes/actions/zap.tsx index 76afd396..e18597f5 100644 --- a/src/shared/notes/actions/zap.tsx +++ b/src/shared/notes/actions/zap.tsx @@ -99,7 +99,7 @@ export function NoteZap({ id, pubkey }: { id: string; pubkey: string }) { - +
diff --git a/src/shared/widgets/eventLoader.tsx b/src/shared/widgets/eventLoader.tsx index 5db4ab66..5cf068da 100644 --- a/src/shared/widgets/eventLoader.tsx +++ b/src/shared/widgets/eventLoader.tsx @@ -62,7 +62,7 @@ export function EventLoader({ firstTime }: { firstTime: boolean }) {
)} -
+
- -

Loading article...

+ +

+ Loading article... +

) : data.length === 0 ? ( @@ -55,10 +57,12 @@ export function GlobalArticlesWidget({ params }: { params: Widget }) {
empty feeds
-

+

Oops, it looks like there are no articles.

-

You can close this widget

+

+ You can close this widget +

diff --git a/src/shared/widgets/global/files.tsx b/src/shared/widgets/global/files.tsx index 554fd13e..e7bf6528 100644 --- a/src/shared/widgets/global/files.tsx +++ b/src/shared/widgets/global/files.tsx @@ -48,8 +48,8 @@ export function GlobalFilesWidget({ params }: { params: Widget }) { {status === 'loading' ? (
- -

+ +

Loading file sharing event...

@@ -59,10 +59,12 @@ export function GlobalFilesWidget({ params }: { params: Widget }) {
empty feeds
-

+

Oops, it looks like there are no file sharing events.

-

You can close this widget

+

+ You can close this widget +

diff --git a/src/shared/widgets/global/hashtag.tsx b/src/shared/widgets/global/hashtag.tsx index d2dc6d30..4f35919c 100644 --- a/src/shared/widgets/global/hashtag.tsx +++ b/src/shared/widgets/global/hashtag.tsx @@ -76,10 +76,10 @@ export function GlobalHashtagWidget({ params }: { params: Widget }) {
{status === 'loading' ? ( -
+
- -

+ +

Loading event related to the hashtag {params.title}...

@@ -89,10 +89,10 @@ export function GlobalHashtagWidget({ params }: { params: Widget }) {
empty feeds
-

+

Oops, it looks like there are no events related to {params.title}.

-

+

You can close this widget or try with other hashtag

diff --git a/src/shared/widgets/local/articles.tsx b/src/shared/widgets/local/articles.tsx index 56fb2ba1..a0b229e6 100644 --- a/src/shared/widgets/local/articles.tsx +++ b/src/shared/widgets/local/articles.tsx @@ -48,8 +48,10 @@ export function LocalArticlesWidget({ params }: { params: Widget }) { {status === 'loading' ? (
- -

Loading article...

+ +

+ Loading article... +

) : dbEvents.length === 0 ? ( @@ -57,10 +59,12 @@ export function LocalArticlesWidget({ params }: { params: Widget }) {
empty feeds
-

+

Oops, it looks like there are no articles.

-

You can close this widget

+

+ You can close this widget +

@@ -72,21 +76,21 @@ export function LocalArticlesWidget({ params }: { params: Widget }) {
@@ -108,21 +112,21 @@ export function LocalFeedsWidget({ params }: { params: Widget }) {
@@ -107,21 +111,21 @@ export function LocalFollowsWidget({ params }: { params: Widget }) { @@ -102,7 +102,7 @@ export function NostrBandUserProfile({ data }: { data: Profile }) { @@ -110,7 +110,7 @@ export function NostrBandUserProfile({ data }: { data: Profile }) {
-

+

{profile.about || profile.bio}

@@ -120,26 +120,32 @@ export function NostrBandUserProfile({ data }: { data: Profile }) { ) : (
- + {userStats.stats[data.pubkey].followers_pubkey_count ?? 0} - Followers + + Followers +
- + {userStats.stats[data.pubkey].pub_following_pubkey_count ?? 0} - Following + + Following +
- + {userStats.stats[data.pubkey].zaps_received ? compactNumber.format( userStats.stats[data.pubkey].zaps_received.msats / 1000 ) : 0} - Zaps received + + Zaps received +
)} diff --git a/src/shared/widgets/other/learnNostr.tsx b/src/shared/widgets/other/learnNostr.tsx index b48de3d6..68b037a6 100644 --- a/src/shared/widgets/other/learnNostr.tsx +++ b/src/shared/widgets/other/learnNostr.tsx @@ -27,7 +27,9 @@ export function LearnNostrWidget({ params }: { params: Widget }) {
{resources.map((resource, index) => (
-

{resource.title}

+

+ {resource.title} +

{resource.data.length ? ( resource.data.map((item, index) => ( @@ -35,22 +37,24 @@ export function LearnNostrWidget({ params }: { params: Widget }) { key={index} type="button" onClick={() => open(item.id)} - className="flex items-center justify-between rounded-xl bg-white/10 px-4 py-3 hover:bg-white/20" + className="flex items-center justify-between rounded-xl bg-zinc-100 px-4 py-3 hover:bg-zinc-200 dark:bg-zinc-900 dark:hover:bg-zinc-800" > -
-
{item.title}
+
+
+ {item.title} +
{seens.has(item.id) ? ( -

Readed

+

Readed

) : ( -

Unread

+

Unread

)}
- + )) ) : ( -
-

+

+

More resources are coming, stay tuned.

diff --git a/src/shared/widgets/tmp/feeds.tsx b/src/shared/widgets/tmp/feeds.tsx index 3e0aa300..07973910 100644 --- a/src/shared/widgets/tmp/feeds.tsx +++ b/src/shared/widgets/tmp/feeds.tsx @@ -42,9 +42,9 @@ export function XfeedsWidget({ params }: { params: Widget }) { }; return ( -
+
-

+

Choose account you want to add to group feeds

@@ -53,16 +53,16 @@ export function XfeedsWidget({ params }: { params: Widget }) { value={title} onChange={(e) => setTitle(e.target.value)} placeholder="Title" - className="relative h-11 w-full rounded-lg bg-white/10 px-3 py-1 text-white !outline-none backdrop-blur-xl placeholder:text-white/50" + className="relative h-11 w-full rounded-lg bg-zinc-200 px-3 py-1 text-zinc-900 !outline-none placeholder:text-zinc-500 dark:bg-zinc-800 dark:text-zinc-100 dark:placeholder:text-zinc-300" />
-
+
{db.account.network.map((item: string) => ( diff --git a/src/shared/widgets/tmp/hashtag.tsx b/src/shared/widgets/tmp/hashtag.tsx index c2d865e7..1962b18d 100644 --- a/src/shared/widgets/tmp/hashtag.tsx +++ b/src/shared/widgets/tmp/hashtag.tsx @@ -72,7 +72,7 @@ export function XhashtagWidget({ params }: { params: Widget }) { {errors.hashtag &&

{errors.hashtag.message}

} @@ -82,7 +82,7 @@ export function XhashtagWidget({ params }: { params: Widget }) {