Skip to content

Commit

Permalink
stats updated
Browse files Browse the repository at this point in the history
  • Loading branch information
darsan-in committed Jul 11, 2024
1 parent d8a89e5 commit 95ca093
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function HomePage() {
<section className="px-6">
<div className="max-w-screen-xl mx-auto text-gray-600 gap-x-12 justify-between overflow-hidden md:flex md:px-8">
<div className="flex-none space-y-5 px-4 sm:max-w-lg md:px-0 lg:max-w-xl">
<h1 className="text-primary font-medium">
<h1 className="text-primary font-medium animate-pulse">
<ShortMessage
totalProjects={localMeta.totalProjects ?? 0}
totalCommits={497}
Expand Down
7 changes: 6 additions & 1 deletion app/src/components/ui-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ export const ShortMessage = ({
return (
<>
{totalProjects ? (
`Over ${totalCommits}+ commits, ${overallDownloadCounts}+ NPM downloads and ${totalProjects}+ projects completed`
<>
Over <span className="font-bold">{totalCommits}</span>+ commits,{" "}
<span className="font-bold">{overallDownloadCounts}</span>+ NPM
downloads and <span className="font-bold">{totalProjects}</span>+
projects completed{" "}
</>
) : (
<Spinner size={20} />
)}
Expand Down

0 comments on commit 95ca093

Please sign in to comment.