Merge pull request #1084 from betagouv/quickfix-johan
corrige le lien mort vers le guide auto-entrepreneurpull/1013/head
commit
32cc9f1e3a
|
@ -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) {
|
|||
</Link>
|
||||
{i18n.language === 'fr' && isAutoentrepreneur && (
|
||||
<a
|
||||
target="_blank"
|
||||
className="ui__ interactive card button-choice lighter-bg"
|
||||
href="https://www.autoentrepreneur.urssaf.fr/portail/files/Guide_Auto-Entrepreneur.pdf"
|
||||
href={GuideAutoEntrepreneurUrl}
|
||||
download="guide-devenir-auto-entrepreneur-en-2020"
|
||||
>
|
||||
<p>Guide URSSAF auto-entrepreneur 2020</p>
|
||||
<small>
|
||||
|
|
Binary file not shown.
|
@ -2,3 +2,8 @@ declare module '*.ttf' {
|
|||
const content: string
|
||||
export default content
|
||||
}
|
||||
|
||||
declare module '*.pdf' {
|
||||
const content: string
|
||||
export default content
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ module.exports.commonLoaders = ({ legacy = false, file = true } = {}) => {
|
|||
use: ['raw-loader']
|
||||
},
|
||||
{
|
||||
test: /\.ttf$/,
|
||||
test: /\.(ttf|pdf)$/,
|
||||
use: ['file-loader']
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue