xref: /webtrees/resources/views/icons/sex.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
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