Skip to content

Commit

Permalink
[docs] Fix 301 redirections
Browse files Browse the repository at this point in the history
These redirections slow the navigation experience.
Issues reported in https://app.ahrefs.com/site-audit/3524616/100/issues
  • Loading branch information
oliviertassinari committed Jan 6, 2024
1 parent eb30545 commit 7a6bcf4
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12480,7 +12480,7 @@ Here are some highlights ✨:

- 👩‍🎨 A first iteration on the new styling solution.

You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [emotion](https://emotion.sh/).
You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [Emotion](https://emotion.sh/).

In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/p/sandbox/sliderstyled-with-styled-components-forked-olc27?file=/package.json) for a demo. It relies on aliases to prevent any bundle size overhead.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Feel free to [submit a PR](https://github.com/mui/material-ui/compare) to add yo

### Microsoft's Fluent

- Design resource: [Figma](https://www.figma.com/community/file/836828295772957889)
- Design resource: [Figma](https://www.figma.com/community/file/836828295772957889/microsoft-fluent-2-web)
- Font: [Segoe UI](https://learn.microsoft.com/en-us/typography/font-list/segoe-ui)

<iframe src="https://codesandbox.io/embed/joy-ui-fluent-typography-system-j86fct?module=%2Fdemo.tsx&fontsize=14&hidenavigation=1&theme=dark&view=preview"
Expand All @@ -158,7 +158,7 @@ Feel free to [submit a PR](https://github.com/mui/material-ui/compare) to add yo
### Google's Material Design 3

- Design resource: [Figma](https://www.figma.com/community/file/1035203688168086460)
- Design resource: [Figma](https://www.figma.com/community/file/1035203688168086460/material-3-design-kit)
- Font: [Roboto](https://fonts.google.com/specimen/Roboto)

<iframe src="https://codesandbox.io/embed/joy-ui-material-3-typography-system-lx044f?module=%2Fdemo.tsx&fontsize=14&hidenavigation=1&theme=dark&view=preview"
Expand Down
12 changes: 6 additions & 6 deletions docs/data/joy/getting-started/templates/TemplateCollection.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ const templates = [
author: authors.MUI,
design: {
name: 'Untitled UI',
link: 'https://www.figma.com/community/file/1020079203222518115/%E2%9D%96-Untitled-UI-%E2%80%93-FREE-Figma-UI-kit-and-design-system',
link: 'https://www.figma.com/community/file/1020079203222518115/untitled-ui-free-figma-ui-kit-and-design-system',
},
},
{
name: 'profile-dashboard',
author: authors.MUI,
design: {
name: 'Untitled UI',
link: 'https://www.figma.com/community/file/1020079203222518115/%E2%9D%96-Untitled-UI-%E2%80%93-FREE-Figma-UI-kit-and-design-system',
link: 'https://www.figma.com/community/file/1020079203222518115/untitled-ui-free-figma-ui-kit-and-design-system',
},
},
{
name: 'messages',
author: authors.SteveEberger,
design: {
name: 'Untitled UI',
link: 'https://www.figma.com/community/file/1020079203222518115/%E2%9D%96-Untitled-UI-%E2%80%93-FREE-Figma-UI-kit-and-design-system',
link: 'https://www.figma.com/community/file/1020079203222518115/untitled-ui-free-figma-ui-kit-and-design-system',
},
},
{
Expand All @@ -68,7 +68,7 @@ const templates = [
author: authors.SteveEberger,
design: {
name: 'Untitled UI',
link: 'https://www.figma.com/community/file/1020079203222518115/%E2%9D%96-Untitled-UI-%E2%80%93-FREE-Figma-UI-kit-and-design-system',
link: 'https://www.figma.com/community/file/1020079203222518115/untitled-ui-free-figma-ui-kit-and-design-system',
},
},
{
Expand All @@ -88,7 +88,7 @@ const templates = [
author: authors.MUI,
design: {
name: 'Frames X',
link: 'https://framesxfigma.buninux.com/',
link: 'https://framesxdesign.com/',
},
},
];
Expand Down Expand Up @@ -241,7 +241,7 @@ export default function TemplateCollection() {
<Link
href={template.design.link}
target="_blank"
rel="noopener noreferrer"
rel="noopener noreferrer nofollow"
>
<b>{template.design.name}</b>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/discover-more/showcase/appList.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const appList = [
'Comet lets you track code, experiments, and results on ML projects. ' +
"It's fast, simple, and free for open source projects.",
image: 'comet.jpg',
link: 'https://www.comet.com/',
link: 'https://www.comet.com/site/',
similarWebVisits: 180,
dateAdded: '2019-01-01',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pnpm add @mui/material @emotion/react @emotion/styled

## With styled-components

Material UI uses [Emotion](https://emotion.sh/) as its default styling engine.
Material UI uses [Emotion](https://emotion.sh/docs/introduction) as its default styling engine.
If you want to use [styled-components](https://styled-components.com/) instead, run one of the following commands:

<codeblock storageKey="package-manager">
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/getting-started/overview/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ You can follow [this GitHub issue](https://github.com/mui/material-ui/issues/293

Material UI and [Base UI](/base-ui/) feature many of the same UI components, but Base UI comes without any default styles or styling solutions.

Material UI is _comprehensive_ in that it comes packaged with default styles, and is optimized to work with [Emotion](https://emotion.sh/) (or [styled-components](https://styled-components.com/)).
Material UI is _comprehensive_ in that it comes packaged with default styles, and is optimized to work with [Emotion](https://emotion.sh/docs/introduction) (or [styled-components](https://styled-components.com/)).

Base UI, by contrast, could be considered the "skeletal" or "headless" counterpart to Material UI—in fact, future versions of Material UI will use Base UI components and hooks for its foundational structure.
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ This change removes the confusion with the built-in `Omit` helper introduced in

The built-in `Omit`, while similar, is non-distributive.
This leads to differences when applied to union types.
[See this Stack Overflow answer for further details](https://stackoverflow.com/a/57103940/1009797).
[See this Stack Overflow answer for further details](https://stackoverflow.com/questions/57103834/typescript-omit-a-property-from-all-interfaces-in-a-union-but-keep-the-union-s/57103940#57103940).

```diff
-import { Omit } from '@mui/types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pnpm add @mui/system @emotion/react @emotion/styled

## With styled-components

MUI System uses [Emotion](https://emotion.sh/) as its default styling engine.
MUI System uses [Emotion](https://emotion.sh/docs/introduction) as its default styling engine.
If you want to use [styled-components](https://styled-components.com/) instead, run one of the following commands:

<codeblock storageKey="package-manager">
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/blog/mui-x-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default function App() {
### Limitations

Although this was a clear improvement, we still had to keep a CSS specificity of 2 for some parts of the `DataGrid` and `DataGridPro`, specifically the `GridColumnHeaderItem`, `GridRow` and `GridCell` along with all of the components that are nested in them.
This is due to performance implications related to how [emotion](https://emotion.sh/) injects styles into the page,
This is due to performance implications related to how [Emotion](https://emotion.sh/docs/introduction) injects styles into the page,
and was necessary to keep the performance of our virtualization engine at its optimal.

## v4 migration
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/components/MaterialShowcase.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const appList = [
'Comet lets you track code, experiments, and results on ML projects. ' +
"It's fast, simple, and free for open source projects.",
image: 'comet.jpg',
link: 'https://www.comet.com/',
link: 'https://www.comet.com/site/',
similarWebVisits: 180,
dateAdded: '2019-01-01',
},
Expand Down

0 comments on commit 7a6bcf4

Please sign in to comment.