Skip to content

Commit 3d6b8ae

Browse files
authored
Merge pull request #1963 from kkiilas/patch-54
Update part7c.md
2 parents 70539b5 + 3598a0e commit 3d6b8ae

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/content/7/en/part7c.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Many UI frameworks provide developers of web applications with ready-made themes
1919

2020
There are many UI frameworks that have React-friendly versions where the framework's "components" have been transformed into React components. There are a few different React versions of Bootstrap like [reactstrap](http://reactstrap.github.io/) and [react-bootstrap](https://react-bootstrap.github.io/).
2121

22-
Next, we will take a closer look at two UI frameworks, Bootstrap and [MaterialUI](https://material-ui.com/). We will use both frameworks to add similar styles to the application we made in the [React-router](/en/part7/react_router) section of the course material.
22+
Next, we will take a closer look at two UI frameworks, Bootstrap and [MaterialUI](https://mui.com/). We will use both frameworks to add similar styles to the application we made in the [React-router](/en/part7/react_router) section of the course material.
2323

2424
### React Bootstrap
2525

@@ -239,7 +239,7 @@ You can find the complete code for the application [here](https://github.com/ful
239239

240240
### Material UI
241241

242-
As our second example we will look into the [MaterialUI](https://material-ui.com/) React library, which implements the [Material design](https://material.io/) visual language developed by Google.
242+
As our second example we will look into the [MaterialUI](https://mui.com/) React library, which implements the [Material design](https://material.io/) visual language developed by Google.
243243

244244
Install the library with the command
245245

@@ -258,7 +258,7 @@ Then add the following line to the <i>head</i> tag in the <i>public/index.html</
258258

259259
Now let's use MaterialUI to do the same modifications to the code we did earlier with bootstrap.
260260

261-
Render the contents of the whole application within a [Container](https://material-ui.com/components/container/):
261+
Render the contents of the whole application within a [Container](https://mui.com/components/container/):
262262

263263
```js
264264
import { Container } from '@mui/material'
@@ -273,7 +273,7 @@ const App = () => {
273273
}
274274
```
275275

276-
Let's start with the <i>Notes</i> component. We'll render the list of notes as a [table](https://material-ui.com/components/tables/#simple-table):
276+
Let's start with the <i>Notes</i> component. We'll render the list of notes as a [table](https://mui.com/material-ui/react-table/#simple-table):
277277

278278
```js
279279
const Notes = ({ notes }) => (
@@ -315,12 +315,12 @@ import {
315315
TableContainer,
316316
TableRow,
317317
Paper,
318-
} from '@material-ui/core'
318+
} from '@mui/material'
319319
```
320320

321321
#### Form
322322

323-
Next, let's make the login form in the <i>Login</i> view better using the [TextField](https://material-ui.com/components/text-fields/) and [Button](https://material-ui.com/api/button/) components:
323+
Next, let's make the login form in the <i>Login</i> view better using the [TextField](https://mui.com/material-ui/react-text-field/) and [Button](https://mui.com/material-ui/api/button/) components:
324324

325325
```js
326326
const Login = (props) => {
@@ -363,7 +363,7 @@ Remember to import all the components used in the form.
363363

364364
#### Notification
365365

366-
The notification displayed on login can be done using the [Alert](https://material-ui.com/components/alert/) component, which is quite similiar to Bootstrap's equivalent component:
366+
The notification displayed on login can be done using the [Alert](https://mui.com/material-ui/react-alert/) component, which is quite similiar to Bootstrap's equivalent component:
367367

368368
```js
369369
<div>
@@ -383,7 +383,7 @@ Alert is quite stylish:
383383

384384
#### Navigation structure
385385

386-
We can implement navigation using the [AppBar](https://material-ui.com/components/app-bar/) component.
386+
We can implement navigation using the [AppBar](https://mui.com/material-ui/react-app-bar/) component.
387387

388388
If we use the example code from the documentation
389389

@@ -415,7 +415,7 @@ we do get working navigation, but it could look better
415415

416416
![](../../images/7/66ea.png)
417417

418-
We can find a better way from the [documentation](https://material-ui.com/guides/composition/#routing-libraries). We can use [component props](https://material-ui.com/guides/composition/#component-prop) to define how the root element of a MaterialUI component is rendered.
418+
We can find a better way from the [documentation](https://mui.com/material-ui/guides/composition/#routing-libraries). We can use [component props](https://mui.com/material-ui/guides/composition/#component-prop) to define how the root element of a MaterialUI component is rendered.
419419

420420
By defining
421421

0 commit comments

Comments
 (0)