Skip to content

Commit

Permalink
[docs] Minor changes (#4372)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhargupta1 authored Nov 6, 2024
1 parent ac5041f commit b1d2cc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/data/toolpad/core/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const pages: MuiPage[] = [
children: [
{
pathname: '/toolpad/core/react-crud-page',
title: 'CRUD Page',
title: 'CRUD',
planned: true,
},
{
Expand Down
6 changes: 5 additions & 1 deletion docs/src/components/landing-studio/GithubStars.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ export default function GithubStars() {
sx={{ mt: stars ? 0.1 : 0, mr: stars ? 0.5 : 0 }}
fontSize="small"
/>
{fetching ? <CircularProgress size={16} sx={{ ml: 0.25, mt: 0.1 }} /> : stars}
{fetching ? <CircularProgress size={16} sx={{ ml: 0.25, mt: 0.1 }} /> : formatNumber(stars)}
</Box>
</Button>
);

function formatNumber(num) {
return `${(num / 1000).toFixed(1)}k`;
}
}
2 changes: 1 addition & 1 deletion docs/src/components/landing/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function Hero() {
>
From the creators of Material UI, Toolpad Core offers the components needed for your
next admin panel and internal tools project. Bootstrap from scratch in our CLI with well
chosen defaults, or drop Toolpad Core into your existing Next.js or Vite* project.
chosen defaults, or drop Toolpad Core into your existing Next.js or Vite project.
</Typography>
</Box>
<Box
Expand Down

0 comments on commit b1d2cc3

Please sign in to comment.