mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-13 09:52:20 +02:00
Update littlelink.blade.php
This commit is contained in:
parent
87aa73ee6a
commit
8a70bd6b8a
@ -286,7 +286,7 @@ if($customBackgroundExists == true){
|
||||
<!-- Buttons -->
|
||||
@php $initial = 1; @endphp
|
||||
|
||||
@foreach($links as $link)
|
||||
@foreach($links as $link)
|
||||
@php $linkName = str_replace('default ','',$link->title) @endphp
|
||||
@switch($link->name)
|
||||
@case('icon')
|
||||
@ -333,7 +333,7 @@ if($customBackgroundExists == true){
|
||||
<?php include base_path('config/button-names.php'); $newLinkName = $linkName; $isNewName = "false"; foreach($buttonNames as $key => $value) { if($newLinkName == $key) { $newLinkName = $value; $isNewName = "true"; }} ?>
|
||||
<div style="--delay: {{ $initial++ }}s" class="button-entrance"><a class="button button-{{ $link->name }} 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 ><img alt="{{ $link->name }}" class="icon hvr-icon" src="@if(theme('use_custom_icons') == "true"){{ url('themes/' . $GLOBALS['themeName'] . '/extra/custom-icons')}}/{{$link->name}}{{theme('custom_icon_extension')}} @else{{ asset('\/assets/linkstack/icons\/') . $link->name }}.svg @endif">@if($isNewName == "true"){{ ucfirst($newLinkName) }}@else{{ ucfirst($newLinkName) }}@endif</a></div>
|
||||
@endswitch
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
@include('layouts.footer')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user