@@ -229,6 +229,7 @@ function get_operating_system() {
229
229
230
230
@endforeach
231
231
<!-- Buttons -->
232
+ <?php function strp ($urlStrp ){return str_replace (array (' http://' , ' https://' ), ' ' , $urlStrp );} ? >
232
233
<?php $initial = 1 ; // <-- Effectively sets the initial loading time of the buttons. This value should be left at 1. ? >
233
234
@foreach ($links as $link )
234
235
@php $linkName = str_replace (' default ' ,' ' ,$link -> name ) @endphp
@@ -243,9 +244,9 @@ function get_operating_system() {
243
244
@elseif ($link -> name === " buy me a coffee" )
244
245
<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 } }" target =" _blank" ><img alt =" button-icon" class =" icon hvr-icon" src =" {{ asset (' \/littlelink/icons\/' ) } } coffee.svg" >Buy me a Coffee</a ></div >
245
246
@elseif ($link -> name === " custom_website" and $link -> custom_css === " " or $link -> custom_css === " NULL" )
246
- <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 } }" target =" _blank" ><img alt =" button-icon" class =" icon hvr-icon" src =" https://www.google .com/s2/favicons?domain= {{ $link -> link } } " >{{ $link -> title } } </a ></div >
247
+ <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 } }" target =" _blank" ><img alt =" button-icon" class =" icon hvr-icon" src =" https://icons.duckduckgo .com/ip3/ {{ strp ( $link -> link ) } } .ico " >{{ $link -> title } } </a ></div >
247
248
@elseif ($link -> name === " custom_website" and $link -> custom_css != " " )
248
- <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 } }" target =" _blank" ><img alt =" button-icon" class =" icon hvr-icon" src =" https://www.google .com/s2/favicons?domain= {{ $link -> link } } " >{{ $link -> title } } </a ></div >
249
+ <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 } }" target =" _blank" ><img alt =" button-icon" class =" icon hvr-icon" src =" https://icons.duckduckgo .com/ip3/ {{ strp ( $link -> link ) } } .ico " >{{ $link -> title } } </a ></div >
249
250
@elseif ($link -> name === " space" )
250
251
<?php
251
252
if (is_numeric ($link -> title ) and $link -> title < 10 )
0 commit comments