mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 15:43:20 +00:00
18 lines
657 B
TypeScript
18 lines
657 B
TypeScript
/** @jsx h */
|
|
import { h } from "https://esm.sh/preact@10.17.1";
|
|
import { HoverButtonBackgroudColor } from "../style/colors.ts";
|
|
|
|
export function Loading() {
|
|
return (
|
|
<div class={`w-full mt-8}`}>
|
|
<div class={`animate-pulse flex`}>
|
|
<div class={`flex-1 space-y-4 py-1`}>
|
|
<div class={`h-4 bg-[${HoverButtonBackgroudColor}] rounded w-1/2`}></div>
|
|
<div class={`h-4 bg-[${HoverButtonBackgroudColor}] rounded w-3/4`}></div>
|
|
<div class={`h-4 bg-[${HoverButtonBackgroudColor}] rounded w-5/6`}></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|