-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
[docs] Fix SEO issues #34537
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }}> | ||
<Typography level="h2" fontSize="md" sx={{ alignSelf: 'flex-start' }}> | ||
Yosemite National Park | ||
</Typography> | ||
<Typography level="body2">April 24 to May 02, 2021</Typography> | ||
</Box> | ||
<Card variant="outlined" sx={{ width: 320 }}> | ||
<Typography level="h2" fontSize="md" sx={{ mb: 0.5 }}> | ||
Yosemite National Park | ||
</Typography> | ||
<Typography level="body2">April 24 to May 02, 2021</Typography> | ||
<IconButton | ||
aria-label="bookmark Bahamas Islands" | ||
variant="plain" | ||
|
@@ -25,18 +23,19 @@ export default function BasicCard() { | |
> | ||
<BookmarkAdd /> | ||
</IconButton> | ||
|
||
<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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
src="https://images.unsplash.com/photo-1527549993586-dff825b37782?auto=format&fit=crop&w=286" | ||
srcSet="https://images.unsplash.com/photo-1527549993586-dff825b37782?auto=format&fit=crop&w=286&dpr=2 2x" | ||
loading="lazy" | ||
alt="" | ||
/> | ||
</AspectRatio> | ||
<Box sx={{ display: 'flex' }}> | ||
<div> | ||
<Typography level="body3">Total price:</Typography> | ||
<Typography fontSize="lg" fontWeight="lg"> | ||
$2900 | ||
$2,900 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. en-US locale number format |
||
</Typography> | ||
</div> | ||
<Button | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ const vars = [ | |
}, | ||
]; | ||
|
||
export default function GroupedAvatars() { | ||
export default function CardVariables() { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Match filename |
||
const [sx, setSx] = React.useState({}); | ||
return ( | ||
<Box | ||
|
@@ -71,16 +71,20 @@ export default function GroupedAvatars() { | |
<CardOverflow> | ||
<AspectRatio> | ||
<img | ||
src="https://images.unsplash.com/photo-1523404343994-489a5eefd760?auto=format&fit=crop&w=198" | ||
srcSet="https://images.unsplash.com/photo-1523404343994-489a5eefd760?auto=format&fit=crop&w=198&dpr=2 2x" | ||
loading="lazy" | ||
alt="" | ||
src="https://images.unsplash.com/photo-1523404343994-489a5eefd760?crop=entropy&auto=format&fit=crop&w=2148" | ||
/> | ||
</AspectRatio> | ||
</CardOverflow> | ||
<Box sx={{ mt: -3, width: 48 }}> | ||
<AspectRatio ratio="1"> | ||
<img | ||
src="https://images.unsplash.com/photo-1507833423370-a126b89d394b?auto=format&fit=crop&w=48" | ||
srcSet="https://images.unsplash.com/photo-1507833423370-a126b89d394b?auto=format&fit=crop&w=48&dpr=2 2x" | ||
loading="lazy" | ||
alt="" | ||
src="https://images.unsplash.com/photo-1507833423370-a126b89d394b?crop=entropy&auto=format&fit=crop&w=3387" | ||
/> | ||
</AspectRatio> | ||
</Box> | ||
|
@@ -100,7 +104,9 @@ export default function GroupedAvatars() { | |
> | ||
<CardCover> | ||
<img | ||
src="https://images.unsplash.com/photo-1523404343994-489a5eefd760?crop=entropy&auto=format&fit=crop&w=2148" | ||
src="https://images.unsplash.com/photo-1523404343994-489a5eefd760?auto=format&fit=crop&w=198" | ||
srcSet="https://images.unsplash.com/photo-1523404343994-489a5eefd760?auto=format&fit=crop&w=198&dpr=2 2x" | ||
loading="lazy" | ||
alt="" | ||
/> | ||
</CardCover> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unecessary, removed