@@ -206,7 +206,7 @@ const EditorialBlogPostPage = () => {
206206
207207 { /* Main Content */ }
208208 < main className = "pt-32 pb-20" >
209- < div className = "max-w-[90rem] mx-auto px-6 md:px-12 " >
209+ < div className = "max-w-[90rem] mx-auto px-[25px] md:pl-[5.77rem] md:pr-[2.22rem] " >
210210 < div className = { `border-b ${ isInvert ? 'border-[#f4f4f4]/25' : 'border-[#1a1a1a]/25' } pb-12 mb-12` } >
211211 < div className = "flex flex-col items-center text-center" >
212212 < h1 className = "font-instr-serif italic text-6xl md:text-9xl mb-12 leading-[0.8] max-w-6xl tracking-tighter" >
@@ -298,15 +298,35 @@ const EditorialBlogPostPage = () => {
298298 ) }
299299 </ figure >
300300 ) ,
301- h1 : ( { children} ) => < h2 className = "text-5xl font-instr-serif mt-20 mb-8 tracking-tight" > { children } </ h2 > ,
302- h2 : ( { children} ) => < h2 className = "text-4xl font-instr-serif mt-16 mb-6 tracking-tight" > { children } </ h2 > ,
303- h3 : ( { children} ) => < h3 className = "text-3xl font-instr-serif italic mt-12 mb-4 tracking-tight" > { children } </ h3 > ,
304- h4 : ( { children} ) => < h4 className = "text-2xl font-instr-serif italic mt-10 mb-4 tracking-tight" > { children } </ h4 > ,
301+ h1 : ( { children} ) => (
302+ < div className = "mt-20 mb-8" >
303+ < h2 className = "text-5xl font-instr-serif tracking-tight mb-6" > { children } </ h2 >
304+ < hr className = { `border-t w-full ${ isInvert ? 'border-white/25' : 'border-black/25' } ` } />
305+ </ div >
306+ ) ,
307+ h2 : ( { children} ) => (
308+ < div className = "mt-16 mb-6" >
309+ < h2 className = "text-4xl font-instr-serif tracking-tight mb-4" > { children } </ h2 >
310+ < hr className = { `border-t w-full ${ isInvert ? 'border-white/25' : 'border-black/25' } ` } />
311+ </ div >
312+ ) ,
313+ h3 : ( { children} ) => (
314+ < div className = "mt-12 mb-4" >
315+ < h3 className = "text-3xl font-instr-serif italic tracking-tight mb-3" > { children } </ h3 >
316+ < hr className = { `border-t w-full ${ isInvert ? 'border-white/25' : 'border-black/25' } ` } />
317+ </ div >
318+ ) ,
319+ h4 : ( { children} ) => (
320+ < div className = "mt-10 mb-4" >
321+ < h4 className = "text-2xl font-instr-serif italic tracking-tight mb-3" > { children } </ h4 >
322+ < hr className = { `border-t w-full ${ isInvert ? 'border-white/25' : 'border-black/25' } ` } />
323+ </ div >
324+ ) ,
305325 p : ( { node, children } ) => {
306326 if ( node . children [ 0 ] . tagName === 'img' ) {
307327 return < div className = "mb-8 last:mb-0" > { children } </ div > ;
308328 }
309- return < p className = "mb-8 last:mb-0 leading-[1.6 ]" > { children } </ p > ;
329+ return < p className = "mb-8 last:mb-0 leading-[1.8 ]" > { children } </ p > ;
310330 } ,
311331 blockquote : ( { children} ) => (
312332 < blockquote className = { `border-l-4 pl-8 my-12 italic text-3xl font-light ${ isInvert ? 'border-white/20 text-white/90' : 'border-black/20 text-black/90' } ` } >
@@ -315,14 +335,24 @@ const EditorialBlogPostPage = () => {
315335 ) ,
316336 ul : ( { children} ) => < ul className = "list-disc pl-6 my-8 space-y-3" > { children } </ ul > ,
317337 ol : ( { children} ) => < ol className = "list-decimal pl-6 my-8 space-y-3" > { children } </ ol > ,
318- hr : ( ) => < hr className = { `my-16 border-t ${ isInvert ? 'border-white/10 ' : 'border-black/10 ' } ` } /> ,
338+ hr : ( ) => < hr className = { `my-16 border-t w-full ${ isInvert ? 'border-white/25 ' : 'border-black/25 ' } ` } /> ,
319339 } }
320340 />
321341 </ div >
322342
343+ { /* Back to Index Footer */ }
344+ < div className = { `mt-24 pt-12 border-t ${ isInvert ? 'border-[#f4f4f4]/25' : 'border-[#1a1a1a]/25' } text-center` } >
345+ < Link
346+ to = "/blog"
347+ className = { `inline-flex items-center gap-2 font-instr-sans text-xl tracking-tight ${ isInvert ? 'text-white hover:text-white/70' : 'text-black hover:text-black/70' } transition-opacity` }
348+ >
349+ < span className = "text-lg" > ←</ span > Back to Blogposts
350+ </ Link >
351+ </ div >
352+
323353 { /* Series Navigation */ }
324354 { ( prevPost || nextPost ) && (
325- < div className = { `mt-32 pt-16 border-t ${ isInvert ? 'border-[#f4f4f4]/25' : 'border-[#1a1a1a]/25' } ` } >
355+ < div className = { `mt-12 pt-16 border-t ${ isInvert ? 'border-[#f4f4f4]/25' : 'border-[#1a1a1a]/25' } ` } >
326356 < div className = "grid grid-cols-1 md:grid-cols-2 gap-8 max-w-6xl mx-auto" >
327357 { prevPost ? (
328358 < Link
0 commit comments