diff --git a/site/source/Provider.tsx b/site/source/Provider.tsx index cc686c8b2..1c20b47a9 100644 --- a/site/source/Provider.tsx +++ b/site/source/Provider.tsx @@ -7,6 +7,7 @@ import { I18nextProvider, useTranslation } from 'react-i18next' import { Provider as ReduxProvider } from 'react-redux' import { BrowserRouter } from 'react-router-dom' +import logo from '@/assets/images/logo-monentreprise.svg' import { DisableAnimationOnPrintProvider } from '@/components/utils/DisableAnimationContext' import { ThemeColorsProvider } from '@/components/utils/colors' import { GlobalStyle } from '@/design-system/global-style' @@ -16,7 +17,6 @@ import { H1, H4 } from '@/design-system/typography/heading' import { Link } from '@/design-system/typography/link' import { Body, Intro } from '@/design-system/typography/paragraphs' import { useIframeResizer } from '@/hooks/useIframeResizer' -import logo from '@/images/logo-monentreprise.svg' import { ServiceWorker } from './ServiceWorker' import { TrackingContext } from './components/ATInternetTracking' diff --git a/site/source/images/Urssaf.svg b/site/source/assets/images/Urssaf.svg similarity index 100% rename from site/source/images/Urssaf.svg rename to site/source/assets/images/Urssaf.svg diff --git a/site/source/images/assurance-maladie.svg b/site/source/assets/images/assurance-maladie.svg similarity index 100% rename from site/source/images/assurance-maladie.svg rename to site/source/assets/images/assurance-maladie.svg diff --git a/site/source/images/banner-share.png b/site/source/assets/images/banner-share.png similarity index 100% rename from site/source/images/banner-share.png rename to site/source/assets/images/banner-share.png diff --git a/site/source/images/banner-share.svg b/site/source/assets/images/banner-share.svg similarity index 100% rename from site/source/images/banner-share.svg rename to site/source/assets/images/banner-share.svg diff --git a/site/source/images/company.svg b/site/source/assets/images/company.svg similarity index 100% rename from site/source/images/company.svg rename to site/source/assets/images/company.svg diff --git a/site/source/images/destinataires/Urssaf.png b/site/source/assets/images/destinataires/Urssaf.png similarity index 100% rename from site/source/images/destinataires/Urssaf.png rename to site/source/assets/images/destinataires/Urssaf.png diff --git a/site/source/images/destinataires/Urssaf.svg b/site/source/assets/images/destinataires/Urssaf.svg similarity index 100% rename from site/source/images/destinataires/Urssaf.svg rename to site/source/assets/images/destinataires/Urssaf.svg diff --git a/site/source/images/destinataires/agirc.png b/site/source/assets/images/destinataires/agirc.png similarity index 100% rename from site/source/images/destinataires/agirc.png rename to site/source/assets/images/destinataires/agirc.png diff --git a/site/source/images/destinataires/cnav.png b/site/source/assets/images/destinataires/cnav.png similarity index 100% rename from site/source/images/destinataires/cnav.png rename to site/source/assets/images/destinataires/cnav.png diff --git a/site/source/images/destinataires/destinataires.yaml b/site/source/assets/images/destinataires/destinataires.yaml similarity index 100% rename from site/source/images/destinataires/destinataires.yaml rename to site/source/assets/images/destinataires/destinataires.yaml diff --git a/site/source/images/destinataires/salarié.png b/site/source/assets/images/destinataires/salarié.png similarity index 100% rename from site/source/images/destinataires/salarié.png rename to site/source/assets/images/destinataires/salarié.png diff --git a/site/source/images/donner-votre-avis-services-publics.svg b/site/source/assets/images/donner-votre-avis-services-publics.svg similarity index 100% rename from site/source/images/donner-votre-avis-services-publics.svg rename to site/source/assets/images/donner-votre-avis-services-publics.svg diff --git a/site/source/images/estimate.svg b/site/source/assets/images/estimate.svg similarity index 100% rename from site/source/images/estimate.svg rename to site/source/assets/images/estimate.svg diff --git a/site/source/images/hiring.svg b/site/source/assets/images/hiring.svg similarity index 100% rename from site/source/images/hiring.svg rename to site/source/assets/images/hiring.svg diff --git a/site/source/images/logo-backup.svg b/site/source/assets/images/logo-backup.svg similarity index 100% rename from site/source/images/logo-backup.svg rename to site/source/assets/images/logo-backup.svg diff --git a/site/source/images/logo-dgfip.svg b/site/source/assets/images/logo-dgfip.svg similarity index 100% rename from site/source/images/logo-dgfip.svg rename to site/source/assets/images/logo-dgfip.svg diff --git a/site/source/images/logo-monentreprise.svg b/site/source/assets/images/logo-monentreprise.svg similarity index 100% rename from site/source/images/logo-monentreprise.svg rename to site/source/assets/images/logo-monentreprise.svg diff --git a/site/source/images/logo-monentreprise_white.svg b/site/source/assets/images/logo-monentreprise_white.svg similarity index 100% rename from site/source/images/logo-monentreprise_white.svg rename to site/source/assets/images/logo-monentreprise_white.svg diff --git a/site/source/images/logo-mycompany.svg b/site/source/assets/images/logo-mycompany.svg similarity index 100% rename from site/source/images/logo-mycompany.svg rename to site/source/assets/images/logo-mycompany.svg diff --git a/site/source/images/logo-mycompany_white.svg b/site/source/assets/images/logo-mycompany_white.svg similarity index 100% rename from site/source/images/logo-mycompany_white.svg rename to site/source/assets/images/logo-mycompany_white.svg diff --git a/site/source/images/logo.svg b/site/source/assets/images/logo.svg similarity index 100% rename from site/source/images/logo.svg rename to site/source/assets/images/logo.svg diff --git a/site/source/images/logos-caisses-retraite/carcdsf.jpg b/site/source/assets/images/logos-caisses-retraite/carcdsf.jpg similarity index 100% rename from site/source/images/logos-caisses-retraite/carcdsf.jpg rename to site/source/assets/images/logos-caisses-retraite/carcdsf.jpg diff --git a/site/source/images/logos-caisses-retraite/carmf.png b/site/source/assets/images/logos-caisses-retraite/carmf.png similarity index 100% rename from site/source/images/logos-caisses-retraite/carmf.png rename to site/source/assets/images/logos-caisses-retraite/carmf.png diff --git a/site/source/images/logos-caisses-retraite/carpimko.png b/site/source/assets/images/logos-caisses-retraite/carpimko.png similarity index 100% rename from site/source/images/logos-caisses-retraite/carpimko.png rename to site/source/assets/images/logos-caisses-retraite/carpimko.png diff --git a/site/source/images/logos-caisses-retraite/cavec.jpg b/site/source/assets/images/logos-caisses-retraite/cavec.jpg similarity index 100% rename from site/source/images/logos-caisses-retraite/cavec.jpg rename to site/source/assets/images/logos-caisses-retraite/cavec.jpg diff --git a/site/source/images/logos-caisses-retraite/cavp.svg b/site/source/assets/images/logos-caisses-retraite/cavp.svg similarity index 100% rename from site/source/images/logos-caisses-retraite/cavp.svg rename to site/source/assets/images/logos-caisses-retraite/cavp.svg diff --git a/site/source/images/logos-caisses-retraite/cipav.png b/site/source/assets/images/logos-caisses-retraite/cipav.png similarity index 100% rename from site/source/images/logos-caisses-retraite/cipav.png rename to site/source/assets/images/logos-caisses-retraite/cipav.png diff --git a/site/source/images/logos-caisses-retraite/cnbf.png b/site/source/assets/images/logos-caisses-retraite/cnbf.png similarity index 100% rename from site/source/images/logos-caisses-retraite/cnbf.png rename to site/source/assets/images/logos-caisses-retraite/cnbf.png diff --git a/site/source/images/logos-caisses-retraite/ircec.jpg b/site/source/assets/images/logos-caisses-retraite/ircec.jpg similarity index 100% rename from site/source/images/logos-caisses-retraite/ircec.jpg rename to site/source/assets/images/logos-caisses-retraite/ircec.jpg diff --git a/site/source/images/marianne.svg b/site/source/assets/images/marianne.svg similarity index 100% rename from site/source/images/marianne.svg rename to site/source/assets/images/marianne.svg diff --git a/site/source/images/mycompany-logo-partage.png b/site/source/assets/images/mycompany-logo-partage.png similarity index 100% rename from site/source/images/mycompany-logo-partage.png rename to site/source/assets/images/mycompany-logo-partage.png diff --git a/site/source/images/publicodes.png b/site/source/assets/images/publicodes.png similarity index 100% rename from site/source/images/publicodes.png rename to site/source/assets/images/publicodes.png diff --git a/site/source/images/revenus.svg b/site/source/assets/images/revenus.svg similarity index 100% rename from site/source/images/revenus.svg rename to site/source/assets/images/revenus.svg diff --git a/site/source/images/road-sign.svg b/site/source/assets/images/road-sign.svg similarity index 100% rename from site/source/images/road-sign.svg rename to site/source/assets/images/road-sign.svg diff --git a/site/source/components/JeDonneMonAvis.tsx b/site/source/components/JeDonneMonAvis.tsx index 92fe67001..bc01d0fad 100644 --- a/site/source/components/JeDonneMonAvis.tsx +++ b/site/source/components/JeDonneMonAvis.tsx @@ -1,7 +1,7 @@ import { useTranslation } from 'react-i18next' +import donnerVotreAvisSvg from '@/assets/images/donner-votre-avis-services-publics.svg' import { Link } from '@/design-system/typography/link' -import donnerVotreAvisSvg from '@/images/donner-votre-avis-services-publics.svg' export const JeDonneMonAvis = ({ light }: { light?: boolean }) => { const { t } = useTranslation() diff --git a/site/source/components/Logo.tsx b/site/source/components/Logo.tsx index 81f0a2c20..06de8af1b 100644 --- a/site/source/components/Logo.tsx +++ b/site/source/components/Logo.tsx @@ -1,11 +1,11 @@ import { useTranslation } from 'react-i18next' import styled from 'styled-components' +import logoSvgFR from '@/assets/images/logo-monentreprise.svg' +import logoSvgFRDark from '@/assets/images/logo-monentreprise_white.svg' +import logoSvgEN from '@/assets/images/logo-mycompany.svg' +import logoSvgENDark from '@/assets/images/logo-mycompany_white.svg' import { useDarkMode } from '@/hooks/useDarkMode' -import logoSvgFR from '@/images/logo-monentreprise.svg' -import logoSvgFRDark from '@/images/logo-monentreprise_white.svg' -import logoSvgEN from '@/images/logo-mycompany.svg' -import logoSvgENDark from '@/images/logo-mycompany_white.svg' /* Figma source: https://www.figma.com/file/YJUpRNO12lcPUDsEYEXzT9/logo-monentreprisee-urssaf-edition */ diff --git a/site/source/components/Route404.tsx b/site/source/components/Route404.tsx index a46c59853..7077e60fd 100644 --- a/site/source/components/Route404.tsx +++ b/site/source/components/Route404.tsx @@ -1,9 +1,9 @@ import { Trans } from 'react-i18next' +import image from '@/assets/images/road-sign.svg' import PageHeader from '@/components/PageHeader' import { Button } from '@/design-system/buttons' import { Container } from '@/design-system/layout' -import image from '@/images/road-sign.svg' export default function Route404() { return ( diff --git a/site/source/components/SchemeComparaison.tsx b/site/source/components/SchemeComparaison.tsx index 70be2091c..704439dab 100644 --- a/site/source/components/SchemeComparaison.tsx +++ b/site/source/components/SchemeComparaison.tsx @@ -7,6 +7,7 @@ import { isAutoentrepreneur, useDispatchAndGoToNextQuestion, } from '@/actions/companyStatusActions' +import revenusSVG from '@/assets/images/revenus.svg' import { Message } from '@/design-system' import AnswerGroup from '@/design-system/answer-group' import { Button } from '@/design-system/buttons' @@ -14,7 +15,6 @@ import { Emoji } from '@/design-system/emoji' import { Grid, Spacing } from '@/design-system/layout' import { H2, H3 } from '@/design-system/typography/heading' import { Intro } from '@/design-system/typography/paragraphs' -import revenusSVG from '@/images/revenus.svg' import { useSitePaths } from '@/sitePaths' type SchemeComparaisonProps = { diff --git a/site/source/components/layout/Footer/Contact.tsx b/site/source/components/layout/Footer/Contact.tsx index ad41c6e33..415092fc8 100644 --- a/site/source/components/layout/Footer/Contact.tsx +++ b/site/source/components/layout/Footer/Contact.tsx @@ -1,4 +1,4 @@ -import ContactImage from '@/images/contact.png' +import ContactImage from '@/assets/images/contact.png' const Contact = () => (