@@ -229,6 +229,7 @@ function get_operating_system() {
229229
230230 @endforeach
231231 <!-- Buttons -->
232+ <?php function strp ($urlStrp ){return str_replace (array (' http://' , ' https://' ), ' ' , $urlStrp );} ? >
232233<?php $initial = 1 ; // <-- Effectively sets the initial loading time of the buttons. This value should be left at 1. ? >
233234 @foreach ($links as $link )
234235 @php $linkName = str_replace (' default ' ,' ' ,$link -> name ) @endphp
@@ -243,9 +244,9 @@ function get_operating_system() {
243244 @elseif ($link -> name === " buy me a coffee" )
244245 <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 >
245246 @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 >
247248 @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 >
249250 @elseif ($link -> name === " space" )
250251 <?php
251252 if (is_numeric ($link -> title ) and $link -> title < 10 )
0 commit comments