加入line連結

This commit is contained in:
Wayne Hsu 2023-01-18 19:25:03 +08:00
parent 058561dec2
commit 4c521531bd
3 changed files with 12 additions and 3 deletions

View File

@ -45,8 +45,12 @@
<a href="#" class="contactLink" data-mail="{$web.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$web.tel}"><i class="fa fa-phone"></i></a>
{if $web.facebook}
<a class="fb" href="javascript: void(window.open('{$web.facebook}');"><i class="fa fa-facebook"></i></a>
{/if}
{if $web.line}
<a class="fb" href="javascript: void(window.open('{$web.line}');"><i class="fa fa-comment"></i></a>
{/if}
</div>

View File

@ -37,9 +37,14 @@
</ul>
</nav>
<div class="social">
{if $web.line}
<a class="fb" href="{$web.line}" target="_blank"><i class="fa fa-comment"></i></a>
{/if}
<a href="#" class="contactLink" data-mail="{$web.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$web.tel}"><i class="fa fa-phone"></i></a>
{if $web.facebook}
<a class="fb" href="{$web.facebook}" target="_blank"><i class="fa fa-facebook"></i></a>
{/if}
</div>
<div class="rightBox">
<a href="tel:{$web.tel}" target="_blank">來電訂房 / BOOKING</a>

View File

@ -73,9 +73,9 @@
</ul>
</nav>
<div class="social">
{if $site.line}
{if $site.line}
<a class="fb" href="{$site.line}" target="_blank"><i class="fa fa-comment"></i></a>
{/if}
{/if}
<a href="mailto:{$site.email}" class="contactLink" data-mail="{$site.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$site.tel}"><i class="fa fa-phone"></i></a>
{if $site.facebook}