wip: ui
This commit is contained in:
@@ -48,8 +48,8 @@ export function GlobalFilesWidget({ 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-400">
|
||||
Loading file sharing event...
|
||||
</p>
|
||||
</div>
|
||||
@@ -59,10 +59,12 @@ export function GlobalFilesWidget({ 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-900 dark:text-zinc-100">
|
||||
Oops, it looks like there are no file sharing events.
|
||||
</h3>
|
||||
<p className="text-white/50">You can close this widget</p>
|
||||
<p className="text-zinc-500 dark:text-zinc-400">
|
||||
You can close this widget
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user