From 408a6bc8f40b628ee732753da30512bde020a243 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 29 Feb 2024 13:53:48 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20remove=20=C2=AB=20faire=20une=20suggest?= =?UTF-8?q?ion=20=C2=BB=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to reactivate when we hire somebody for treating the support --- site/source/components/Feedback/Feedback.tsx | 8 +++++--- site/source/components/Simulation/index.tsx | 10 +++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/site/source/components/Feedback/Feedback.tsx b/site/source/components/Feedback/Feedback.tsx index 7adb90cd9..f1235bb05 100644 --- a/site/source/components/Feedback/Feedback.tsx +++ b/site/source/components/Feedback/Feedback.tsx @@ -4,7 +4,6 @@ import { useLocation } from 'react-router-dom' import { TrackingContext } from '@/components/ATInternetTracking' import { Popover } from '@/design-system' -import { Button } from '@/design-system/buttons' import { Emoji } from '@/design-system/emoji' import { Spacing } from '@/design-system/layout' import { Strong } from '@/design-system/typography' @@ -110,7 +109,9 @@ export function Feedback({ ) : ( <> -

{customTitle || Un avis sur cette page ?}

+

+ {customTitle || Un avis sur cette page ?} +

{shouldShowRater && ( @@ -122,6 +123,7 @@ export function Feedback({ ) : (
+ {/* TODO : reactivate when we have a support team + */}
)} {isShowingSuggestionForm && ( diff --git a/site/source/components/Simulation/index.tsx b/site/source/components/Simulation/index.tsx index 205ab4b13..39977463a 100644 --- a/site/source/components/Simulation/index.tsx +++ b/site/source/components/Simulation/index.tsx @@ -9,7 +9,7 @@ import { styled } from 'styled-components' import { ConversationProps } from '@/components/conversation/Conversation' import ShareOrSaveSimulationBanner from '@/components/ShareSimulationBanner' import { PopoverWithTrigger } from '@/design-system' -import { Container, Grid, Spacing } from '@/design-system/layout' +import { Grid, Spacing } from '@/design-system/layout' import { Link } from '@/design-system/typography/link' import { companySituationSelector, @@ -129,17 +129,13 @@ export default function Simulation({ {firstStepCompleted && !hideDetails && shouldShowFeedback && ( - theme.colors.bases.primary[700]} - forceTheme="dark" +
- +
)} {firstStepCompleted && !hideDetails && explanations}