feat: Implement loading skeletons in various components

- Added SkeletonUI component to display loading states in Assets, MarketPlace, ROISummary, ThroughputSummary, and other relevant components.
- Integrated loading state management in Assets and MarketPlace to show skeletons while fetching data.
- Updated styles for skeletons to enhance visual representation during loading.
- Refactored existing components to utilize the new SkeletonUI for better user experience during data loading.
- Adjusted sidebar animations for smoother transitions.
This commit is contained in:
Nalvazhuthi
2025-05-06 18:41:58 +05:30
parent f7d0151b00
commit 7459b7f1a4
18 changed files with 477 additions and 233 deletions

View File

@@ -55,7 +55,7 @@ const SideBarRight: React.FC = () => {
}, [activeModule, selectedEventData, selectedEventSphere, setSubModule]);
return (
<div className="sidebar-right-wrapper">
<div className={`sidebar-right-wrapper ${toggleUI ? "open" : "closed"}`}>
<Header />
{toggleUI && (
<div className="sidebar-actions-container">