Skip to content

Commit

Permalink
Fix the label of the guide links on the overview page (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobottaro authored Sep 20, 2024
1 parent bd9206d commit 617fef4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/eighty-dingos-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nextjs-website": patch
---

Fix the label of the guide links on the overview page
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const PostIntegration = ({
)}
{guides && guides.length > 0 && (
<EContainer>
<Box mt={5}>
<Box sx={{ marginTop: 5, width: '100%' }}>
{guides &&
guides.map((props, index) => (
<GuideCard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function makeOverviewsProps(
imagePath: guide.attributes.image.data.attributes.url,
mobileImagePath: guide.attributes.mobileImage.data.attributes.url,
link: {
label: 'shared.goToModel',
label: 'shared.goToGuide',
href: `guides/${guide.attributes.slug}`,
},
})),
Expand Down
1 change: 1 addition & 0 deletions apps/nextjs-website/src/messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
"requiredFieldError": "Questo campo non può essere vuoto",
"emailFieldError": "Inserisci un indirizzo email valido",
"emailAlreadyTaken": "Esiste già un account per questo indirizzo email",
"goToGuide": "Vai alla guida",
"goToModel": "Vai al modello",
"edit": "Modifica",
"cancel": "Annulla",
Expand Down

0 comments on commit 617fef4

Please sign in to comment.