Skip to content

Commit

Permalink
[docs-infra] Fix footer links to link to the main domain (#40373)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jan 2, 2024
1 parent d0979e3 commit d710804
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/src/modules/components/AppLayoutDocsFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import RssFeedIcon from '@mui/icons-material/RssFeed';
import ArrowOutwardRoundedIcon from '@mui/icons-material/ArrowOutwardRounded';
import DiscordIcon from 'docs/src/icons/DiscordIcon';
// Other imports
import ROUTES from 'docs/src/route';
import Link from 'docs/src/modules/components/Link';
import PageContext from 'docs/src/modules/components/PageContext';
import EditPage from 'docs/src/modules/components/EditPage';
Expand Down Expand Up @@ -542,21 +541,21 @@ export default function AppLayoutDocsFooter(props) {
spacing={{ xs: 3, sm: 1 }}
>
<Stack direction="row" alignItems="center" spacing={1.2} sx={{ flexGrow: 1 }}>
<Link href="/" aria-label="Go to homepage" sx={{ mb: 2 }}>
<Link href="https://mui.com/" aria-label="Go to homepage" sx={{ mb: 2 }}>
<SvgMuiLogotype height={24} width={72} />
</Link>
<Typography color="grey.500" fontSize={13} sx={{ opacity: '70%' }}>
&bull;
</Typography>
<Link href={ROUTES.blog} target="_blank" rel="noopener noreferrer">
<Link href="https://mui.com/blog/" target="_blank" rel="noopener noreferrer">
<FooterLink>
Blog <ArrowOutwardRoundedIcon sx={{ fontSize: 14 }} />
</FooterLink>
</Link>
<Typography color="grey.500" fontSize={13} sx={{ opacity: '70%' }}>
&bull;
</Typography>
<Link href={ROUTES.store} target="_blank" rel="noopener noreferrer">
<Link href="https://mui.com/store/" target="_blank" rel="noopener noreferrer">
<FooterLink>
Store <ArrowOutwardRoundedIcon sx={{ fontSize: 14 }} />
</FooterLink>
Expand All @@ -566,7 +565,7 @@ export default function AppLayoutDocsFooter(props) {
<IconButton
target="_blank"
rel="noopener noreferrer"
href={ROUTES.rssFeed}
href="https://mui.com/feed/blog/rss.xml"
aria-label="RSS Feed"
title="RSS Feed"
size="small"
Expand Down

0 comments on commit d710804

Please sign in to comment.