Skip to content

Commit

Permalink
i18n(fr): Update tutorial/3-components/1.mdx from #8300
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbnt committed Jun 26, 2024
1 parent 4a26b83 commit d725e63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/content/docs/fr/tutorial/3-components/1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ Pour contenir les fichiers `.astro` qui généreront du HTML, mais qui ne devien
<Steps>
1. Revenez à `index.astro` et importez votre nouveau composant à l'intérieur du code fence :

```astro title="src/pages/index.astro"
```astro title="src/pages/index.astro" ins={2}
---
import Navigation from '../components/Navigation.astro';
---
import "../styles/global.css";
const pageTitle = "Page d'accueil";
---
```

2. Ensuite, remplacez les éléments de lien HTML de navigation existants par le nouveau composant de navigation que vous venez d'importer :
Expand Down

0 comments on commit d725e63

Please sign in to comment.