wip: ui
This commit is contained in:
@@ -40,8 +40,8 @@ export function TrendingNotesWidget({ params }: { params: Widget }) {
|
||||
{status === 'loading' ? (
|
||||
<div className="flex h-full w-full items-center justify-center ">
|
||||
<div className="inline-flex flex-col items-center justify-center gap-2">
|
||||
<LoaderIcon className="h-5 w-5 animate-spin text-white" />
|
||||
<p className="text-sm font-medium text-white/80">
|
||||
<LoaderIcon className="h-5 w-5 animate-spin text-black dark:text-white" />
|
||||
<p className="text-sm font-medium text-zinc-500 dark:text-zinc-300">
|
||||
Loading trending posts...
|
||||
</p>
|
||||
</div>
|
||||
@@ -51,7 +51,7 @@ export function TrendingNotesWidget({ params }: { params: Widget }) {
|
||||
<div className="flex flex-col items-center gap-4">
|
||||
<img src="/ghost.png" alt="empty feeds" className="h-16 w-16" />
|
||||
<div className="text-center">
|
||||
<h3 className="font-semibold leading-tight">
|
||||
<h3 className="font-semibold leading-tight text-zinc-500 dark:text-zinc-300">
|
||||
Sorry, an unexpected error has occurred.
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user