add logo url
This commit is contained in:
parent
edd9e66efb
commit
b6a455d66f
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ $children = $page->children()->map(function ($child) {
|
||||||
'title' => $child->title()->value(),
|
'title' => $child->title()->value(),
|
||||||
'url' => $child->url(),
|
'url' => $child->url(),
|
||||||
'modified' => $child->modified('Y-m-d'),
|
'modified' => $child->modified('Y-m-d'),
|
||||||
'status' => $child->status()
|
'status' => $child->status(),
|
||||||
|
'logo' => $child->client()->toPage()->logo()->toFile()->url()
|
||||||
];
|
];
|
||||||
})->values();
|
})->values();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<time :datetime="project.modified">{{ frenchFormattedModified }}</time>
|
<time :datetime="project.modified">{{ frenchFormattedModified }}</time>
|
||||||
</p>
|
</p>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
<img src="" alt="Logo" class="project-logo | rounded-sm" />
|
<img :src="project.logo" alt="Logo" class="project-logo | rounded-sm" />
|
||||||
<ol class="project-steps" data-steps="1">
|
<ol class="project-steps" data-steps="1">
|
||||||
<li class="project-step" data-status="in-progress">
|
<li class="project-step" data-status="in-progress">
|
||||||
<span class="pill" data-icon="search">Votre Brief</span>
|
<span class="pill" data-icon="search">Votre Brief</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue