diff --git a/src/declarations/index.ts b/src/declarations/index.ts new file mode 100644 index 0000000..6afb168 --- /dev/null +++ b/src/declarations/index.ts @@ -0,0 +1 @@ +import "./lourenco-porcel.pdf"; diff --git a/src/declarations/lettre dc alexandre et julie.docx b/src/declarations/lettre dc alexandre et julie.docx new file mode 100644 index 0000000..96f29ff Binary files /dev/null and b/src/declarations/lettre dc alexandre et julie.docx differ diff --git a/src/declarations/lourenco-porcel.pdf b/src/declarations/lourenco-porcel.pdf new file mode 100644 index 0000000..490932c Binary files /dev/null and b/src/declarations/lourenco-porcel.pdf differ diff --git a/src/getResistantDeclarationUrl.tsx b/src/getResistantDeclarationUrl.tsx new file mode 100644 index 0000000..fa39aed --- /dev/null +++ b/src/getResistantDeclarationUrl.tsx @@ -0,0 +1,2 @@ +export const getResistantDeclarationUrl = (resistantId: string) => + `https://enfance-libre.frama.io/resistants/assets/${resistantId}.pdf`; diff --git a/src/resistants.ts b/src/resistants.ts index 69e8610..e10cecf 100644 --- a/src/resistants.ts +++ b/src/resistants.ts @@ -1,4 +1,5 @@ import { Resistant } from "./Resistant"; +import { getResistantDeclarationUrl } from "./getResistantDeclarationUrl"; export const resistants: Resistant[] = [ { @@ -455,7 +456,7 @@ export const resistants: Resistant[] = [ latitude: 44.11489200339857, longitude: -0.011507420350574667, date_declaration: "Avril 2023", - lien_declaration: "", + lien_declaration: getResistantDeclarationUrl("lourenco-porcel"), mention: "", video: "", },