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] Fix SEO issues #34537

Merged
merged 2 commits into from Oct 3, 2022
Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 30, 2022

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Sep 30, 2022
@mui-bot
Copy link

mui-bot commented Sep 30, 2022

No bundle size changes

Generated by 🚫 dangerJS against 518af4f

@@ -9,13 +9,11 @@ import BookmarkAdd from '@mui/icons-material/BookmarkAddOutlined';

export default function BasicCard() {
return (
<Card variant="outlined" sx={{ minWidth: '320px' }}>
<Box sx={{ display: 'flex', flexDirection: 'column', gap: 0.5 }}>
Copy link
Member Author

Choose a reason for hiding this comment

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

Unecessary, removed

<AspectRatio minHeight="120px" maxHeight="200px" sx={{ my: 2 }}>
<img
src="https://images.unsplash.com/photo-1527549993586-dff825b37782?crop=entropy&auto=format&fit=crop&w=3270"
Copy link
Member Author

Choose a reason for hiding this comment

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

alt=""
/>
</AspectRatio>
<Box sx={{ display: 'flex' }}>
<div>
<Typography level="body3">Total price:</Typography>
<Typography fontSize="lg" fontWeight="lg">
$2900
$2,900
Copy link
Member Author

Choose a reason for hiding this comment

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

en-US locale number format

@@ -39,7 +39,7 @@ const vars = [
},
];

export default function GroupedAvatars() {
export default function CardVariables() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Match filename

@@ -137,7 +137,7 @@
"stars": "GitHub stars",
"stickyFooterDescr": "Attach a footer to the bottom of the viewport when page content is short.",
"stickyFooterTitle": "Sticky footer",
"strapline": "MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.",
"strapline": "MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design.",
Copy link
Member Author

Choose a reason for hiding this comment

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

This was too long & out of sync with the description on https://mui.com/index.html.

@@ -11,7 +11,7 @@ import References, { CORE_CUSTOMERS } from 'docs/src/components/home/References'
import AppFooter from 'docs/src/layouts/AppFooter';
import AppHeaderBanner from 'docs/src/components/banner/AppHeaderBanner';

export default function Home() {
export default function Core() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Match pathname

@@ -31,7 +31,7 @@ export const getStaticProps = () => {
};
};

const PostPreview = (props: BlogPost) => {
function PostPreview(props: BlogPost) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Component convention.

@@ -377,7 +377,7 @@ const appList = [
title: 'HiFiveWork',
description: 'HiFiveWork, the cool tool for leave management',
image: 'hifivework.png',
link: 'https://www.hifivework.com/#/',
link: 'https://hifivework.com/',
Copy link
Member Author

Choose a reason for hiding this comment

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

301

alt=""
/>
</CardCover>
<CardContent sx={{ justifyContent: 'center', gap: 1 }}>
Copy link
Member Author

Choose a reason for hiding this comment

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

I could see no impacts from this CSS.

alt=""
/>
</AspectRatio>
<Box>
<Box sx={{ ml: 0.5 }}>
Copy link
Member Author

Choose a reason for hiding this comment

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

This Box duplicates with the div and the gap prop.

@oliviertassinari oliviertassinari marked this pull request as ready for review October 1, 2022 00:22
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

👍

@mnajdova mnajdova merged commit e163da0 into mui:master Oct 3, 2022
@oliviertassinari oliviertassinari deleted the fix-seo-issues-v8 branch October 3, 2022 15:57
alexfauquette pushed a commit to alexfauquette/material-ui that referenced this pull request Oct 14, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
feliperli pushed a commit to jesrodri/material-ui that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants