{if ($logoMode == 'light')}
<a href="{$systemurl}" class="navbar-brand w-100 logo logo-light {if isset($classes)}{$classes}{/if}">
    {if $logoLight}
        <img src="{$logoLight}" alt="{$companyname} logo light" width="100" height="100">
    {else}
        <span class="text-white">{$companyname}</span>
    {/if}
</a>
{elseif ($logoMode == 'dark')}
<a href="{$systemurl}" class="navbar-brand w-100 logo logo-dark {if isset($classes)}{$classes}{/if}">
    {if $logoDark}
        <img src="{$logoDark}" alt="{$companyname} logo dark" width="100" height="100">
    {else}
        <span class="text-black">{$companyname}</span
    {/if}
</a>
{else}
<a href="{$systemurl}" class="navbar-brand w-100 logo logo-dark {if isset($classes)}{$classes}{/if}">
    {if $logoDark}
        <img src="{$logoDark}" alt="{$companyname} logo dark" width="100" height="100">
    {else}
    <span class="text-black">{$companyname}</span
    {/if}
</a>
<a href="{$systemurl}" class="navbar-brand w-100 logo logo-light d-none {if isset($classes)}{$classes}{/if}">
    {if $logoLight}
        <img src="{$logoLight}" alt="{$companyname} logo light" width="100" height="100">
    {else}
    <span class="text-white">{$companyname}</span
    {/if}
</a>
{/if}