xref: /webtrees/resources/views/icons/sex.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
1<?php
2
3declare(strict_types=1);
4
5/**
6 * @var string $sex
7 */
8
9if ($sex === 'F') : ?>
10<span class="wt-icon-sex wt-icon-sex-f"><i class="fas fa-venus fa-fw" aria-hidden="true"></i></span>
11<?php elseif ($sex === 'M') : ?>
12<span class="wt-icon-sex wt-icon-sex-m"><i class="fas fa-mars fa-fw" aria-hidden="true"></i></span>
13<?php elseif ($sex === 'X') : ?>
14<span class="wt-icon-sex wt-icon-sex-x"><i class="fas fa-transgender fa-fw" aria-hidden="true"></i></span>
15<?php elseif ($sex === 'U') : ?>
16<span class="wt-icon-sex wt-icon-sex-u"><i class="fas fa-genderless fa-fw" aria-hidden="true"></i></span>
17<?php endif ?>
18