feat: add declaration for Alexandre Lourenço and Julie Porcel

proto-module-actu-react
Jalil Arfaoui 2023-05-09 01:09:01 +02:00
parent 6c82afd7da
commit 2273017f1c
5 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1 @@
import "./lourenco-porcel.pdf";

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
export const getResistantDeclarationUrl = (resistantId: string) =>
`https://enfance-libre.frama.io/resistants/assets/${resistantId}.pdf`;

View File

@ -1,4 +1,5 @@
import { Resistant } from "./Resistant"; import { Resistant } from "./Resistant";
import { getResistantDeclarationUrl } from "./getResistantDeclarationUrl";
export const resistants: Resistant[] = [ export const resistants: Resistant[] = [
{ {
@ -455,7 +456,7 @@ export const resistants: Resistant[] = [
latitude: 44.11489200339857, latitude: 44.11489200339857,
longitude: -0.011507420350574667, longitude: -0.011507420350574667,
date_declaration: "Avril 2023", date_declaration: "Avril 2023",
lien_declaration: "", lien_declaration: getResistantDeclarationUrl("lourenco-porcel"),
mention: "", mention: "",
video: "", video: "",
}, },