-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from Franpastoragusti/graph-to-highcharts
Graph to highcharts
- Loading branch information
Showing
5 changed files
with
129 additions
and
84 deletions.
There are no files selected for viewing
56 changes: 29 additions & 27 deletions
56
packages/nextjs/components/onchain-impact-dashboard/LeaderboardTable/SkeletonTable.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
const SkeletonTable = () => | ||
[...Array(5)].map(i => ( | ||
<tr key={i} className="animate-pulse"> | ||
<td> | ||
<div className="flex items-center"> | ||
<div className="animate-pulse flex space-x-4"> | ||
<div className="rounded-md bg-slate-300 h-6 w-6"></div> | ||
<div className="flex items-center space-y-6"> | ||
<div className="h-2 w-28 bg-slate-300 rounded"></div> | ||
[...Array(5).keys()] | ||
.map(i => i + 1) | ||
.map(i => ( | ||
<tr key={i} className="animate-pulse"> | ||
<td> | ||
<div className="flex items-center"> | ||
<div className="animate-pulse flex space-x-4"> | ||
<div className="rounded-md bg-slate-300 h-6 w-6"></div> | ||
<div className="flex items-center space-y-6"> | ||
<div className="h-2 w-28 bg-slate-300 rounded"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-14 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
</tr> | ||
)); | ||
</td> | ||
<td> | ||
<div className="h-2 w-14 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
<td> | ||
<div className="h-2 w-7 bg-slate-300 rounded"></div> | ||
</td> | ||
</tr> | ||
)); | ||
|
||
export default SkeletonTable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters