Add landing page

This commit is contained in:
isUnknown 2026-02-09 09:03:35 +01:00
parent 9439de0603
commit aaf1aa7890
603 changed files with 637 additions and 1 deletions

View file

@ -0,0 +1,24 @@
<?php
use Kirby\Toolkit\I18n;
return [
'props' => [
/**
* Text to be displayed
*/
'text' => function ($value = null) {
return I18n::translate($value, $value);
},
],
'computed' => [
'text' => function () {
if ($text = $this->text) {
$text = $this->model()->toString($text);
$text = $this->kirby()->kirbytext($text);
return $text;
}
}
],
'save' => false,
];