Skip to content

Commit

Permalink
[docs] Link Material UI from the landing page (mui#37971)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jul 18, 2023
1 parent 6b01133 commit e4dc06a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
6 changes: 1 addition & 5 deletions docs/src/components/home/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import useMediaQuery from '@mui/material/useMediaQuery';
import GradientText from 'docs/src/components/typography/GradientText';
import GetStartedButtons from 'docs/src/components/home/GetStartedButtons';
import HeroContainer from 'docs/src/layouts/HeroContainer';
import ROUTES from 'docs/src/route';

function createLoading(sx: BoxProps['sx']) {
return function Loading() {
Expand Down Expand Up @@ -101,10 +100,7 @@ export default function Hero() {
with Material UI, our fully-loaded component library, or bring your own design system to
our production-ready components.
</Typography>
<GetStartedButtons
to={ROUTES.documentation}
installation="npm install @mui/material @emotion/react @emotion/styled"
/>
<GetStartedButtons callToAction="Discover the Core libraries" to="/core/" />
</Box>
}
rightSx={{
Expand Down
5 changes: 1 addition & 4 deletions docs/src/components/home/StartToday.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ export default function StartToday() {
}
description="Find out why MUI's tools are trusted by thousands of open-source developers and teams around the world."
/>
<GetStartedButtons
to={ROUTES.documentation}
installation="npm install @mui/material @emotion/react @emotion/styled"
/>
<GetStartedButtons callToAction="Discover the Core libraries" to="/core/" />
</Grid>
<Grid item xs={12} sm={6} md={6} container spacing={2}>
<Grid item xs={12} md={6}>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/productMaterial/MaterialHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default function MaterialHero() {
make it easy to implement your own custom design system.
</Typography>
<GetStartedButtons
to={ROUTES.documentation}
to="/material-ui/getting-started/"
installation="npm install @mui/material @emotion/react @emotion/styled"
/>
</Box>
Expand Down

0 comments on commit e4dc06a

Please sign in to comment.