LinkStack/resources/views/components/pageitems/link-display.blade.php

17 lines
570 B
PHP
Raw Normal View History

@php
$BaseURL = str_replace(array('http://', 'https://'), '', $link->link)
@endphp
2022-11-28 19:44:02 +01:00
@include('components.favicon')
@include('components.favicon-extension')
<a class="button button-custom button button-hover icon-hover" rel="noopener noreferrer nofollow" href="{{ route('clickNumber') . '/' . $link->id . '/' . $link->link}}" @if(theme('open_links_in_same_tab') !="true" )target="_blank" @endif>
@if($params->GetSiteIcon ?? true)
2022-11-28 19:44:02 +01:00
<img alt="button-icon" class="icon hvr-icon" src="{{getFavIcon($link->id)}}">
@endif
{{ $link->title }}
</a>