feat: don't render whatsapp link unless configured
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
{settings.contactFormToEmail}
|
||||
</div>
|
||||
</f:link.email>
|
||||
<f:if condition="{settings.whatsApp}">
|
||||
<a href="{settings.whatsAppNumberLink}"
|
||||
class="contact-bar__item"
|
||||
title="Whatsapp"
|
||||
@@ -42,6 +43,7 @@
|
||||
{settings.whatsApp}
|
||||
</div>
|
||||
</a>
|
||||
</f:if>
|
||||
<a href="{settings.facebookUrl}"
|
||||
class="contact-bar__item"
|
||||
target="_blank"
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<f:if condition="{settings.whatsApp}">
|
||||
<div class="flex">
|
||||
<div class="flex items-start space-x-2 pr-4">
|
||||
{ep:icon(icon: 'whatsapp', class: 'w-12 h-12 text-white')}
|
||||
@@ -83,6 +84,7 @@
|
||||
{f:translate(key: 'label.whatsapp_instructions', extensionName: 'ep_theme')}
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user