[frontend]: Refactor into separate components

This commit is contained in:
2025-03-02 12:12:50 +00:00
parent b8cc847c7c
commit e959822e9a
4 changed files with 152 additions and 118 deletions

View File

@ -0,0 +1,15 @@
import React from "react";
const LoadingOverlay = () => (
<div style={{
position: "absolute", top: 0, left: 0, width: "100%", height: "100%",
background: "rgba(0, 0, 0, 0.5)", display: "flex",
alignItems: "center", justifyContent: "center",
color: "white", fontSize: "20px", fontWeight: "bold",
zIndex: 1000
}}>
Loading data...
</div>
);
export default LoadingOverlay;