pv: signataires: ajoute le support d'images

This commit is contained in:
Félix Piédallu 2026-02-04 17:57:00 +01:00
parent 7c67a67591
commit c76e358cc5

View file

@ -5,7 +5,13 @@
grid( grid(
columns: (1fr, ) * calc.min(signataires.pos().len(), 4), columns: (1fr, ) * calc.min(signataires.pos().len(), 4),
align: center, align: center,
..signataires.pos().map(a => [#a \ #box(height: 100pt, fill: red)]) ..signataires.pos().map(a => {
if type(a) == array {
[#a.at(0) \ #box(height: 100pt, inset: (right: 10pt, left: 10pt), a.at(1))]
} else {
[#a \ #box(height: 100pt, fill: red)]
}
})
) )
} }