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 3
3
' unlinked' => false ,
4
4
] )
5
5
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
+
6
14
@unless ($unlinked )
7
15
<a href =" {{ route (' profile' , $user -> username ()) } }" >
8
16
@endunless
9
17
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
+ />
25
25
26
26
@unless ($unlinked )
27
27
</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" >
2
2
<x-stat-popout
3
3
x-cloak
4
4
x-show =" active == '{{ $member -> id } } '"
@@ -8,8 +8,9 @@ class="w-64 absolute -mt-40 -ml-20"
8
8
9
9
<x-avatar
10
10
:user =" $member"
11
- class =" inset-0 w-14 h-14 md:w-20 md:h-20 "
11
+ class =" inset-0"
12
12
x-on:mouseover =" active = {{ $member -> id } }"
13
13
x-on:mouseout =" active = false"
14
+ size =" xl"
14
15
/>
15
16
</div >
Original file line number Diff line number Diff line change 7
7
? >
8
8
9
9
{{-- Show the banner on bigger displays. --}}
10
- <div class =" hidden md :block w-full" >
10
+ <div class =" hidden lg :block w-full" >
11
11
<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' ] } }" >
13
13
</a >
14
14
</div >
15
15
16
16
{{-- Show the square on mobile. --}}
17
- <div class =" block md :hidden w-full" >
17
+ <div class =" block lg :hidden w-full" >
18
18
<a href =" {{ $small [' url' ] } }" target =" _blank" rel =" noopener noreferrer" onclick =" fathom.trackGoal('{{ $small [' goal' ] } } ', 0);" >
19
19
<img class =" block mx-auto w-full" style =" max-width :300px " src =" {{ asset (" /images/showcase/{$small [' image' ]}-small.png" ) } }" alt =" {{ $small [' alt' ] } }" >
20
20
</a >
You can’t perform that action at this time.
0 commit comments