chore: supprime BadNews
parent
1495bd3006
commit
f55129bbd5
|
@ -82,16 +82,7 @@ const Router = () => {
|
|||
|
||||
return (
|
||||
<Routes>
|
||||
<Route
|
||||
path="/iframes/*"
|
||||
element={
|
||||
<>
|
||||
{/* Spacing added for BadNews */}
|
||||
<Spacing xs />
|
||||
<Iframes />
|
||||
</>
|
||||
}
|
||||
/>
|
||||
<Route path="/iframes/*" element={<Iframes />} />
|
||||
<Route path="*" element={<App />} />
|
||||
</Routes>
|
||||
)
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
import { Trans } from 'react-i18next'
|
||||
import { styled } from 'styled-components'
|
||||
|
||||
import missedChance from '@/assets/images/missed_chance.svg'
|
||||
import { Message, PopoverWithTrigger } from '@/design-system'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { Strong } from '@/design-system/typography'
|
||||
import { Link } from '@/design-system/typography/link'
|
||||
import { Body } from '@/design-system/typography/paragraphs'
|
||||
|
||||
export function BadNews() {
|
||||
return (
|
||||
<div>
|
||||
<Message
|
||||
className="print-hidden"
|
||||
type="error"
|
||||
mini
|
||||
border={false}
|
||||
style={{ textAlign: 'center' }}
|
||||
>
|
||||
<Body>
|
||||
<Emoji emoji="💔" />
|
||||
|
||||
<Trans i18nKey="badnews.body">
|
||||
<strong>Annonce :</strong> La mise à jour des simulateurs et le
|
||||
support utilisateur ne sont plus assurés.{' '}
|
||||
<PopoverWithTrigger
|
||||
small
|
||||
title={'Interruption du service'}
|
||||
trigger={(props) => (
|
||||
<Link {...props}>
|
||||
<Trans>En savoir plus.</Trans>
|
||||
</Link>
|
||||
)}
|
||||
>
|
||||
<Body>
|
||||
L'équipe qui opérait les simulateurs et les assistants de
|
||||
mon-entreprise.urssaf.fr n'est plus en mesure de continuer à
|
||||
développer le site.
|
||||
</Body>
|
||||
<Body>
|
||||
Cette situation est <Strong>temporaire</Strong>, et devrait{' '}
|
||||
<Strong>revenir à la normale</Strong> dans les prochains mois.
|
||||
Veuillez nous excuser pour la gêne occasionnée.
|
||||
</Body>
|
||||
<StyledImg src={missedChance} aria-hidden alt="" />
|
||||
</PopoverWithTrigger>
|
||||
</Trans>
|
||||
</Body>
|
||||
</Message>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
const StyledImg = styled.img`
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
`
|
|
@ -79,7 +79,6 @@ export default function Header() {
|
|||
|
||||
<Menu />
|
||||
</StyledHeader>
|
||||
{/* <BadNews /> */}
|
||||
|
||||
<BrowserOnly>
|
||||
{i18n.language === 'fr' && (
|
||||
|
|
|
@ -15,9 +15,6 @@ export default function IframeFooter() {
|
|||
}}
|
||||
>
|
||||
<Spacing md />
|
||||
{/* <div style={{ display: 'flex', justifyContent: 'center' }}>
|
||||
<BadNews />
|
||||
</div> */}
|
||||
<FeedbackButton isEmbedded />
|
||||
<Spacing md />
|
||||
<Privacy noUnderline={false} />
|
||||
|
|
Loading…
Reference in New Issue