Files
newwalls.pl/themes/ayon_/modules/ps_contactinfo/ps_contactinfo.tpl
2024-12-17 13:43:22 +01:00

23 lines
1.2 KiB
Smarty

<div class="contact-rich">
<div class="block">
<label>{l s='Visit our store' d='Shop.Theme.Global'}</label>
<div class="data">{$contact_infos.address.formatted nofilter}</div>
</div>
{if $contact_infos.phone || $contact_infos.fax || $contact_infos.email}
<div class="block">
<label>{l s='Get in touch' d='Shop.Theme.Global'}</label>
<div class="data">
{if $contact_infos.phone}
<i><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg></i>{$contact_infos.phone}<br />
{/if}
{if $contact_infos.fax}
{$contact_infos.fax}<br />
{/if}
{if $contact_infos.email}
<a href="mailto:{$contact_infos.email}">{$contact_infos.email}</a>
{/if}
</div>
</div>
{/if}
</div>