加入line連結

This commit is contained in:
Wayne Hsu 2023-01-18 19:51:42 +08:00
commit aa5cc62885
3 changed files with 60 additions and 49 deletions

View File

@ -45,9 +45,12 @@
<a href="mailto:{$web.email}" class="contactLink" data-mail="{$web.email}"><i class="fa fa-envelope"></i></a> <a href="mailto:{$web.email}" 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> <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> <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> </div>
<div class="endArea">{$web.ename} © ALL RIGHTS RESERVED.</div> <div class="endArea">{$web.ename} © ALL RIGHTS RESERVED.</div>

View File

@ -37,9 +37,14 @@
</ul> </ul>
</nav> </nav>
<div class="social"> <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="#" 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> <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> <a class="fb" href="{$web.facebook}" target="_blank"><i class="fa fa-facebook"></i></a>
{/if}
</div> </div>
<div class="rightBox"> <div class="rightBox">
<a href="tel:{$web.tel}" target="_blank">來電諮詢 / CONTACT</a> <a href="tel:{$web.tel}" target="_blank">來電諮詢 / CONTACT</a>

View File

@ -148,6 +148,9 @@
<div class="social"> <div class="social">
{if $site.line}
<a class="fb" href="{$site.line}" target="_blank"><i class="fa fa-comment"></i></a>
{/if}
<a href="mailto:{$site.email}" class="contactLink" data-mail="{$site.email}"><i class="fa fa-envelope"></i></a> <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> <a href="tel:{$site.tel}"><i class="fa fa-phone"></i></a>