add project route

This commit is contained in:
isUnknown 2024-09-17 17:31:03 +02:00
parent abaf667a82
commit 93642fb9b2
4 changed files with 81 additions and 28 deletions

View file

@ -4,6 +4,8 @@ $children = $page->children()->map(function ($child) {
return [
'title' => $child->title()->value(),
'url' => $child->url(),
'uri' => $child->uri(),
'uri' => '/' . $child->uri(),
'modified' => $child->modified('Y-MM-d'),
'status' => $child->status(),
'logo' => $child->client()->toPage()->logo()->toFile()->url()