Skip to content

Commit

Permalink
perf: add loading ui to projects page
Browse files Browse the repository at this point in the history
  • Loading branch information
moonbamijam committed May 4, 2024
1 parent cebc8f8 commit fd66e4d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/projects/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import LoadingSpinner from "@components/ux/LoadingSpinner";

const Loading = () => {
return (
<div className="text-5xl lg:text-6xl absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 rounded-full w-max p-5">
<LoadingSpinner size="100px" fontSize="64px" />
</div>
);
};

export default Loading;

0 comments on commit fd66e4d

Please sign in to comment.