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

[website] Update Demo footers on MUI X landing page #38027

Merged
merged 4 commits into from
Jul 21, 2023

Conversation

richbustos
Copy link
Contributor

@richbustos richbustos commented Jul 18, 2023

What?

Update Demo footers on MUI X landing page. Charts and Date Range Picker demos have outdated information. Charts is in Alpha and Date Range Pickers has been stable since Sept 2022.

This change was requested in here (#37966)

I also seperated out the demos in a separate file.

Before After
date picker old Screen Shot 2023-07-21 at 09 25 44
charts old Screen Shot 2023-07-21 at 09 25 33

https://deploy-preview-38027--material-ui.netlify.app/x/

@richbustos richbustos added the website Pages that are not documentation-related, marketing-focused. label Jul 18, 2023
@richbustos richbustos self-assigned this Jul 18, 2023
@oliviertassinari oliviertassinari changed the title [Website] Update Demo footers on MUI X landing page [website] Update Demo footers on MUI X landing page Jul 18, 2023
@mui-bot
Copy link

mui-bot commented Jul 18, 2023

Netlify deploy preview

https://deploy-preview-38027--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 0803de5

docs/src/components/productX/XDateRangeDemo.tsx Outdated Show resolved Hide resolved
Comment on lines 28 to 49
<Grid container spacing={1} justifyContent="center">
<Grid item xs={6}>
<Box sx={{ width: { xs: 200, sm: 240 }, maxWidth: '100%', ml: 'auto' }}>
<AspectRatioImage src="/static/branding/mui-x/chart-light1.png" ratio={219 / 120} />
</Box>
</Grid>
<Grid item xs={6}>
<Box sx={{ width: { xs: 200, sm: 240 }, maxWidth: '100%', mr: 'auto' }}>
<AspectRatioImage src="/static/branding/mui-x/chart-light2.png" ratio={219 / 120} />
</Box>
</Grid>
<Grid item xs={6}>
<Box sx={{ width: { xs: 200, sm: 240 }, maxWidth: '100%', ml: 'auto' }}>
<AspectRatioImage src="/static/branding/mui-x/chart-light3.png" ratio={219 / 120} />
</Box>
</Grid>
<Grid item xs={6}>
<Box sx={{ width: { xs: 200, sm: 240 }, maxWidth: '100%', mr: 'auto' }}>
<AspectRatioImage src="/static/branding/mui-x/chart-light4.png" ratio={219 / 120} />
</Box>
</Grid>
</Grid>
Copy link
Member

@oliviertassinari oliviertassinari Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we were rendering our charts now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can potentially do that in another PR? I just wanted to address updating the footer on the demos since it was requested

Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just pushed a few changes that add a title + description to the Charts, Date Range, and Tree View sections, just so they aren't as dry as they're now ⎯ @richbustos feel free to tweak/fix/improve the copy anyway you want! Additionally, also swapped the images of the Charts out for images of the actual components that we now provide, but later on, it would definitely be nice to actually render them as @oliviertassinari suggested.

Agree that could be done in a separate PR, though, just to have this out faster in the meantime!
I think for now this is looking good on my end ⎯ any further tweaks could be done iteratively!

Charts Tree View Date Range
Screen Shot 2023-07-21 at 09 25 33 Screen Shot 2023-07-21 at 09 25 37 Screen Shot 2023-07-21 at 09 25 44

@richbustos
Copy link
Contributor Author

Awesome! Thanks @danilo-leal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants