diff --git a/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/CreationChecklist.tsx b/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/CreationChecklist.tsx index 257d4a18f..0984e88bd 100644 --- a/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/CreationChecklist.tsx +++ b/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/CreationChecklist.tsx @@ -13,6 +13,8 @@ import { useDispatch, useSelector } from 'react-redux' import { Link } from 'react-router-dom' import { RootState } from 'Reducers/rootReducer' import { LegalStatus } from 'Selectors/companyStatusSelectors' +import GuideAutoEntrepreneurUrl from './Guide_Auto-Entrepreneur.pdf' + import * as Animate from 'Components/ui/animate' import { CheckItem, Checklist } from 'Components/ui/Checklist' import StatutDescription from './StatutDescription' @@ -525,9 +527,9 @@ export default function CreateCompany({ statut }: CreateCompanyProps) { {i18n.language === 'fr' && isAutoentrepreneur && (

Guide URSSAF auto-entrepreneur 2020

diff --git a/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/Guide_Auto-Entrepreneur.pdf b/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/Guide_Auto-Entrepreneur.pdf new file mode 100644 index 000000000..00c5d8d08 Binary files /dev/null and b/mon-entreprise/source/sites/mon-entreprise.fr/pages/Créer/Guide_Auto-Entrepreneur.pdf differ diff --git a/mon-entreprise/source/types/import-file.ts b/mon-entreprise/source/types/import-file.ts index cc0e052a0..17ff21913 100644 --- a/mon-entreprise/source/types/import-file.ts +++ b/mon-entreprise/source/types/import-file.ts @@ -2,3 +2,8 @@ declare module '*.ttf' { const content: string export default content } + +declare module '*.pdf' { + const content: string + export default content +} diff --git a/webpack/common.js b/webpack/common.js index 95cb9d955..5b897c7ac 100644 --- a/webpack/common.js +++ b/webpack/common.js @@ -82,7 +82,7 @@ module.exports.commonLoaders = ({ legacy = false, file = true } = {}) => { use: ['raw-loader'] }, { - test: /\.ttf$/, + test: /\.(ttf|pdf)$/, use: ['file-loader'] } ]