give access to texts

This commit is contained in:
isUnknown 2025-02-05 15:02:44 +01:00
parent 9b9e5a2ef7
commit 04b04ccf6a
7 changed files with 31 additions and 6 deletions

View file

@ -0,0 +1,18 @@
<?php
use Kirby\Uuid\Uuid;
return [
'pattern' => 'a-venir',
'action' => function () {
return Page::factory([
'slug' => 'a-venir',
'template' => 'error',
'content' => [
'title' => 'Textes disponibles à partir du 21 janvier',
'body' => '<p>Rendez-vous vendredi 21 février à partir de 18h, au Centre Césure (ancien campus Censier), 13 rue Santeuil, 75005 Paris - salle Las Vergnas (métro Censier-Daubenton ou Saint-Marcel).</p>',
'uuid' => Uuid::generate(),
],
]);
},
];