Move images into assets directory

pull/2529/head
Jérémy Rialland 2023-02-23 16:19:45 +01:00 committed by Johan Girod
parent bbe706db47
commit 4c45dd183d
46 changed files with 25 additions and 24 deletions

View File

@ -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'

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 903 B

After

Width:  |  Height:  |  Size: 903 B

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -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()

View File

@ -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 */

View File

@ -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 (

View File

@ -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 = {

View File

@ -1,4 +1,4 @@
import ContactImage from '@/images/contact.png'
import ContactImage from '@/assets/images/contact.png'
const Contact = () => (
<div className="centeredMessage">

View File

@ -3,6 +3,9 @@ import { Trans } from 'react-i18next'
import { useSelector } from 'react-redux'
import styled from 'styled-components'
import urssafSrc from '@/assets/images/Urssaf.svg'
import assuranceMaladieSrc from '@/assets/images/assurance-maladie.svg'
import dgfipSrc from '@/assets/images/logo-dgfip.svg'
import Value, {
Condition,
WhenApplicable,
@ -16,12 +19,10 @@ import { Emoji } from '@/design-system/emoji'
import { Grid } from '@/design-system/layout'
import { H2, H3 } from '@/design-system/typography/heading'
import { Body, SmallBody } from '@/design-system/typography/paragraphs'
import urssafSrc from '@/images/Urssaf.svg'
import assuranceMaladieSrc from '@/images/assurance-maladie.svg'
import dgfipSrc from '@/images/logo-dgfip.svg'
import * as logosSrc from '@/images/logos-caisses-retraite'
import { targetUnitSelector } from '@/selectors/simulationSelectors'
import * as logosSrc from './logos'
export default function InstitutionsPartenaires() {
const unit = useSelector(targetUnitSelector)

View File

@ -0,0 +1,8 @@
export { default as CIPAV } from '@/assets/images/logos-caisses-retraite/cipav.png'
export { default as CARPIMKO } from '@/assets/images/logos-caisses-retraite/carpimko.png'
export { default as CARMF } from '@/assets/images/logos-caisses-retraite/carmf.png'
export { default as CARCDSF } from '@/assets/images/logos-caisses-retraite/carcdsf.jpg'
export { default as CNBF } from '@/assets/images/logos-caisses-retraite/cnbf.png'
export { default as CAVEC } from '@/assets/images/logos-caisses-retraite/cavec.jpg'
export { default as IRCEC } from '@/assets/images/logos-caisses-retraite/ircec.jpg'
export { default as CAVP } from '@/assets/images/logos-caisses-retraite/cavp.svg'

View File

@ -1,8 +0,0 @@
export { default as CIPAV } from './cipav.png'
export { default as CARPIMKO } from './carpimko.png'
export { default as CARMF } from './carmf.png'
export { default as CARCDSF } from './carcdsf.jpg'
export { default as CNBF } from './cnbf.png'
export { default as CAVEC } from './cavec.jpg'
export { default as IRCEC } from './ircec.jpg'
export { default as CAVP } from './cavp.svg'

View File

@ -1,7 +1,7 @@
import PDFElement from '@react-pdf/renderer'
import { RuleNode } from 'publicodes'
import urssafPng from '@/images/destinataires/Urssaf.png'
import urssafPng from '@/assets/images/destinataires/Urssaf.png'
import FieldsPDF, { styles as fieldStyles } from './FieldsPDF'
import montserratUrl from './Montserrat-SemiBold.ttf'

View File

@ -5,6 +5,7 @@ import { Trans, useTranslation } from 'react-i18next'
import { useHref, useSearchParams } from 'react-router-dom'
import styled from 'styled-components'
import urssafLogo from '@/assets/images/Urssaf.svg'
import { TrackPage } from '@/components/ATInternetTracking'
import { PopoverWithTrigger, TextField } from '@/design-system'
import { Article } from '@/design-system/card'
@ -15,7 +16,6 @@ import { H1, H2, H3 } from '@/design-system/typography/heading'
import { Link } from '@/design-system/typography/link'
import { Body, Intro } from '@/design-system/typography/paragraphs'
import useSimulatorsData, { SimulatorData } from '@/hooks/useSimulatorsData'
import urssafLogo from '@/images/Urssaf.svg'
import Meta from '../../components/utils/Meta'

View File

@ -78,7 +78,7 @@ export default defineConfig(({ command, mode }) => ({
"mon-entreprise.urssaf.fr : L'assistant officiel du créateur d'entreprise",
description:
'Du statut juridique à la première embauche, en passant par la simulation des cotisations, vous trouverez ici toutes les ressources pour démarrer votre activité.',
shareImage: '/source/images/logo-monentreprise.svg',
shareImage: '/source/assets/images/logo-monentreprise.svg',
shareImageAlt: 'Logo mon-entreprise, site Urssaf',
},
infrance: {