Move ATInternetTracking into components

pull/2529/head
Jérémy Rialland 2023-02-23 15:32:05 +01:00 committed by Johan Girod
parent 693ce13bb2
commit 25e66ee8f2
52 changed files with 49 additions and 58 deletions

View File

@ -2,6 +2,6 @@ dist
.dist
storybook-static
site/source/locales/*.yaml
site/source/ATInternetTracking/smarttag.js
site/source/components/ATInternetTracking/smarttag.js
*.yaml.d.ts
.yarnrc.yml

View File

@ -18,10 +18,9 @@ import { Body, Intro } from '@/design-system/typography/paragraphs'
import { useIframeResizer } from '@/hooks/useIframeResizer'
import logo from '@/images/logo-monentreprise.svg'
// ATInternet Tracking
import { TrackingContext } from './ATInternetTracking'
import { createTracker } from './ATInternetTracking/Tracker'
import { ServiceWorker } from './ServiceWorker'
import { TrackingContext } from './components/ATInternetTracking'
import { createTracker } from './components/ATInternetTracking/Tracker'
import { DarkModeProvider } from './contexts/DarkModeContext'
import { Message } from './design-system'
import * as safeLocalStorage from './storage/safeLocalStorage'

View File

@ -3,7 +3,7 @@ import { Trans, useTranslation } from 'react-i18next'
import { useLocation } from 'react-router-dom'
import styled from 'styled-components'
import { TrackingContext } from '@/ATInternetTracking'
import { TrackingContext } from '@/components/ATInternetTracking'
import { Popover } from '@/design-system'
import { Button } from '@/design-system/buttons'
import { Emoji } from '@/design-system/emoji'

View File

@ -15,8 +15,8 @@ import { Intro } from '@/design-system/typography/paragraphs'
import { useCurrentSimulatorData } from '@/hooks/useCurrentSimulatorData'
import { situationSelector } from '@/selectors/simulationSelectors'
import { TrackChapter } from '../ATInternetTracking'
import { NextSteps } from '../pages/Simulateurs/NextSteps'
import { TrackChapter } from './ATInternetTracking'
import BetaBanner from './BetaBanner'
export default function PageData() {

View File

@ -8,7 +8,7 @@ import { Strong } from '@/design-system/typography'
import { H3 } from '@/design-system/typography/heading'
import { Body, Intro, SmallBody } from '@/design-system/typography/paragraphs'
import { TrackingContext } from '../../ATInternetTracking'
import { TrackingContext } from '../ATInternetTracking'
export function ShareSimulationPopup({ url }: { url: string }) {
const inputRef = useRef<HTMLInputElement>(null)

View File

@ -13,7 +13,7 @@ import {
situationSelector,
} from '@/selectors/simulationSelectors'
import { TrackingContext } from '../../ATInternetTracking'
import { TrackingContext } from '../ATInternetTracking'
import { PlaceDesEntreprisesButton } from '../PlaceDesEntreprises'
import { useParamsFromSituation } from '../utils/useSearchParamsSimulationSharing'
import { ShareSimulationPopup } from './ShareSimulationPopup'

View File

@ -15,7 +15,7 @@ import {
firstStepCompletedSelector,
} from '@/selectors/simulationSelectors'
import { TrackPage } from '../../ATInternetTracking'
import { TrackPage } from '../ATInternetTracking'
import Banner from '../Banner'
import AnswerList from '../conversation/AnswerList'
import PrintExportRecover from '../simulationExplanation/PrintExportRecover'

View File

@ -21,7 +21,7 @@ import {
} from '@/selectors/simulationSelectors'
import { evaluateQuestion } from '@/utils'
import { TrackPage } from '../../ATInternetTracking'
import { TrackPage } from '../ATInternetTracking'
import { JeDonneMonAvis } from '../JeDonneMonAvis'
import { FromTop } from '../ui/animate'
import AnswerList from './AnswerList'

View File

@ -6,8 +6,8 @@ import { Checkbox } from '@/design-system/field'
import { Link } from '@/design-system/typography/link'
import { Body, SmallBody } from '@/design-system/typography/paragraphs'
import { TrackPage, TrackingContext } from '../../../ATInternetTracking'
import * as safeLocalStorage from '../../../storage/safeLocalStorage'
import { TrackPage, TrackingContext } from '../../ATInternetTracking'
export default function Privacy({
label,

View File

@ -5,7 +5,7 @@ import { Link } from '@/design-system/typography/link'
import { Li, Ul } from '@/design-system/typography/list'
import { Body, SmallBody } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../ATInternetTracking'
import { TrackPage } from '../components/ATInternetTracking'
import Meta from '../components/utils/Meta'
export default function Accessibilité() {

View File

@ -3,6 +3,7 @@ import { useState } from 'react'
import { useTranslation } from 'react-i18next'
import styled from 'styled-components'
import { TrackPage } from '@/components/ATInternetTracking'
import MoreInfosOnUs from '@/components/MoreInfosOnUs'
import { ScrollToTop } from '@/components/utils/Scroll'
import { Markdown } from '@/components/utils/markdown'
@ -12,7 +13,6 @@ import { Grid } from '@/design-system/layout'
import { H1, H2 } from '@/design-system/typography/heading'
import { Body } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../ATInternetTracking'
import Meta from '../../components/utils/Meta'
import prose from './budget.md?raw'
import budget from './budget.yaml'

View File

@ -1,6 +1,7 @@
import { Trans, useTranslation } from 'react-i18next'
import { useSelector } from 'react-redux'
import { TrackPage } from '@/components/ATInternetTracking'
import { FromBottom } from '@/components/ui/animate'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import { ScrollToTop } from '@/components/utils/Scroll'
@ -10,7 +11,6 @@ import { Body } from '@/design-system/typography/paragraphs'
import { RootState } from '@/reducers/rootReducer'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../ATInternetTracking'
import siret from './siret.jpg'
export default function AfterRegistration() {

View File

@ -6,6 +6,7 @@ import {
initializeCompanyCreationChecklist,
} from '@/actions/companyCreationChecklistActions'
import { resetCompanyStatusChoice } from '@/actions/companyStatusActions'
import { TrackPage } from '@/components/ATInternetTracking'
import { CheckItem, Checklist } from '@/components/ui/Checklist'
import { FromBottom } from '@/components/ui/animate'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
@ -22,7 +23,6 @@ import { RootState } from '@/reducers/rootReducer'
import { LegalStatus } from '@/selectors/companyStatusSelectors'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../ATInternetTracking'
import StatutDescription from './StatutDescription'
type CreateCompanyProps = {

View File

@ -1,13 +1,12 @@
import { Trans, useTranslation } from 'react-i18next'
import { TrackPage } from '@/components/ATInternetTracking'
import SchemeComparaison from '@/components/SchemeComparaison'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import { H2 } from '@/design-system/typography/heading'
import { Link } from '@/design-system/typography/link'
import { Body } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../../ATInternetTracking'
export default function Autoentrepreneur() {
const { t } = useTranslation()

View File

@ -1,12 +1,11 @@
import { Trans, useTranslation } from 'react-i18next'
import { TrackPage } from '@/components/ATInternetTracking'
import SchemeComparaison from '@/components/SchemeComparaison'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import { H2 } from '@/design-system/typography/heading'
import { Body } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../../ATInternetTracking'
export default function DefineDirectorStatus() {
const { t } = useTranslation()

View File

@ -4,6 +4,7 @@ import {
directorIsInAMinority,
useDispatchAndGoToNextQuestion,
} from '@/actions/companyStatusActions'
import { TrackPage } from '@/components/ATInternetTracking'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import AnswerGroup from '@/design-system/answer-group'
import { Button } from '@/design-system/buttons'
@ -11,8 +12,6 @@ import { H2 } from '@/design-system/typography/heading'
import { Li, Ul } from '@/design-system/typography/list'
import { Body } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../../ATInternetTracking'
export default function MinorityDirector() {
const { t } = useTranslation()
const dispatch = useDispatchAndGoToNextQuestion()

View File

@ -4,14 +4,13 @@ import {
companyHasMultipleAssociates,
useDispatchAndGoToNextQuestion,
} from '@/actions/companyStatusActions'
import { TrackPage } from '@/components/ATInternetTracking'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import AnswerGroup from '@/design-system/answer-group'
import { Button } from '@/design-system/buttons'
import { H2 } from '@/design-system/typography/heading'
import { Body, SmallBody } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../../ATInternetTracking'
export default function NumberOfAssociates() {
const dispatch = useDispatchAndGoToNextQuestion()
const { t } = useTranslation()

View File

@ -2,6 +2,7 @@ import { Fragment } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { useSelector } from 'react-redux'
import { TrackPage } from '@/components/ATInternetTracking'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import { Button } from '@/design-system/buttons'
import { H2, H3 } from '@/design-system/typography/heading'
@ -12,7 +13,6 @@ import {
} from '@/selectors/companyStatusSelectors'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../../ATInternetTracking'
import StatutDescription from '../StatutDescription'
type StatutButtonProps = {

View File

@ -4,6 +4,7 @@ import {
isSoleProprietorship,
useDispatchAndGoToNextQuestion,
} from '@/actions/companyStatusActions'
import { TrackPage } from '@/components/ATInternetTracking'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import AnswerGroup from '@/design-system/answer-group'
import { Button } from '@/design-system/buttons'
@ -11,8 +12,6 @@ import { H2 } from '@/design-system/typography/heading'
import { Li, Ul } from '@/design-system/typography/list'
import { Body } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../../ATInternetTracking'
export default function SoleProprietorship() {
const dispatch = useDispatchAndGoToNextQuestion()
const { t } = useTranslation()

View File

@ -4,13 +4,13 @@ import { useDispatch, useSelector } from 'react-redux'
import { Navigate, Route, Routes, useLocation } from 'react-router-dom'
import { resetCompanyStatusChoice } from '@/actions/companyStatusActions'
import { TrackChapter } from '@/components/ATInternetTracking'
import { FromBottom } from '@/components/ui/animate'
import { H1 } from '@/design-system/typography/heading'
import { Link } from '@/design-system/typography/link'
import { RootState } from '@/reducers/rootReducer'
import { useSitePaths } from '@/sitePaths'
import { TrackChapter } from '../../../ATInternetTracking'
import AutoEntrepreneur from './AutoEntrepreneur'
import DirectorStatus from './DirectorStatus'
import MinorityDirector from './MinorityDirector'

View File

@ -1,6 +1,7 @@
import { Trans, useTranslation } from 'react-i18next'
import { useSelector } from 'react-redux'
import { TrackPage } from '@/components/ATInternetTracking'
import PageHeader from '@/components/PageHeader'
import { FromBottom } from '@/components/ui/animate'
import Meta from '@/components/utils/Meta'
@ -14,7 +15,6 @@ import { RootState } from '@/reducers/rootReducer'
import { useNextQuestionUrl } from '@/selectors/companyStatusSelectors'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../../ATInternetTracking'
import { SimulateurCard } from '../../Simulateurs/Home'
import créerSvg from './créer.svg'

View File

@ -1,8 +1,8 @@
import { Route, Routes, useLocation } from 'react-router-dom'
import { TrackChapter } from '@/components/ATInternetTracking'
import { ScrollToTop } from '@/components/utils/Scroll'
import { TrackChapter } from '../../ATInternetTracking'
import { LANDING_LEGAL_STATUS_LIST, useSitePaths } from '../../sitePaths'
import AfterRegistration from './AfterRegistration'
import CreationChecklist from './CreationChecklist'

View File

@ -31,7 +31,7 @@ import { Body } from '@/design-system/typography/paragraphs'
import { RootState } from '@/reducers/rootReducer'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../ATInternetTracking'
import { TrackPage } from '../components/ATInternetTracking'
import RuleLink from '../components/RuleLink'
export default function Documentation({

View File

@ -1,6 +1,7 @@
import { Trans, useTranslation } from 'react-i18next'
import styled from 'styled-components'
import { TrackPage } from '@/components/ATInternetTracking'
import PageHeader from '@/components/PageHeader'
import Footer from '@/components/layout/Footer/Footer'
import Header from '@/components/layout/Header'
@ -14,7 +15,6 @@ import { useGetFullURL } from '@/hooks/useGetFullURL'
import useSimulatorsData from '@/hooks/useSimulatorsData'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../ATInternetTracking'
import { SimulateurCard } from '../Simulateurs/Home'
import SearchOrCreate from './SearchOrCreate'
import illustration2Svg from './illustration2.svg'

View File

@ -3,6 +3,7 @@ import { useTranslation } from 'react-i18next'
import { Navigate, useMatch, useNavigate } from 'react-router-dom'
import styled from 'styled-components'
import { TrackPage } from '@/components/ATInternetTracking'
import MoreInfosOnUs from '@/components/MoreInfosOnUs'
import { determinant, useHideNewsBanner } from '@/components/layout/NewsBanner'
import Meta from '@/components/utils/Meta'
@ -20,8 +21,6 @@ import { Body } from '@/design-system/typography/paragraphs'
import { useFetchData } from '@/hooks/useFetchData'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../ATInternetTracking'
const slugify = (name: string) => name.toLowerCase().replace(' ', '-')
type Releases = typeof import('@/public/data/releases.json')

View File

@ -7,7 +7,7 @@ import { Li, Ul } from '@/design-system/typography/list'
import useSimulatorsData from '@/hooks/useSimulatorsData'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../ATInternetTracking'
import { TrackPage } from '../components/ATInternetTracking'
import Meta from '../components/utils/Meta'
export default function Plan() {

View File

@ -1,5 +1,6 @@
import { Trans, useTranslation } from 'react-i18next'
import { TrackPage } from '@/components/ATInternetTracking'
import PageHeader from '@/components/PageHeader'
import { useIsEmbedded } from '@/components/utils/useIsEmbedded'
import { Chip } from '@/design-system'
@ -17,7 +18,6 @@ import { MergedSimulatorDataValues } from '@/hooks/useCurrentSimulatorData'
import useSimulatorsData from '@/hooks/useSimulatorsData'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../ATInternetTracking'
import Meta from '../../components/utils/Meta'
import simulatorSvg from './images/illustration-simulateur.svg'

View File

@ -8,7 +8,7 @@ import {
useSearchParams,
} from 'react-router-dom'
import { TrackPage } from '@/ATInternetTracking'
import { TrackPage } from '@/components/ATInternetTracking'
import { ExplicableRule } from '@/components/conversation/Explicable'
import RuleInput from '@/components/conversation/RuleInput'
import {

View File

@ -3,6 +3,7 @@ import { useDispatch, useSelector } from 'react-redux'
import styled from 'styled-components'
import { updateSituation } from '@/actions/actions'
import { TrackPage } from '@/components/ATInternetTracking'
import Value from '@/components/EngineValue'
import Notifications from '@/components/Notifications'
import { SimulationGoal, SimulationGoals } from '@/components/Simulation'
@ -13,8 +14,6 @@ import { H2 } from '@/design-system/typography/heading'
import { Body, Intro } from '@/design-system/typography/paragraphs'
import { situationSelector } from '@/selectors/simulationSelectors'
import { TrackPage } from '../../../ATInternetTracking'
export default function ISSimulation() {
return (
<>

View File

@ -1,7 +1,7 @@
import { TrackPage } from '@/components/ATInternetTracking'
import { H2 } from '@/design-system/typography/heading'
import useSimulatorsData from '@/hooks/useSimulatorsData'
import { TrackPage } from '../../../ATInternetTracking'
import { SimulateurCard } from '../Home'
export default function SalariéSimulation() {

View File

@ -3,7 +3,7 @@ import { useContext } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { Navigate, useParams } from 'react-router-dom'
import { TrackPage } from '@/ATInternetTracking'
import { TrackPage } from '@/components/ATInternetTracking'
import { FromBottom } from '@/components/ui/animate'
import { ScrollToTop } from '@/components/utils/Scroll'
import { Markdown } from '@/components/utils/markdown'

View File

@ -1,6 +1,7 @@
import { useContext } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { TrackPage } from '@/components/ATInternetTracking'
import { FromBottom } from '@/components/ui/animate'
import { ScrollToTop } from '@/components/utils/Scroll'
import { Emoji } from '@/design-system/emoji'
@ -8,7 +9,6 @@ import { Grid, Spacing } from '@/design-system/layout'
import { H1, H2 } from '@/design-system/typography/heading'
import { Body, SmallBody } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../../ATInternetTracking'
import { ActiviteCard } from './ActiviteCard'
import { Activity } from './Activité'
import NextButton from './NextButton'

View File

@ -2,7 +2,7 @@ import { useContext } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { Navigate } from 'react-router-dom'
import { TrackPage } from '@/ATInternetTracking'
import { TrackPage } from '@/components/ATInternetTracking'
import { FromBottom } from '@/components/ui/animate'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import { ScrollToTop } from '@/components/utils/Scroll'

View File

@ -2,7 +2,7 @@ import { Trans } from 'react-i18next'
import { Route, Routes } from 'react-router-dom'
import styled from 'styled-components'
import { TrackChapter } from '@/ATInternetTracking'
import { TrackChapter } from '@/components/ATInternetTracking'
import { useIsEmbedded } from '@/components/utils/useIsEmbedded'
import { Link } from '@/design-system/typography/link'
import useSimulatorsData from '@/hooks/useSimulatorsData'

View File

@ -1,6 +1,7 @@
import { Suspense, lazy } from 'react'
import { useTranslation } from 'react-i18next'
import { TrackPage } from '@/components/ATInternetTracking'
import MoreInfosOnUs from '@/components/MoreInfosOnUs'
import PageHeader from '@/components/PageHeader'
import Privacy from '@/components/layout/Footer/Privacy'
@ -9,7 +10,6 @@ import { ScrollToTop } from '@/components/utils/Scroll'
import { Emoji } from '@/design-system/emoji'
import { Intro } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../ATInternetTracking'
import illustrationSvg from './illustration.svg'
const Stats = lazy(() => import('./Stats'))

View File

@ -5,6 +5,7 @@ import { useSearchParams } from 'react-router-dom'
import { BrushProps } from 'recharts'
import styled from 'styled-components'
import { toAtString } from '@/components/ATInternetTracking'
import PagesChart from '@/components/charts/PagesCharts'
import { useScrollToHash } from '@/components/utils/markdown'
import { Message } from '@/design-system'
@ -18,7 +19,6 @@ import { Body, Intro } from '@/design-system/typography/paragraphs'
import { useFetchData } from '@/hooks/useFetchData'
import useSimulatorsData, { SimulatorData } from '@/hooks/useSimulatorsData'
import { toAtString } from '../../ATInternetTracking'
import { debounce, groupBy } from '../../utils'
import { SimulateurCard } from '../Simulateurs/Home'
import Chart, { Data, isDataStacked } from './Chart'
@ -145,7 +145,6 @@ function groupByDate(data: Pageish[]) {
.sort((a, b) => b[1] - a[1])
.slice(0, 8)
.map(([page]) => page)
console.log(topPagesOfAllTime)
return topTenPageByMonth.map(({ date, nombre }) => ({
date,

View File

@ -6,6 +6,7 @@ import { useDispatch, useSelector } from 'react-redux'
import styled from 'styled-components'
import { updateSituation } from '@/actions/actions'
import { TrackPage } from '@/components/ATInternetTracking'
import { Condition, WhenAlreadyDefined } from '@/components/EngineValue'
import PageHeader from '@/components/PageHeader'
import RuleInput from '@/components/conversation/RuleInput'
@ -22,7 +23,6 @@ import { SimulationConfig } from '@/reducers/rootReducer'
import { situationSelector } from '@/selectors/simulationSelectors'
import { useSitePaths } from '@/sitePaths'
import { TrackPage } from '../../../ATInternetTracking'
import { SimpleField, SubSection } from '../components/Fields'
import { ExplicationsResultatFiscal } from './components/ExplicationResultatFiscal'
import ResultatsSimples from './components/RésultatSimple'

View File

@ -5,8 +5,8 @@ import { useTranslation } from 'react-i18next'
import { useDispatch } from 'react-redux'
import styled, { css } from 'styled-components'
import { TrackPage } from '@/ATInternetTracking'
import { updateSituation } from '@/actions/actions'
import { TrackPage } from '@/components/ATInternetTracking'
import Value, { Condition } from '@/components/EngineValue'
import ShareOrSaveSimulationBanner from '@/components/ShareSimulationBanner'
import { ExplicableRule } from '@/components/conversation/Explicable'

View File

@ -4,7 +4,7 @@ import { RuleNode } from 'publicodes'
import { useEffect, useState } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { TrackPage } from '@/ATInternetTracking'
import { TrackPage } from '@/components/ATInternetTracking'
import { Condition } from '@/components/EngineValue'
import { FromTop } from '@/components/ui/animate'
import { useEngine } from '@/components/utils/EngineContext'

View File

@ -2,9 +2,9 @@ import { DottedName } from 'modele-social'
import { Trans } from 'react-i18next'
import { useDispatch } from 'react-redux'
import { TrackPage } from '@/ATInternetTracking'
import { resetSimulation } from '@/actions/actions'
import { resetCompany } from '@/actions/companyActions'
import { TrackPage } from '@/components/ATInternetTracking'
import {
Condition,
WhenAlreadyDefined,

View File

@ -5,8 +5,8 @@ import { useCallback } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { useDispatch } from 'react-redux'
import { TrackPage } from '@/ATInternetTracking'
import { updateSituation } from '@/actions/actions'
import { TrackPage } from '@/components/ATInternetTracking'
import {
Condition,
WhenAlreadyDefined,

View File

@ -4,6 +4,7 @@ import { Suspense, lazy, useContext, useRef, useState } from 'react'
import SignaturePad from 'react-signature-pad-wrapper'
import { ThemeContext } from 'styled-components'
import { TrackPage, TrackingContext } from '@/components/ATInternetTracking'
import { Condition } from '@/components/EngineValue'
import { EngineContext, EngineProvider } from '@/components/utils/EngineContext'
import { Message, PopoverWithTrigger } from '@/design-system'
@ -17,7 +18,6 @@ import { Link } from '@/design-system/typography/link'
import { Li, Ul } from '@/design-system/typography/list'
import { Body, Intro, SmallBody } from '@/design-system/typography/paragraphs'
import { TrackPage, TrackingContext } from '../../../ATInternetTracking'
import PDFDocument from './PDFDocument'
const IS_TOUCH_DEVICE = isOnTouchDevice()

View File

@ -3,6 +3,7 @@ import Engine, { PublicodesExpression } from 'publicodes'
import { Fragment, Suspense, lazy, useCallback, useContext } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { TrackPage } from '@/components/ATInternetTracking'
import { WhenApplicable, WhenNotApplicable } from '@/components/EngineValue'
import RuleInput from '@/components/conversation/RuleInput'
import BrowserOnly from '@/components/utils/BrowserOnly'
@ -25,7 +26,6 @@ import {
omit,
} from '@/utils'
import { TrackPage } from '../../../ATInternetTracking'
import formulaire from './demande-mobilité.yaml'
const LazyEndBlock = import.meta.env.SSR

View File

@ -5,6 +5,7 @@ import {
checkHiringItem,
initializeHiringChecklist,
} from '@/actions/hiringChecklistAction'
import { TrackPage } from '@/components/ATInternetTracking'
import { CheckItem, Checklist, ChecklistProps } from '@/components/ui/Checklist'
import { FromBottom } from '@/components/ui/animate'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
@ -14,7 +15,6 @@ import { Li, Ul } from '@/design-system/typography/list'
import { Body } from '@/design-system/typography/paragraphs'
import { RootState } from '@/reducers/rootReducer'
import { TrackPage } from '../../ATInternetTracking'
import { SimulatorRessourceCard } from '../Simulateurs/cards/SimulatorRessourceCard'
type EmbaucherProps = {

View File

@ -19,6 +19,7 @@ import {
FabriqueSocialEntreprise,
searchDenominationOrSiren,
} from '@/api/fabrique-social'
import { TrackChapter, TrackPage } from '@/components/ATInternetTracking'
import {
Condition,
WhenApplicable,
@ -51,7 +52,6 @@ import { companySituationSelector } from '@/selectors/simulationSelectors'
import { useSitePaths } from '@/sitePaths'
import { evaluateQuestion } from '@/utils'
import { TrackChapter, TrackPage } from '../../ATInternetTracking'
import { SimulateurCard } from '../Simulateurs/Home'
import { AnnuaireEntreprises } from './components/AnnuaireEntreprises'
import { AutoEntrepreneurCard } from './components/AutoEntrepeneurCard'

View File

@ -1,13 +1,13 @@
import { Trans, useTranslation } from 'react-i18next'
import styled from 'styled-components'
import { TrackPage } from '@/components/ATInternetTracking'
import FoldingMessage from '@/components/ui/FoldingMessage'
import { FromBottom } from '@/components/ui/animate'
import DefaultHelmet from '@/components/utils/DefaultHelmet'
import { H1, H2 } from '@/design-system/typography/heading'
import { Body } from '@/design-system/typography/paragraphs'
import { TrackPage } from '../../ATInternetTracking'
import Video from './components/Video'
export default function SocialSecurity() {

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 { TrackPage } from '@/components/ATInternetTracking'
import { PopoverWithTrigger, TextField } from '@/design-system'
import { Article } from '@/design-system/card'
import { Emoji } from '@/design-system/emoji'
@ -16,7 +17,6 @@ import { Body, Intro } from '@/design-system/typography/paragraphs'
import useSimulatorsData, { SimulatorData } from '@/hooks/useSimulatorsData'
import urssafLogo from '@/images/Urssaf.svg'
import { TrackPage } from '../../ATInternetTracking'
import Meta from '../../components/utils/Meta'
import './iframe.css'

View File

@ -1,6 +1,7 @@
import { Trans, useTranslation } from 'react-i18next'
import { Route, Routes, useLocation } from 'react-router-dom'
import { TrackChapter } from '@/components/ATInternetTracking'
import { ScrollToTop } from '@/components/utils/Scroll'
import { Banner, InnerBanner } from '@/design-system/banner'
import { Emoji } from '@/design-system/emoji'
@ -8,7 +9,6 @@ import { Link } from '@/design-system/typography/link'
import { useFetchData } from '@/hooks/useFetchData'
import { useSitePaths } from '@/sitePaths'
import { TrackChapter } from '../../ATInternetTracking'
import API from './API'
import Iframe from './Iframe'
import Library from './Library'