File tree Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 33 ' unlinked' => false ,
44] )
55
6+ <?php
7+ $src = $user -> githubUsername ()
8+ ? sprintf (' https://unavatar.io/github/%s?%s' , $user -> githubUsername (), http_build_query ([
9+ ' fallback' => asset (' https://laravel.io/images/laravelio-icon-gray.svg' ),
10+ ]))
11+ : asset (' https://laravel.io/images/laravelio-icon-gray.svg' );
12+ ? >
13+
614@unless ($unlinked )
715 <a href =" {{ route (' profile' , $user -> username ()) } }" >
816@endunless
917
10- @if ($user -> githubUsername () )
11- <flux:avatar
12- circle
13- src =" {{ sprintf (' https://unavatar.io/github/%s?%s' , $user -> githubUsername (), http_build_query ([
14- ' fallback' => asset (' https://laravel.io/images/laravelio-icon-gray.svg' ),
15- ])) } }"
16- {{ $attributes -> merge ([' class' => ' bg-gray-50' ]) } }
17- />
18- @else
19- <img loading =" lazy"
20- src =" {{ asset (' https://laravel.io/images/laravelio-icon-gray.svg' ) } }"
21- alt =" {{ $user -> name () } }"
22- {{ $attributes -> merge ([' class' => ' bg-gray-50 rounded-full' ]) } }
23- />
24- @endif
18+ <flux:avatar
19+ circle
20+ loading =" lazy"
21+ src =" {{ $src } }"
22+ alt =" {{ $user -> name () } }"
23+ {{ $attributes -> merge ([' class' => ' bg-gray-50' ]) } }
24+ />
2525
2626@unless ($unlinked )
2727 </a >
Original file line number Diff line number Diff line change 1- <div class =" shrink-0 w-14 h-14 md:w-20 md:h-20 mr-8 my-2 cursor-pointer" >
1+ <div class =" shrink-0 mr-8 my-2 cursor-pointer" >
22 <x-stat-popout
33 x-cloak
44 x-show =" active == '{{ $member -> id } } '"
@@ -8,8 +8,9 @@ class="w-64 absolute -mt-40 -ml-20"
88
99 <x-avatar
1010 :user =" $member"
11- class =" inset-0 w-14 h-14 md:w-20 md:h-20 "
11+ class =" inset-0"
1212 x-on:mouseover =" active = {{ $member -> id } }"
1313 x-on:mouseout =" active = false"
14+ size =" xl"
1415 />
1516</div >
Original file line number Diff line number Diff line change 77? >
88
99{{-- Show the banner on bigger displays. --}}
10- <div class =" hidden md :block w-full" >
10+ <div class =" hidden lg :block w-full" >
1111 <a href =" {{ $long [' url' ] } }" target =" _blank" rel =" noopener noreferrer" onclick =" fathom.trackGoal('{{ $long [' goal' ] } } ', 0);" >
12- <img class =" block mx-auto" style =" max-width :1200px " src =" {{ asset (" /images/showcase/{$long [' image' ]}-long.png" ) } }" alt =" {{ $long [' alt' ] } }" >
12+ <img class =" block mx-auto w-full " style =" max-width :1200px " src =" {{ asset (" /images/showcase/{$long [' image' ]}-long.png" ) } }" alt =" {{ $long [' alt' ] } }" >
1313 </a >
1414</div >
1515
1616{{-- Show the square on mobile. --}}
17- <div class =" block md :hidden w-full" >
17+ <div class =" block lg :hidden w-full" >
1818 <a href =" {{ $small [' url' ] } }" target =" _blank" rel =" noopener noreferrer" onclick =" fathom.trackGoal('{{ $small [' goal' ] } } ', 0);" >
1919 <img class =" block mx-auto w-full" style =" max-width :300px " src =" {{ asset (" /images/showcase/{$small [' image' ]}-small.png" ) } }" alt =" {{ $small [' alt' ] } }" >
2020 </a >
You can’t perform that action at this time.
0 commit comments