diff --git a/docs/data/toolpad/core/pages.ts b/docs/data/toolpad/core/pages.ts index 0a9e9f1d595..090e958a2a1 100644 --- a/docs/data/toolpad/core/pages.ts +++ b/docs/data/toolpad/core/pages.ts @@ -106,7 +106,7 @@ const pages: MuiPage[] = [ children: [ { pathname: '/toolpad/core/react-crud-page', - title: 'CRUD Page', + title: 'CRUD', planned: true, }, { diff --git a/docs/src/components/landing-studio/GithubStars.js b/docs/src/components/landing-studio/GithubStars.js index c7a0f38f72b..65c4b848beb 100644 --- a/docs/src/components/landing-studio/GithubStars.js +++ b/docs/src/components/landing-studio/GithubStars.js @@ -75,8 +75,12 @@ export default function GithubStars() { sx={{ mt: stars ? 0.1 : 0, mr: stars ? 0.5 : 0 }} fontSize="small" /> - {fetching ? : stars} + {fetching ? : formatNumber(stars)} ); + + function formatNumber(num) { + return `${(num / 1000).toFixed(1)}k`; + } } diff --git a/docs/src/components/landing/Hero.js b/docs/src/components/landing/Hero.js index 22716225254..5ba743870ea 100644 --- a/docs/src/components/landing/Hero.js +++ b/docs/src/components/landing/Hero.js @@ -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.