- + {t('Passer le contenu')} diff --git a/site/source/components/Feedback/FeedbackForm.tsx b/site/source/components/Feedback/FeedbackForm.tsx index 76c9198be..4cfa80f00 100644 --- a/site/source/components/Feedback/FeedbackForm.tsx +++ b/site/source/components/Feedback/FeedbackForm.tsx @@ -129,8 +129,6 @@ export default function FeedbackForm({ {isSubmittedSuccessfully && } {!isSubmittedSuccessfully && ( <> -

{title}

-
{ diff --git a/site/source/components/Feedback/index.tsx b/site/source/components/Feedback/index.tsx index d2593f7c0..3cbf6897d 100644 --- a/site/source/components/Feedback/index.tsx +++ b/site/source/components/Feedback/index.tsx @@ -177,6 +177,11 @@ const FeedbackButton = ({ isEmbedded }: { isEmbedded?: boolean }) => { setIsShowingSuggestionForm(false) setTimeout(() => setIsFormOpen(false)) }} + title={ + isNotSatisfied + ? t('Vos attentes ne sont pas remplies') + : t('Votre avis nous intéresse') + } > - {t('Aller au contenu')} + {t('Aller au contenu principal')} diff --git a/site/source/design-system/popover/Popover.tsx b/site/source/design-system/popover/Popover.tsx index f71f8d70a..17b34910a 100644 --- a/site/source/design-system/popover/Popover.tsx +++ b/site/source/design-system/popover/Popover.tsx @@ -72,9 +72,10 @@ export default function Popover( if (offsetTop === undefined) { return null } + console.log({ title, titleProps }) return ( - + {props.isDismissable && ( diff --git a/site/source/design-system/typography/link.tsx b/site/source/design-system/typography/link.tsx index 712398833..f89d438ec 100644 --- a/site/source/design-system/typography/link.tsx +++ b/site/source/design-system/typography/link.tsx @@ -69,6 +69,7 @@ export const Link = React.forwardRef< children: React.ReactNode isDisabled?: boolean noUnderline?: boolean + to?: string } >(function Link(props, forwardedRef) { const { isDisabled, role, noUnderline, ...ariaButtonProps } = props @@ -77,7 +78,7 @@ export const Link = React.forwardRef< return (