@@ -391,51 +391,58 @@ function Index() {
391391 </ a >
392392 </ h3 >
393393 < div className = "grid grid-cols-1 md:grid-cols-3 gap-4" >
394- { recentPosts . map ( ( { slug, title, published, excerpt, authors } ) => {
395- return (
396- < Link
397- key = { slug }
398- to = "/blog/$"
399- params = { { _splat : slug } }
400- className = { `flex flex-col gap-3 justify-between
394+ { recentPosts . map (
395+ ( { slug, title, published, excerpt, authors } ) => {
396+ return (
397+ < Link
398+ key = { slug }
399+ to = "/blog/$"
400+ params = { { _splat : slug } }
401+ className = { `flex flex-col gap-3 justify-between
401402 border-2 border-transparent rounded-lg p-4
402403 transition-all bg-white/90 dark:bg-black/40
403404 shadow-md dark:shadow-lg dark:shadow-blue-500/20
404405 hover:border-blue-500 hover:shadow-xl
405406 ` }
406- >
407- < div >
408- < div className = { `text-base font-bold` } > { title } </ div >
409- < div className = { `text-xs italic font-light mt-1 text-gray-600 dark:text-gray-400` } >
410- < p >
411- by { formatAuthors ( authors ) }
412- { published ? (
413- < time
414- dateTime = { published }
415- title = { format ( new Date ( published ) , 'MMM dd, yyyy' ) }
416- >
417- { ' ' }
418- on { format ( new Date ( published ) , 'MMM dd, yyyy' ) }
419- </ time >
420- ) : null }
421- </ p >
422- </ div >
423- { excerpt && (
407+ >
408+ < div >
409+ < div className = { `text-base font-bold` } > { title } </ div >
424410 < div
425- className = { `text-xs mt-3 text-gray-700 dark:text-gray-300 line-clamp-2 leading-relaxed ` }
411+ className = { `text-xs italic font-light mt-1 text-gray-600 dark:text-gray-400 ` }
426412 >
427- < Markdown rawContent = { excerpt } />
413+ < p >
414+ by { formatAuthors ( authors ) }
415+ { published ? (
416+ < time
417+ dateTime = { published }
418+ title = { format (
419+ new Date ( published ) ,
420+ 'MMM dd, yyyy'
421+ ) }
422+ >
423+ { ' ' }
424+ on { format ( new Date ( published ) , 'MMM dd, yyyy' ) }
425+ </ time >
426+ ) : null }
427+ </ p >
428+ </ div >
429+ { excerpt && (
430+ < div
431+ className = { `text-xs mt-3 text-gray-700 dark:text-gray-300 line-clamp-2 leading-relaxed` }
432+ >
433+ < Markdown rawContent = { excerpt } />
434+ </ div >
435+ ) }
436+ </ div >
437+ < div >
438+ < div className = "text-blue-500 uppercase font-bold text-xs" >
439+ Read More →
428440 </ div >
429- ) }
430- </ div >
431- < div >
432- < div className = "text-blue-500 uppercase font-bold text-xs" >
433- Read More →
434441 </ div >
435- </ div >
436- </ Link >
437- )
438- } ) }
442+ </ Link >
443+ )
444+ }
445+ ) }
439446 </ div >
440447 < div className = "text-center mt-6" >
441448 < Link
@@ -517,7 +524,10 @@ function Index() {
517524 </ div >
518525
519526 < div className = "px-4 lg:max-w-(--breakpoint-lg) md:mx-auto" >
520- < h3 id = "maintainers" className = { `text-4xl font-light mb-6 scroll-mt-24` } >
527+ < h3
528+ id = "maintainers"
529+ className = { `text-4xl font-light mb-6 scroll-mt-24` }
530+ >
521531 < a
522532 href = "#maintainers"
523533 className = "hover:underline decoration-gray-400 dark:decoration-gray-600"
0 commit comments