2222 )
2323 }
2424 "
25- class =" mx-auto w-full max-w-8xl px-5 sm:px-10"
25+ class =" max-w-8xl mx-auto w-full px-5 sm:px-10"
2626 >
2727 <div class =" flex flex-wrap items-center justify-between gap-5 pt-20" >
2828 {{-- Back Button --}}
2929 <a
3030 x-on:mouseenter =" back_button_is_hovering = true"
3131 x-on:mouseleave =" back_button_is_hovering = false"
3232 href =" {{ route (' articles' ) } }"
33- class =" flex items-center gap-3 p-1 text-dolphin transition duration-300 hover:-translate-x-2 hover:text-evening "
33+ class =" text-dolphin hover:text-evening flex items-center gap-3 p-1 transition duration-300 hover:-translate-x-2"
3434 >
3535 <svg
3636 xmlns =" http://www.w3.org/2000/svg"
@@ -77,7 +77,7 @@ class="flex flex-col items-start gap-20 pt-7 transition duration-300 will-change
7777 </div >
7878
7979 <div class =" pt-2" >
80- <div class =" text-base text-dolphin " >
80+ <div class =" text-dolphin text-base " >
8181 {{ $article -> publish_date -> toFormattedDateString () } }
8282 </div >
8383 </div >
@@ -132,7 +132,7 @@ class="grid h-9 w-9 place-items-center rounded-full bg-rose-200/50 text-rose-600
132132 {{ $article -> isCompatibleWithLatestVersion () ? ' Compatible with the latest version' : ' Not compatible with the latest version' } }
133133 </div >
134134
135- <div class =" text-xs text- dolphin/80" >
135+ <div class =" text-dolphin/80 text-xs " >
136136 Supported versions:
137137 {{ implode (' - ' , array_map (fn (int $version ): string => $version . ' .x' , $article -> versions )) } }
138138 </div >
@@ -145,7 +145,7 @@ class="grid h-9 w-9 place-items-center rounded-full bg-rose-200/50 text-rose-600
145145 <div class =" flex flex-wrap items-center gap-3.5 pt-6" >
146146 @foreach ($article -> getCategories () as $category )
147147 <div
148- class =" select-none rounded-full bg-stone-200/50 px-5 py-2.5 text-sm"
148+ class =" rounded-full bg-stone-200/50 px-5 py-2.5 text-sm select-none "
149149 >
150150 <div class =" text-sm" >
151151 {{ $category -> name } }
@@ -157,7 +157,7 @@ class="select-none rounded-full bg-stone-200/50 px-5 py-2.5 text-sm"
157157 {{-- Content --}}
158158 <div class =" pt-8" >
159159 <div
160- class =" prose selection:bg-stone-500/30 prose-a:break-words prose-blockquote:not-italic prose-code:break-words prose-code:rounded-sm prose-code:bg-merino prose-code:px-1.5 prose-code:py-0.5 prose-code:font-normal prose-code:before:hidden prose-code:after:hidden [& _p]:before:hidden [& _p]:after:hidden"
160+ class =" prose prose-a:break-words prose-blockquote:not-italic prose-code:break-words prose-code:rounded-sm prose-code:bg-merino prose-code:px-1.5 prose-code:py-0.5 prose-code:font-normal prose-code:before:hidden prose-code:after:hidden selection:bg-stone-500/30 [& _p]:before:hidden [& _p]:after:hidden"
161161 >
162162 {!! \App \Support \Markdown:: parse ($article -> content ) ! !}
163163 </div >
@@ -169,7 +169,7 @@ class="prose selection:bg-stone-500/30 prose-a:break-words prose-blockquote:not-
169169 class =" flex w-full flex-wrap items-center gap-12 lg:max-w-sm xl:max-w-md"
170170 >
171171 {{-- Author --}}
172- <div class =" w-full pt-10 text-evening " >
172+ <div class =" text-evening w-full pt-10" >
173173 <div class =" grid w-full place-items-center" >
174174 {{-- Avatar --}}
175175 <div
@@ -195,7 +195,7 @@ class="aspect-square h-full w-full bg-cover bg-center bg-no-repeat"
195195 <a
196196 target =" _blank"
197197 href =" {{ $article -> author -> twitter_url } }"
198- class =" grid h-8 w-8 place-items-center rounded-full bg-merino text-hurricane transition duration-200 hover:scale-110 hover:text-salmon "
198+ class =" bg-merino text-hurricane hover:text-salmon grid h-8 w-8 place-items-center rounded-full transition duration-200 hover:scale-110"
199199 >
200200 <svg
201201 xmlns =" http://www.w3.org/2000/svg"
@@ -217,7 +217,7 @@ class="grid h-8 w-8 place-items-center rounded-full bg-merino text-hurricane tra
217217 <a
218218 target =" _blank"
219219 href =" {{ $article -> author -> github_url } }"
220- class =" grid h-8 w-8 place-items-center rounded-full bg-merino text-hurricane transition duration-200 hover:scale-110 hover:text-salmon "
220+ class =" bg-merino text-hurricane hover:text-salmon grid h-8 w-8 place-items-center rounded-full transition duration-200 hover:scale-110"
221221 >
222222 <svg
223223 xmlns =" http://www.w3.org/2000/svg"
@@ -242,7 +242,7 @@ class="grid h-8 w-8 place-items-center rounded-full bg-merino text-hurricane tra
242242 </div >
243243
244244 <div
245- class =" mt-4 space-y-4 rounded-2xl bg-merino/50 p-6 text-center shadow-lg shadow-black/[0.01]"
245+ class =" bg-merino/50 mt-4 space-y-4 rounded-2xl p-6 text-center shadow-lg shadow-black/[0.01]"
246246 >
247247 {{-- Bio --}}
248248 @if ($article -> author -> getBio () )
@@ -260,7 +260,7 @@ class="mt-4 space-y-4 rounded-2xl bg-merino/50 p-6 text-center shadow-lg shadow-
260260 {{ number_format ($article -> author -> articles ()-> published ()-> count (),) } }
261261 </div >
262262 <div
263- class =" text-sm font-medium text-hurricane/80 "
263+ class =" text-hurricane/80 text- sm font-medium"
264264 >
265265 Articles
266266 </div >
@@ -272,7 +272,7 @@ class="text-sm font-medium text-hurricane/80"
272272 {{ number_format ($article -> author -> getStarsCount ()) } }
273273 </div >
274274 <div
275- class =" text-sm font-medium text-hurricane/80 "
275+ class =" text-hurricane/80 text- sm font-medium"
276276 >
277277 Stars
278278 </div >
@@ -289,7 +289,7 @@ class="group relative z-10 block text-white"
289289 >
290290 {{-- Button --}}
291291 <div
292- class =" flex items-center justify-center gap-3 rounded-bl -3xl rounded-tr -3xl bg-midnight px-9 py-4 transition duration-200 group-hover:- translate-y -0.5 group-hover:translate-x -0.5 motion-reduce:transition-none motion-reduce:group-hover:transform-none"
292+ class =" bg-midnight flex items-center justify-center gap-3 rounded-tr -3xl rounded-bl -3xl px-9 py-4 transition duration-200 group-hover:translate-x -0.5 group-hover:- translate-y -0.5 motion-reduce:transition-none motion-reduce:group-hover:transform-none"
293293 >
294294 <div >Sponsor</div >
295295 <div >
@@ -309,7 +309,7 @@ class="flex items-center justify-center gap-3 rounded-bl-3xl rounded-tr-3xl bg-m
309309
310310 {{-- Shadow --}}
311311 <div
312- class =" absolute inset-0 -z-10 h-full w-full -translate-x-1.5 translate-y-1.5 rounded-bl -3xl rounded-tr -3xl bg-rose-300 transition duration-300 group-hover:-translate-x-2 group-hover:translate-y-2 group-hover:bg-butter motion-reduce:transition-none motion-reduce:group-hover:transform-none"
312+ class =" group-hover:bg-butter absolute inset-0 -z-10 h-full w-full -translate-x-1.5 translate-y-1.5 rounded-tr -3xl rounded-bl -3xl bg-rose-300 transition duration-300 group-hover:-translate-x-2 group-hover:translate-y-2 motion-reduce:transition-none motion-reduce:group-hover:transform-none"
313313 ></div >
314314 </a >
315315 </div >
@@ -329,7 +329,7 @@ class="absolute inset-0 -z-10 h-full w-full -translate-x-1.5 translate-y-1.5 rou
329329 @foreach ($otherArticles as $otherArticle )
330330 <a
331331 href =" {{ route (' articles.view' , [' article' => $otherArticle ]) } }"
332- class =" relative block w-full rounded-2xl bg-white px-5 py-3 shadow-lg shadow-hurricane/5 transition duration-300 ease-out will-change-transform hover:translate-x-2"
332+ class =" shadow-hurricane/5 relative block w-full rounded-2xl bg-white px-5 py-3 shadow-lg transition duration-300 ease-out will-change-transform hover:translate-x-2"
333333 >
334334 <div
335335 class =" flex w-full items-center justify-between gap-5"
@@ -357,20 +357,20 @@ class="text-peach-orange"
357357 />
358358 </svg >
359359 <div
360- class =" pt-0.5 text-sm font-medium text-dolphin "
360+ class =" text-dolphin pt-0.5 text-sm font-medium"
361361 >
362362 {{ number_format ($otherArticle -> getStarsCount ()) } }
363363 </div >
364364 </div >
365365 </div >
366366
367367 {{-- Title --}}
368- <div class =" px-1 pb-1 pt-4 font-medium" >
368+ <div class =" px-1 pt-4 pb-1 font-medium" >
369369 <div class =" line-clamp-2" >
370370 {{ $otherArticle -> title } }
371371 </div >
372372 <div
373- class =" pt-1 text-xs text-dolphin/80 "
373+ class =" text-dolphin/80 pt-1 text-xs"
374374 >
375375 {{ $otherArticle -> publish_date -> diffForHumans () } }
376376 </div >
0 commit comments