File tree Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,19 @@ class="w-full bg-center bg-gray-800"
6868 {{ $article -> title () } }
6969 </h1 >
7070
71- <div class =" flex flex-col gap-y-2 text-white lg:flex-row lg:items-center" >
72- <div class =" flex items-center" >
73- <x-avatar :user =" $article->author()" class =" w-6 h-6 rounded-full mr-3 " />
71+ <div class =" flex flex-col gap-y-2 space-x-5 text-white lg:flex-row lg:items-center" >
72+ <div class =" flex items-center space-x-1 " >
73+ <x-avatar :user =" $article->author()" class =" w-6 h-6 rounded-full mr-1 " />
7474
7575 <a href =" {{ route (' profile' , $article -> author ()-> username ()) } }" class =" hover:underline" >
76- <span class = " mr-5 " >{{ $article -> author ()-> name () } } </span >
76+ <span >{{ $article -> author ()-> name () } } </span >
7777 </a >
78+
79+ @if ($article -> author ()-> isVerifiedAuthor () )
80+ <span title =" This is a verified author" >
81+ @svg (' heroicon-o-check-badge' , ' w-5 h-5 text-white' )
82+ </span >
83+ @endif
7884 </div >
7985
8086 <div class =" flex items-center gap-x-6" >
Original file line number Diff line number Diff line change 2020 <div >
2121 <div class =" flex flex-col gap-y-2 justify-between lg:flex-row lg:items-center" >
2222 <div class =" flex flex-wrap items-center space-x-1 text-sm" >
23- <div class =" flex items-center" >
24- <x-avatar :user =" $article->author()" class =" w-6 h-6 rounded-full mr-2 " />
23+ <div class =" flex items-center space-x-1 " >
24+ <x-avatar :user =" $article->author()" class =" w-6 h-6 rounded-full mr-1 " />
2525
2626 <a href =" {{ route (' profile' , $article -> author ()-> username ()) } }" class =" hover:underline" >
2727 <span class =" text-gray-900 font-semibold" >{{ $article -> author ()-> username () } } </span >
2828 </a >
29+
30+ @if ($article -> author ()-> isVerifiedAuthor () )
31+ <span title =" This is a verified author" >
32+ @svg (' heroicon-s-check-badge' , ' w-5 h-5 text-lio-500' )
33+ </span >
34+ @endif
2935 </div >
3036
3137 @if ($article -> isApproved () )
Original file line number Diff line number Diff line change 1616
1717 <div class =" flex flex-col h-full gap-y-3 p-4" >
1818 <div >
19- <div class =" flex flex-wrap items-center space-x-1 text-sm" >
20- <div class =" flex items-center" >
21- <x-avatar :user =" $article->author()" class =" w-6 h-6 rounded-full mr-2 " unlinked />
19+ <div class =" flex flex-wrap items-center space-x-2 text-sm" >
20+ <div class =" flex items-center space-x-1 " >
21+ <x-avatar :user =" $article->author()" class =" w-6 h-6 rounded-full mr-1 " unlinked />
2222
2323 <span class =" text-gray-900" >{{ $article -> author ()-> username () } } </span >
24- </div >
2524
26- <span class =" text-gray-700" >published on</span >
25+ @if ($article -> author ()-> isVerifiedAuthor () )
26+ <span title =" This is a verified author" >
27+ @svg (' heroicon-s-check-badge' , ' w-5 h-5 text-lio-500' )
28+ </span >
29+ @endif
30+ </div >
2731
28- <span class =" text-gray-700" >
29- {{ $article -> approvedAt ()-> format (' j M, Y' ) } }
32+ <span class =" text-gray-700" ></ span >
33+ published on {{ $article -> approvedAt ()-> format (' j M, Y' ) } }
3034 </span >
3135 </div >
3236 </div >
You can’t perform that action at this time.
0 commit comments