Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Minor changes #4372

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading