Skip to content

Commit

Permalink
add loading state to daily artwork generator (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiantivirus authored Nov 13, 2024
1 parent 116c39d commit b3d6507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/admin/daily-schedule-generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const ScheduleArtworkPage: NextPage & {
alignItems: "center",
}}
>
<div className="h-[80vh]">
<div className="h-[80vh] flex items-center align-middle">
{imageUrl ? (
<img
className="border border-white"
Expand All @@ -53,7 +53,7 @@ const ScheduleArtworkPage: NextPage & {
style={{ maxWidth: "100%", maxHeight: "80vh" }}
/>
) : (
<p>Loading...</p>
<p className="text-white animate-pulse">Loading...</p>
)}
<div />
</div>
Expand Down

0 comments on commit b3d6507

Please sign in to comment.