Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] MAJ de la metadescription du Centre d'aide(PIX-14175) #714

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat?(pix-site): update meta title and description for support page
machestla authored Oct 2, 2024
commit 02542f15358d7392f469b20abb5dd388c712b852
7 changes: 6 additions & 1 deletion shared/pages/support/index.vue
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@

<script setup>
const { client } = usePrismic();
const { locale: i18nLocale } = useI18n();
const { locale: i18nLocale, t } = useI18n();

/* I18n Routes */
defineI18nRoute({
@@ -33,6 +33,11 @@ defineI18nRoute({
},
});

useHead({
title: t('support.meta.title'),
meta: [{ name: 'description', content: t('support.meta.description') }],
});

/* Fetch personas list */
const { data } = await useAsyncData(async () => {
try {
5 changes: 5 additions & 0 deletions shared/translations/en.js
Original file line number Diff line number Diff line change
@@ -79,5 +79,10 @@ export default {
'contact-title': "Can't find the answer to your question?",
'contact-cta': 'Contact the support',
},
meta: {
title: 'Help Center and Contact',
description:
'Any question? Do you need help? Check out our FAQ or contact our support using the form dedicated to your situation.',
},
},
};
5 changes: 5 additions & 0 deletions shared/translations/fr-be.js
Original file line number Diff line number Diff line change
@@ -80,5 +80,10 @@ export default {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Centre d’aide et contact',
description:
'Une question ? Besoin d’aide ? Trouvez votre réponse en consultant notre FAQ ou contactez le support via le formulaire adapté à votre situation.',
},
},
};
5 changes: 5 additions & 0 deletions shared/translations/fr-fr.js
Original file line number Diff line number Diff line change
@@ -80,5 +80,10 @@ export default {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Centre d’aide et contact',
description:
'Une question ? Besoin d’aide ? Trouvez votre réponse en consultant notre FAQ ou contactez le support via le formulaire adapté à votre situation.',
},
},
};
5 changes: 5 additions & 0 deletions shared/translations/fr.js
Original file line number Diff line number Diff line change
@@ -80,5 +80,10 @@ export default {
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Centre d’aide et contact',
description:
'Une question ? Besoin d’aide ? Trouvez votre réponse en consultant notre FAQ ou contactez le support via le formulaire adapté à votre situation.',
},
},
};
7 changes: 6 additions & 1 deletion shared/translations/nl-be.js
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ export default {
'change-locale-switcher': 'Changer la langue',
'change-locale-switcher-button': 'Changer',
},
back: 'Retour',
back: 'Retour',
support: {
form: {
'required-info': "Tous les champs marqués d'une <span>*</span> sont obligatoires",
@@ -80,5 +80,10 @@ back: 'Retour',
'contact-title': 'Vous ne trouvez pas la réponse à votre question ?',
'contact-cta': 'Contacter le support',
},
meta: {
title: 'Helpcentrum & Contact',
description:
'Heb je een vraag? Heb je hulp nodig? Vind je antwoord in de FAQ of neem contact met ons op via het formulier dat is aangepast aan jouw situatie.',
},
},
};