Kontakty - instrukcja do szablonu "Ahead"
Ta instrukcja również dotyczy motywów Flow, Vogue i Pipeline!
Aby strona "Kontakty" działała, należy zainstalować bezpłatną aplikację Ustawienia szablonów.
{* UTILS *}
{include "{$wa->site->themePath(waRequest::getTheme())}utils.html"}
{* GLOBALS *}
{$wa->globals("hideSidebar", true)}
{$wa->globals("isSelfContent", true)}
{$theme_id = waRequest::getTheme()}
{$theme_settings = $wa->themesettings->getThemeSettings($theme_id, "site", true)}
<div class="c-yandex-map overflow-hidden">
{$theme_settings.company__map}
</div>
<div class="container my-8">
<div class="row">
<div class="col-12 mb-4">
<div class="table-responsive border rounded">
<table class="table bg-gray-100 mb-0">
<thead>
<tr>
<th>
<span class="h6 text-uppercase font-weight-bold">
Adres
</span>
</th>
<th>
<span class="h6 text-uppercase font-weight-bold">
Telefon
</span>
</th>
<th>
<span class="h6 text-uppercase font-weight-bold">
Email
</span>
</th>
</tr>
</thead>
<tbody>
<tr class="shadow-lift-hover">
<td>
<a href="#!" class="text-reset text-decoration-none">
<p class="mb-1">
{$theme_settings.company__city}, {$theme_settings.company__address}
</p>
<div class="text-muted">
<i class="icon icon-xxxxs">
{call include_icon icon="feather/clock"}
</i>
<span class="font-size-xs">{$theme_settings.company_schedule}</span>
</div>
</a>
</td>
<td>
{if !empty($theme_settings.company__phone_main)}
<a href="tel:{$theme_settings.company__phone_main}" class="link-black text-decoration-none">
<p class="font-size-sm mb-0 text-nowrap">
{$theme_settings.company__phone_main}
</p>
</a>
{/if}
{if !empty($theme_settings.company__phone_second)}
<a href="tel:{$theme_settings.company__phone_second}" class="link-black text-decoration-none">
<p class="font-size-sm mb-0 text-nowrap">
{$theme_settings.company__phone_second}
</p>
</a>
{/if}
{if !empty($theme_settings.company__phone_third)}
<a href="tel:{$theme_settings.company__phone_third}" class="link-black text-decoration-none">
<p class="font-size-sm mb-0 text-nowrap">
{$theme_settings.company__phone_third}
</p>
</a>
{/if}
</td>
{if !empty($theme_settings.company__email)}
<td>
<a href="mailto:{$theme_settings.company__email}" class="link-black text-decoration-none">
<p class="font-size-sm mb-0 text-nowrap">
{$theme_settings.company__email}
</p>
</a>
</td>
{/if}
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
Błąd w tekście? Zaznacz ją myszką i kliknij Ctrl + F1 lub kliknij na ten blok!