File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11@if (file_exists (base_path (" /littlelink/images/avatar.png" )) )
2- <img class =" mb-5" src =" {{ asset (' /littlelink/images/avatar.png' ) } }" srcset = " {{ asset ( ' /littlelink/images/avatar@2x.png 2x ' ) } } " style =" width : 150px ;" >
2+ <img class =" mb-5" src =" {{ asset (' /littlelink/images/avatar.png' ) } }" style =" width : 150px ;" >
33@else
44 <img class =" mb-5" src =" {{ asset (' /littlelink/images/avatar@2x.png' ) } }" >
55@endif
Original file line number Diff line number Diff line change @@ -256,11 +256,11 @@ function themeAsset($path){
256256 @foreach ($updatedPages as $page )
257257 @if (file_exists (base_path (" img/$page -> littlelink_name " . " .png" )) )
258258 <a href =" {{ url (' ' ) } } /@<?= $page -> littlelink_name ? >" target =" _blank" >
259- <img src =" {{ asset (" img/$page -> littlelink_name " . " .png" ) } }" srcset = " {{ asset ( " img/ $page -> littlelink_name " . " @2x .png 2x " ) } } " width =" 50px" height =" 50px" >
259+ <img src =" {{ asset (" img/$page -> littlelink_name " . " .png" ) } }" width =" 50px" height =" 50px" >
260260 </a >
261261 @else
262262 <a href =" {{ url (' ' ) } } /@<?= $page -> littlelink_name ? >" target =" _blank" >
263- <img src =" {{ asset (' littlelink/images/logo.svg' ) } }" srcset = " {{ asset ( ' littlelink/images/avatar@2x.png 2x ' ) } } " width =" 50px" height =" 50px" >
263+ <img src =" {{ asset (' littlelink/images/logo.svg' ) } }" width =" 50px" height =" 50px" >
264264 </a >
265265 @endif
266266 @endforeach
Original file line number Diff line number Diff line change 2929
3030 <div class =" form-group col-lg-8" >
3131 @if (file_exists (base_path (" img/" . $user -> id . " .png" )) )
32- <img src =" {{ asset (" img/" . $user -> id . " .png" ) } }" srcset = " {{ asset ( " img/$user -> id " . " @2x .png 2x" ) } }" width =" 128px" height =" 128px" style =" object-fit : cover ;" >
32+ <img src =" {{ asset (" img/" . $user -> id . " .png" ) } }" img /$user- >id" . "@2x .png 2x") }}" width="128px" height="128px" style="object-fit: cover;">
3333 @elseif (file_exists (base_path (" littlelink/images/" ). findFile (' avatar' )) )
34- <img class =" rounded-avatar" src =" {{ asset (' littlelink/images/' . findFile (' avatar' )) } }" srcset = " {{ asset ( ' littlelink/images/avatar@2x.png 2x ' ) } } " width =" 128px" height =" 128px" style =" object-fit : cover ;" >
34+ <img class =" rounded-avatar" src =" {{ asset (' littlelink/images/' . findFile (' avatar' )) } }" width =" 128px" height =" 128px" style =" object-fit : cover ;" >
3535 @else
36- <img src =" {{ asset (' littlelink/images/logo.svg' ) } }" srcset = " {{ asset ( ' littlelink/images/avatar@2x.png 2x ' ) } } " width =" 128px" height =" 128px" style =" object-fit : cover ;" >
36+ <img src =" {{ asset (' littlelink/images/logo.svg' ) } }" width =" 128px" height =" 128px" style =" object-fit : cover ;" >
3737 @endif
3838 @if (file_exists (base_path (" img/" . $user -> id . " .png" )) )<br ><a title =" Remove icon" class =" hvr-grow p-1 text-danger" style =" padding-left :5px ;" href =" ?delete" ><i class =" bi bi-trash-fill" ></i > Delete</a >@endif
3939 @if ($_SERVER [' QUERY_STRING' ] === ' delete' and File:: exists (base_path (' img/' . $user -> id . ' .png' )) )@php File:: delete (base_path (' img/' . $user -> id . ' .png' )); header (" Location: " . url ()-> current ()); die (); @endphp @endif
You can’t perform that action at this time.
0 commit comments