<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" xmlns:ama="AmadeusAgentur\AmadeusNext\ViewHelpers" xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
      data-namespace-typo3-fluid="true">

<div class="h-30 flex items-center">
    <f:if condition="{client.nolink}">
        <f:then>
            <f:image src="{logo.url}" alt="{logo.name}" width="{logo.width}" height="{logo.height}" class="mx-auto max-h-24" />
        </f:then>
        <f:else>
            <f:link.action action="detail" controller="Client" pageUid="{settings.clientTargetPid}" arguments="{clientId: client.uid}">
                <f:image src="{logo.url}" alt="{logo.name}" width="{logo.width}" height="{logo.height}" class="mx-auto max-h-24" />
            </f:link.action>
        </f:else>
    </f:if>
</div>