-
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.
- Loading branch information
1 parent
c4805a6
commit 2d7dc7d
Showing
14 changed files
with
254 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Skeleton } from '~/components/skeletons'; | ||
import { TableCell, TableRow } from '~/components/ui'; | ||
|
||
export const CurriculaSkeleton = () => { | ||
return ( | ||
<> | ||
<TableRow> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[40px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[200px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[250px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[40px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[20px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="mx-auto h-4 w-[20px]" /> | ||
</TableCell> | ||
</TableRow> | ||
</> | ||
); | ||
}; |
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,35 @@ | ||
import { FaPhone } from 'react-icons/fa'; | ||
import { MdEmail } from 'react-icons/md'; | ||
|
||
import { Skeleton } from '~/components/skeletons'; | ||
|
||
export const DepartmentCardSkeleton = () => { | ||
return ( | ||
<li className="rounded border border-primary-700 bg-neutral-50 hover:drop-shadow-md"> | ||
<section className="flex gap-4 p-2 sm:p-3 md:p-4"> | ||
<Skeleton className="size-32 rounded lg:size-36 xl:size-40 2xl:size-44" /> | ||
<main> | ||
<header className="mb-1 sm:mb-2 md:mb-3 lg:mb-4"> | ||
<h4> | ||
<Skeleton className="h-5 w-[175px] lg:h-6 lg:w-[350px]" /> | ||
</h4> | ||
<p> | ||
<Skeleton className="h-3 w-[150px] lg:h-4 lg:w-[250px]" /> | ||
</p> | ||
</header> | ||
|
||
<ul className="mt-7"> | ||
<li className="flex items-center gap-3"> | ||
<MdEmail className="fill-primary-700" /> | ||
<Skeleton className="h-4 w-[150px]" /> | ||
</li> | ||
<li className="flex items-center gap-3 space-y-3"> | ||
<FaPhone className="scale-x-[-1] fill-primary-700" /> | ||
<Skeleton className="h-4 w-[150px]" /> | ||
</li> | ||
</ul> | ||
</main> | ||
</section> | ||
</li> | ||
); | ||
}; |
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 @@ | ||
import { Skeleton } from '~/components/skeletons'; | ||
|
||
export const DepartmentNameSkeleton = () => { | ||
return ( | ||
<section className="space-y-5"> | ||
<Skeleton className="h-3 w-[300px]" /> | ||
<Skeleton className="h-3 w-[300px]" /> | ||
<Skeleton className="h-3 w-[250px]" /> | ||
<Skeleton className="h-3 w-[200px]" /> | ||
<Skeleton className="h-3 w-[275px]" /> | ||
<Skeleton className="h-3 w-[200px]" /> | ||
<Skeleton className="h-3 w-[225px]" /> | ||
<Skeleton className="h-3 w-[150px]" /> | ||
<Skeleton className="h-3 w-[300px]" /> | ||
<Skeleton className="h-3 w-[300px]" /> | ||
<Skeleton className="h-3 w-[250px]" /> | ||
<Skeleton className="h-3 w-[200px]" /> | ||
<Skeleton className="h-3 w-[275px]" /> | ||
<Skeleton className="h-3 w-[200px]" /> | ||
<Skeleton className="h-3 w-[225px]" /> | ||
<Skeleton className="h-3 w-[150px]" /> | ||
</section> | ||
); | ||
}; |
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,7 @@ | ||
export * from './curricula'; | ||
export * from './department-card'; | ||
export * from './department-name'; | ||
export * from './meetings'; | ||
export * from './notification'; | ||
export * from './skeleton'; | ||
export * from './student-activity-carousel'; |
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,26 @@ | ||
import { Skeleton } from '~/components/skeletons'; | ||
import { TableCell, TableRow } from '~/components/ui'; | ||
|
||
export const MeetingsSkeleton = () => { | ||
return ( | ||
<> | ||
<TableRow> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[30px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[150px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="h-4 w-[400px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="mx-auto h-4 w-[20px]" /> | ||
</TableCell> | ||
<TableCell> | ||
<Skeleton className="mx-auto h-4 w-[20px]" /> | ||
</TableCell> | ||
</TableRow> | ||
</> | ||
); | ||
}; |
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,22 @@ | ||
import { MdOutlineKeyboardArrowRight } from 'react-icons/md'; | ||
|
||
import { Skeleton } from '~/components/skeletons'; | ||
|
||
export const NotificationSkeleton = ({ count }: { count: number }) => { | ||
return ( | ||
<li className="mt-1"> | ||
<h5 className="text-primary-700"> | ||
<Skeleton className="h-5 w-[125px] bg-neutral-400" /> | ||
</h5> | ||
<ul className="my-1 py-2 sm:py-4 md:py-6"> | ||
{[...Array<number>(count)].map((_, index) => ( | ||
<li className="inline-flex items-center" key={index}> | ||
<MdOutlineKeyboardArrowRight className="my-auto size-4 text-primary-700 lg:size-6" /> | ||
<Skeleton className="h-3 w-[450px] bg-neutral-400 lg:h-4 lg:w-[650px]" /> | ||
</li> | ||
))} | ||
</ul> | ||
<hr className="opacity-20" /> | ||
</li> | ||
); | ||
}; |
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
Oops, something went wrong.