1515 <div class =" mx-auto max-w-7xl px-6 lg:px-8" >
1616 <!-- Section Title -->
1717 <div class =" mx-auto max-w-2xl text-center" >
18- <h2 class =" text-3xl font-bold tracking-tight text-skin-neutral-11 sm:text-4xl" >
18+ <h2 class =" text-skin-neutral-11 text- 3xl font-bold tracking-tight sm:text-4xl" >
1919 Blog
2020 </h2 >
2121
22- <p class =" mt-2 text-lg leading-8 text-skin-neutral-12 " >
22+ <p class =" text-skin-neutral-12 mt-2 text-lg leading-8" >
2323 @if (isset ($fromArchive ) )
2424 Posts from archive:
2525 <span class =" font-semibold" >{{ $fromArchive } } </span >
4343 <div
4444 class =" mx-auto mt-16 grid max-w-sm grid-cols-1 gap-x-8 gap-y-16 md:max-w-2xl md:grid-cols-2 lg:mx-0 lg:max-w-none lg:grid-cols-3" >
4545 @foreach ($posts as $post )
46- <article class =" rounded bg-skin-neutral-11" >
46+ <article class =" bg-skin-neutral-11 rounded " >
4747 <a href =" /blog/{{ $post -> slug } }"
48- class =" flex flex-col items-start justify-between px-6 py-6 text-skin-neutral-2 transition-all duration-300 ease-out hover:bg-skin-neutral-12 hover:text-skin-neutral-1 " >
48+ class =" text-skin-neutral-2 hover:bg-skin-neutral-12 hover:text-skin-neutral-1 flex flex-col items-start justify-between px-6 py-6 transition-all duration-300 ease-out" >
4949 <header class =" relative w-full" >
5050 @if ($post -> image_url )
5151 <img src =" {{ $post -> image_url } }" alt =" {{ $post -> title } }"
52- class =" aspect-[16/9] w-full object-cover sm:aspect-[2/1] lg:aspect-[3/2]" />
52+ class =" aspect-[16/9] w-full rounded-2xl object-cover sm:aspect-[2/1] lg:aspect-[3/2]" />
5353 @else
5454 <div
55- class =" flex aspect-[16/9] w-full items-center justify-center rounded-2xl bg-gradient-to-bl from-skin-neutral-1 to-skin-neutral-6 sm:aspect-[2/1] lg:aspect-[3/2]" >
56- <span class =" text-lg text- skin-neutral-9" >
55+ class =" from-skin-neutral-1 to-skin-neutral-6 flex aspect-[16/9] w-full items-center justify-center rounded-2xl bg-gradient-to-bl sm:aspect-[2/1] lg:aspect-[3/2]" >
56+ <span class =" text-skin-neutral-9 text-lg " >
5757 N/A
5858 </span >
5959 </div >
6060 @endif
61- <div class =" absolute inset-0 rounded-2xl ring-1 ring-inset ring-skin-neutral-10/10 " >
61+ <div class =" ring-skin-neutral-10/10 absolute inset-0 rounded-2xl ring-1 ring-inset" >
6262 </div >
6363 </header >
6464 <div class =" max-w-xl" >
@@ -77,7 +77,7 @@ class="h-3 w-3">
7777 @if ($post -> author -> image_url )
7878 <img src =" {{ $post -> author -> image_url } }"
7979 alt =" {{ $post -> author -> name } }"
80- class =" h-4 w-4 rounded-md bg-skin-neutral-2 object-cover" />
80+ class =" bg-skin-neutral-2 h-4 w-4 rounded-md object-cover" />
8181 @else
8282 <svg xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 24 24"
8383 fill =" currentColor" class =" h-4 w-4" >
@@ -91,7 +91,7 @@ class="h-4 w-4 rounded-md bg-skin-neutral-2 object-cover" />
9191 </div >
9292 </div >
9393 <div class =" group relative mb-2" >
94- <h3 class =" mb-2 mt-3 min-h-12 text-lg font-semibold leading-6" >
94+ <h3 class =" mt-3 mb-2 min-h-12 text-lg leading-6 font-semibold " >
9595 <span class =" absolute inset-0" ></span >
9696 {{ $post -> title } }
9797 </h3 >
@@ -103,7 +103,7 @@ class="h-4 w-4 rounded-md bg-skin-neutral-2 object-cover" />
103103 <footer class =" mt-4 min-h-[44px]" >
104104 @foreach ($post -> tags as $tag )
105105 <a href =" /blog/tag/{{ $tag -> slug } }"
106- class =" mr-2 inline-block rounded bg-skin-neutral-1 px-3 py-1.5 text-sm" >
106+ class =" bg-skin-neutral-1 mr-2 inline-block rounded px-3 py-1.5 text-sm" >
107107 {{ $tag -> name } }
108108 </a >
109109 @endforeach
@@ -115,7 +115,7 @@ class="mr-2 inline-block rounded bg-skin-neutral-1 px-3 py-1.5 text-sm">
115115 @endforeach
116116 </div >
117117 @else
118- <p class =" mt-2 rounded bg-skin-neutral-3 px-4 py-2 text-skin-neutral-9" >
118+ <p class =" bg-skin-neutral-3 text-skin-neutral-9 mt-2 rounded px-4 py-2 " >
119119 No posts found.
120120 </p >
121121 @endif
0 commit comments