-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…275)
- Loading branch information
1 parent
325c5ef
commit b4d5377
Showing
8 changed files
with
120 additions
and
42 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const CohortSkeleton = () => { | ||
return ( | ||
<div className="space-y-4 mr-32 bg-white dark:bg-dark-bg shadow-lg py-8 rounded-md w-[90%]"> | ||
<div className="h-12 flex items-center gap-4 rounded w-[98%] mb-2 px-4 ml-4"> | ||
<div className="bg-gray-600 h-10 rounded w-[10%] mb-2 space-x-4 px-4"></div> | ||
</div> | ||
<div className="bg-gray-600 h-7 rounded w-[10%] mb-2 space-x-4 px-4 ml-8"></div> | ||
<div className="bg-gray-600 h-12 rounded w-[96%] mb-2 space-x-8 px-4 ml-8"></div> | ||
{Array(5) | ||
.fill(0) | ||
.map((_, i) => ( | ||
<div | ||
key={i} | ||
className="animate-pulse flex items-center space-x-8 px-4 ml-4" | ||
> | ||
<div className="bg-gray-600 h-6 rounded w-1/4 md:w-1/6 lg:w-1/4"></div> | ||
<div className="bg-gray-600 h-6 rounded w-1/4 md:w-1/6 lg:w-1/4"></div> | ||
<div className="bg-gray-600 h-6 rounded w-1/4 md:w-1/6 lg:w-1/4"></div> | ||
<div className="bg-gray-600 h-6 rounded w-1/4 md:w-1/8 lg:w-1/4"></div> | ||
</div> | ||
))} | ||
</div> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export const CohortDetailSkeleton = () => { | ||
return ( | ||
<div className="space-y-6 bg-white dark:bg-dark-bg shadow-lg py-8 rounded-md w-[90%] mx-auto"> | ||
{/* Title */} | ||
<div className="h-8 bg-gray-600 rounded w-1/4 ml-4 mb-4"></div> | ||
|
||
{/* Information Section */} | ||
<div className="bg-gray-200 dark:bg-dark-tertiary rounded-lg w-[50%] ml-4 p-6 space-y-4"> | ||
{Array(6) | ||
.fill(0) | ||
.map((_, i) => ( | ||
<div | ||
key={i} | ||
className="flex justify-between bg-gray-600 h-6 rounded w-[60%] px-4" | ||
></div> | ||
))} | ||
</div> | ||
|
||
{/* Trainees Section */} | ||
<div className="w-[70%] ml-4 mt-8"> | ||
<div className="flex justify-between items-center pb-5"> | ||
<div className="bg-gray-600 h-8 rounded w-1/4"></div> | ||
<div className="bg-gray-600 h-10 rounded w-1/6"></div> | ||
</div> | ||
<div className="space-y-3"> | ||
{Array(4) | ||
.fill(0) | ||
.map((_, i) => ( | ||
<div | ||
key={i} | ||
className="flex items-center justify-between space-x-4 bg-gray-600 h-8 rounded w-full" | ||
></div> | ||
))} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; |