@@ -265,21 +265,21 @@ function get_operating_system() {
265
265
@foreach ($links as $link )
266
266
@php $linkName = str_replace (' default ' ,' ' ,$link -> name ) @endphp
267
267
@if ($link -> button_id === 0 )
268
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-title 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 >{{ $link -> title } } </a ></div >
268
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-title button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif >{{ $link -> title } } </a ></div >
269
269
@elseif ($link -> name === " phone" )
270
270
<div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-default button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ $link -> link } }" ><img alt =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /phone{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) } } phone.svg @endif " ></i >{{ $link -> title } } </a ></div >
271
271
@elseif ($link -> name === " custom" and $link -> custom_css === " " or $link -> custom_css === " NULL" or (theme (' allow_custom_buttons' ) == " false" and $link -> name === " custom" ) )
272
- <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 ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
272
+ <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 } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
273
273
@elseif ($link -> name === " custom" and $link -> custom_css != " " )
274
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . ' / ' . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
274
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><i style =" color : {{$link->custom_icon}}" class =" icon hvr-icon fa {{ $link -> custom_icon } }" ></i >{{ $link -> title } } </a ></div >
275
275
@elseif ($link -> name === " buy me a coffee" )
276
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-coffee 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 =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /coffee{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) } } coffee.svg @endif " >Buy me a Coffee</a ></div >
276
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-coffee button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /coffee{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) } } coffee.svg @endif " >Buy me a Coffee</a ></div >
277
277
@elseif ($link -> name === " mastodon" )
278
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $link -> name } } button button-hover icon-hover" rel =" me noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . ' / ' . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $linkName } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) . $linkName } } .svg @endif " >{{ $link -> title } } </a ></div >
278
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-{{ $link -> name } } button button-hover icon-hover" rel =" me noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $linkName } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) . $linkName } } .svg @endif " >{{ $link -> title } } </a ></div >
279
279
@elseif ($link -> name === " custom_website" and $link -> custom_css === " " or $link -> custom_css === " NULL" or (theme (' allow_custom_buttons' ) == " false" and $link -> name === " custom" ) )
280
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-custom_website 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 =" button-icon" class =" icon hvr-icon" src =" {{ getFavIcon ($link -> link )} }" >{{ $link -> title } } </a ></div >
280
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-custom_website button button-hover icon-hover" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" {{ getFavIcon ($link -> link )} }" >{{ $link -> title } } </a ></div >
281
281
@elseif ($link -> name === " custom_website" and $link -> custom_css != " " )
282
- <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id . ' / ' . $link -> link } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" {{ getFavIcon ($link -> link )} }" >{{ $link -> title } } </a ></div >
282
+ <div style =" --delay : {{ $initial ++ }}s " class =" button-entrance" ><a class =" button button-hover icon-hover" style =" {{ $link -> custom_css } }" rel =" noopener noreferrer nofollow" href =" {{ route (' clickNumber' ) . ' /' . $link -> id } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" {{ getFavIcon ($link -> link )} }" >{{ $link -> title } } </a ></div >
283
283
@elseif ($link -> name === " space" )
284
284
<?php
285
285
if (is_numeric ($link -> title ) and $link -> title < 10 )
@@ -293,7 +293,7 @@ function get_operating_system() {
293
293
<h2 >{{ $link -> title } } </h2 >
294
294
@else
295
295
<?php include base_path (' config/button-names.php' ); $newLinkName = $linkName ; $isNewName = " false" ; foreach ($buttonNames as $key => $value ) { if ($newLinkName == $key ) { $newLinkName = $value ; $isNewName = " true" ; } } ? >
296
- <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 =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $linkName } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) . $linkName } } .svg @endif " >@if ($isNewName == " true" ){{ $newLinkName } }@else {{ ucfirst ($newLinkName ) } }@endif </a ></div >
296
+ <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 } }" @if (theme (' open_links_in_same_tab' ) != " true" )target =" _blank" @endif ><img alt =" button-icon" class =" icon hvr-icon" src =" @if (theme (' use_custom_icons' ) == " true" ){{ url (' themes/' . $GLOBALS [' themeName' ] . ' /extra/custom-icons' ) } } /{{ $linkName } }{{ theme (' custom_icon_extension' )} } @else {{ asset (' \/littlelink/icons\/' ) . $linkName } } .svg @endif " >@if ($isNewName == " true" ){{ $newLinkName } }@else {{ ucfirst ($newLinkName ) } }@endif </a ></div >
297
297
@endif
298
298
@endforeach
299
299
0 commit comments