Skip to content

Commit

Permalink
chore: update loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Oct 28, 2024
1 parent 26389a6 commit 5cf45c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/index/index.main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ export function Main(
<>
{loading
? (
<div class="grow h-screen max-w-8/12 flex justify-center bg-gray-950 border-t border-l border-r border-gray-700 p-4">
<div class="bg-center bg-no-repeat relative grow h-screen max-w-8/12 flex flex-col justify-center bg-gray-950 border-t border-l border-r border-gray-700 p-4 text-center">
Loading
<div style="content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('/bg.png'); background-position: center; opacity: 0.1; z-index: 0;">
</div>
</div>
)
: (
Expand Down

0 comments on commit 5cf45c8

Please sign in to comment.