mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
add: more commits
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// components/generic/MediaFallback.jsx
|
||||
//
|
||||
// Mandatory fallback shown wherever a media element (video/audio/image) is
|
||||
// still resolving its source — replaces ad-hoc spinners so every player has
|
||||
// the same loading state.
|
||||
|
||||
export function MediaFallback({ className = "" }) {
|
||||
return (
|
||||
<div
|
||||
className={`flex items-center justify-center overflow-hidden ${className}`}
|
||||
style={{ background: "#FBF7F0" }}
|
||||
>
|
||||
<img
|
||||
src="/media-fallback-patient-tv.svg"
|
||||
alt="Media is loading"
|
||||
className="w-full h-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user