From 3947c8c69f5940e74962b15852751f6467ad8b58 Mon Sep 17 00:00:00 2001 From: danilo leal Date: Tue, 4 Jan 2022 17:20:30 -0300 Subject: [PATCH 1/3] logo refinement --- docs/public/static/logo.svg | 5 ++++- docs/src/icons/SvgMuiLogo.tsx | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/public/static/logo.svg b/docs/public/static/logo.svg index dea1f22374461e..b284583364ddba 100644 --- a/docs/public/static/logo.svg +++ b/docs/public/static/logo.svg @@ -1 +1,4 @@ - + + + + \ No newline at end of file diff --git a/docs/src/icons/SvgMuiLogo.tsx b/docs/src/icons/SvgMuiLogo.tsx index 5f926ed03a6169..7de5734fedc0b7 100644 --- a/docs/src/icons/SvgMuiLogo.tsx +++ b/docs/src/icons/SvgMuiLogo.tsx @@ -5,16 +5,16 @@ export default function SvgMuiLogo(props: RootSvgProps) { return ( From bb9183d70bc439925d7e5054c6ebac6cba0889aa Mon Sep 17 00:00:00 2001 From: danilo leal Date: Fri, 14 Jan 2022 17:27:42 -0300 Subject: [PATCH 2/3] fix code button --- docs/src/components/home/GetStartedButtons.tsx | 15 ++++++++++++--- docs/src/modules/brandingTheme.ts | 4 ++++ docs/src/route.ts | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/docs/src/components/home/GetStartedButtons.tsx b/docs/src/components/home/GetStartedButtons.tsx index 8054da89c599c4..6442a61d65bcbe 100644 --- a/docs/src/components/home/GetStartedButtons.tsx +++ b/docs/src/components/home/GetStartedButtons.tsx @@ -9,7 +9,7 @@ import ROUTES from 'docs/src/route'; import Link from 'docs/src/modules/components/Link'; export default function GetStartedButtons({ - installation = 'npm install @mui/material', + installation = 'npm install @mui/material @emotion/react @emotion/styled', to = ROUTES.documentation, ...props }: { installation?: string; to?: string } & BoxProps) { @@ -37,17 +37,26 @@ export default function GetStartedButtons({ size="large" variant="contained" endIcon={} + sx={{ mr: { xs: 0, md: 2 }, mb: { xs: 2, md: 0 } }} > Get started - diff --git a/docs/src/modules/brandingTheme.ts b/docs/src/modules/brandingTheme.ts index 1033935614b485..6a13db1dd61b71 100644 --- a/docs/src/modules/brandingTheme.ts +++ b/docs/src/modules/brandingTheme.ts @@ -336,6 +336,10 @@ export function getThemedComponents(theme: Theme) { color: theme.palette.grey[400], }, '& .MuiButton-endIcon': { + display: 'inline-block', + position: 'absolute', + right: 0, + marginRight: 10, color: theme.palette.mode === 'dark' ? theme.palette.grey[400] : theme.palette.grey[700], }, diff --git a/docs/src/route.ts b/docs/src/route.ts index 6458c54fd951a6..321c4f3bb4be81 100644 --- a/docs/src/route.ts +++ b/docs/src/route.ts @@ -13,7 +13,7 @@ const ROUTES = { components: '/getting-started/supported-components/', customization: '/customization/how-to-customize/', theming: '/customization/theming/', - documentation: '/getting-started/usage/', + documentation: '/getting-started/installation/', communityHelp: '/getting-started/support/#community-help-free', blog: 'https://medium.com/material-ui', showcase: '/discover-more/showcase', From 1ac7ada6a36ec420a059d81b3331b7aa68f943dd Mon Sep 17 00:00:00 2001 From: danilo leal Date: Mon, 17 Jan 2022 12:22:30 -0300 Subject: [PATCH 3/3] reverse logo changes I don't know how the commits regarding the logo improvements ended up in this PR... Reversing them. --- docs/public/static/logo.svg | 5 +---- docs/src/icons/SvgMuiLogo.tsx | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/public/static/logo.svg b/docs/public/static/logo.svg index b284583364ddba..5cb3a1e389ce63 100644 --- a/docs/public/static/logo.svg +++ b/docs/public/static/logo.svg @@ -1,4 +1 @@ - - - - \ No newline at end of file + \ No newline at end of file diff --git a/docs/src/icons/SvgMuiLogo.tsx b/docs/src/icons/SvgMuiLogo.tsx index 7de5734fedc0b7..5f926ed03a6169 100644 --- a/docs/src/icons/SvgMuiLogo.tsx +++ b/docs/src/icons/SvgMuiLogo.tsx @@ -5,16 +5,16 @@ export default function SvgMuiLogo(props: RootSvgProps) { return (