2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2021-02-10 16:20:01 +00:00
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $person->full_name ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= $person->full_name ?>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('headerRight') ?>
|
|
|
|
<?= button(
|
|
|
|
lang('Person.edit'),
|
|
|
|
route_to('person-edit', $person->id),
|
2021-09-08 15:51:33 +00:00
|
|
|
[
|
|
|
|
'variant' => 'secondary',
|
|
|
|
'iconLeft' => 'edit',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'class' => 'mr-2',
|
|
|
|
],
|
2021-02-10 16:20:01 +00:00
|
|
|
) ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
|
|
|
<div class="flex flex-wrap">
|
|
|
|
<div class="w-full max-w-sm mb-6 md:mr-4">
|
|
|
|
<img
|
|
|
|
src="<?= $person->image->medium_url ?>"
|
|
|
|
alt="$person->full_name"
|
|
|
|
class="object-cover w-full rounded"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<section class="w-full prose">
|
|
|
|
<?= $person->full_name ?><br />
|
|
|
|
<a href="<?= $person->information_url ?>"><?= $person->information_url ?></a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|