RVRNEXT-38 replace svgs to fa-icons in normal layous

This commit is contained in:
Bence Pőcze 2023-05-06 21:41:27 +02:00
parent b531589c52
commit 0f7c9aa02f
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D
2 changed files with 10 additions and 8 deletions

View File

@ -404,6 +404,10 @@ header>p>span>a:link, header>p>span>a:visited {
color: inherit;
}
header>p>span>a:hover, header>p>span>a:focus {
text-decoration: none;
}
header>p>span:not(:last-child) {
border-right: solid white 1px;
padding-right: 6px;

View File

@ -10,14 +10,12 @@
</h1>
<p>
<?php if (Container::$request->user()) : ?>
<span><a href="<?= Container::$routeCollection->getRoute('account')->generateLink() ?>" title="Account">
<?php /* Copyright (c) 2019 The Bootstrap Authors. License can be found in 'USED_SOFTWARE' in section 'Bootstrap Icons'. */ ?>
<svg class="inline" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
</svg><!--
--><?= Container::$request->user()->getDisplayName() ?><!--
--></a></span><!--
--><span><a href="<?= Container::$routeCollection->getRoute('logout')->generateLink() ?>" title="Logout">Logout</a></span>
<span><a href="<?= Container::$routeCollection->getRoute('account')->generateLink() ?>" title="Account"><!--
--><i class="fa-regular fa-user"></i> <?= Container::$request->user()->getDisplayName() ?><!--
--></a></span><!--
--><span><a href="<?= Container::$routeCollection->getRoute('logout')->generateLink() ?>" title="Logout"><!--
--><i class="fa-solid fa-arrow-right-from-bracket"></i> Logout</a><!--
--></span>
<?php endif; ?>
</p>
</header>