<?php

declare(strict_types=1);

/**
 * @var string $sex
 */

if ($sex === 'F') : ?>
<span class="wt-icon-sex wt-icon-sex-f"><i class="fa-solid fa-venus"></i></span>
<?php elseif ($sex === 'M') : ?>
<span class="wt-icon-sex wt-icon-sex-m"><i class="fa-solid fa-mars"></i></span>
<?php elseif ($sex === 'X') : ?>
<span class="wt-icon-sex wt-icon-sex-x"><i class="fa-solid fa-transgender"></i></span>
<?php elseif ($sex === 'U') : ?>
<span class="wt-icon-sex wt-icon-sex-u"><i class="fa-solid fa-genderless"></i></span>
<?php endif ?>
