File tree Expand file tree Collapse file tree 3 files changed +32
-23
lines changed Expand file tree Collapse file tree 3 files changed +32
-23
lines changed Original file line number Diff line number Diff line change 9393 <div class =" lg:col-span-5" >
9494 <header class =" space-y-4" >
9595 <div class =" sm:flex sm:items-center sm:flex-row sm:justify-between" >
96- @if ($article -> tags -> isNotEmpty () )
97- <div class =" flex items-center space-x-2" >
98- @foreach ($article -> tags as $tag )
99- <x-tag :tag =" $tag" />
100- @endforeach
101- </div >
102- @endif
96+ <div class =" flex items-center space-x-3" >
97+ @if ($article -> tags -> isNotEmpty () )
98+ <div class =" flex items-center space-x-2" >
99+ @foreach ($article -> tags as $tag )
100+ <x-tag :tag =" $tag" />
101+ @endforeach
102+ </div >
103+ @endif
104+ <x-articles .sponsored :isSponsored =" $article->isSponsored()" />
105+ </div >
103106
104107 <div class =" mt-2 flex space-x-1 text-sm text-skin-base sm:mt-0" >
105108 <time datetime =" {{ $article -> createdAt ()-> format (' Y-m-d' ) } }" >{{ $article -> createdAt ()-> format (' j M, Y' ) } } </time >
Original file line number Diff line number Diff line change 66 <img class =" object-cover shadow-lg rounded-lg group-hover:opacity-75" src =" {{ $article -> getFirstMediaUrl (' media' ) } }" alt =" {{ $article -> title } }" />
77 </div >
88 </a >
9- <div >
9+ <div class = " space-y-4 " >
1010 <div >
1111 <time datetime =" {{ $article -> created_at -> format (' Y-m-d' ) } }" class =" font-sans text-sm leading-5 text-skin-base capitalize" >
1212 {{ $article -> created_at -> isoFormat (' LL' ) } }
1919 {!! $article -> excerpt (150 ) ! !}
2020 </p >
2121 </div >
22- @if ($article -> tags -> isNotEmpty () )
23- <div class =" mt-4 flex items-center space-x-2" >
24- @foreach ($article -> tags as $tag )
25- <x-tag :tag =" $tag" />
26- @endforeach
27- </div >
28- @endif
22+ <div class =" flex items-center space-x-3" >
23+ @if ($article -> tags -> isNotEmpty () )
24+ <div class =" flex items-center space-x-2" >
25+ @foreach ($article -> tags as $tag )
26+ <x-tag :tag =" $tag" />
27+ @endforeach
28+ </div >
29+ @endif
30+ <x-articles .sponsored :isSponsored =" $article->isSponsored()" />
31+ </div >
2932 </div >
3033</div >
Original file line number Diff line number Diff line change 66 <img class =" object-cover shadow-lg rounded-lg group-hover:opacity-75" src =" {{ $article -> getFirstMediaUrl (' media' ) } }" alt =" {{ $article -> title } }" />
77 </div >
88 </a >
9- <div class =" sm:col-span-2" >
9+ <div class =" sm:col-span-2 space-y-2 " >
1010 <div >
1111 <time datetime =" {{ $article -> created_at -> format (' Y-m-d' ) } }" class =" font-sans text-sm leading-5 text-skin-base capitalize" >
1212 {{ $article -> created_at -> isoFormat (' LL' ) } }
1818 {!! $article -> excerpt () ! !}
1919 </p >
2020 </div >
21- @if ($article -> tags -> isNotEmpty () )
22- <div class =" mt-2 flex items-center space-x-2" >
23- @foreach ($article -> tags as $tag )
24- <x-tag :tag =" $tag" />
25- @endforeach
26- </div >
27- @endif
21+ <div class =" flex items-center space-x-3" >
22+ @if ($article -> tags -> isNotEmpty () )
23+ <div class =" flex items-center space-x-2" >
24+ @foreach ($article -> tags as $tag )
25+ <x-tag :tag =" $tag" />
26+ @endforeach
27+ </div >
28+ @endif
29+ <x-articles .sponsored :isSponsored =" $article->isSponsored()" />
30+ </div >
2831 </div >
2932</div >
You can’t perform that action at this time.
0 commit comments