@@ -8,34 +8,34 @@ import Link from "next/link";
88
99const components : MDXComponents = {
1010 h1 : ( { children } ) => (
11- < h1 className = "text-center uppercase text-[1.88em] leading-tight mt-7 tracking-[0.14em] font-semibold " >
11+ < h1 className = "mt-7 text-center text-[1.88em] font-semibold uppercase leading-tight tracking-[0.14em]" >
1212 { children }
1313 </ h1 >
1414 ) ,
1515 h2 : ( { children } ) => (
16- < h2 className = "uppercase text-[1.5em] mt-8 mb-4 sm:mb-8 leading-[1.2] font-semibold tracking-[0.08em]" >
16+ < h2 className = "mb-4 mt-8 text-[1.5em] font-semibold uppercase leading-[1.2] tracking-[0.08em] sm:mb-8 " >
1717 { children }
1818 </ h2 >
1919 ) ,
2020 h3 : ( { children } ) => (
21- < h3 className = "uppercase text-[1.25rem] mt-6 mb-3 sm:mb-6 leading-tight font-medium tracking-[0.08em]" >
21+ < h3 className = "mb-3 mt-6 text-[1.25rem] font-medium uppercase leading-tight tracking-[0.08em] sm:mb-6 " >
2222 { children }
2323 </ h3 >
2424 ) ,
2525 h4 : ( { children } ) => (
26- < h4 className = "uppercase text-[1.125rem] mt-11 mb-3 sm:mb-6 font-medium tracking-[0.08em]" >
26+ < h4 className = "mb-3 mt-11 text-[1.125rem] font-medium uppercase tracking-[0.08em] sm:mb-6 " >
2727 { children }
2828 </ h4 >
2929 ) ,
3030 hr : ( ) => < hr className = "my-8 border-black dark:border-white" /> ,
31- ul : ( { children } ) => < ul className = "list-disc ml-8" > { children } </ ul > ,
32- ol : ( { children } ) => < ol className = "list-decimal ml-8" > { children } </ ol > ,
31+ ul : ( { children } ) => < ul className = "ml-8 list-disc " > { children } </ ul > ,
32+ ol : ( { children } ) => < ol className = "ml-8 list-decimal " > { children } </ ol > ,
3333 li : ( { children } ) => < li className = "my-2" > { children } </ li > ,
3434 img : ( { src, alt } ) => (
3535 // FIXME: Figure out how to use next/image with MDX
3636 // eslint-disable-next-line @next/next/no-img-element
3737 < img
38- className = "mx-auto my-12 rounded-[4px] border-teal-400 border- [1.5px]"
38+ className = "mx-auto my-12 rounded-[4px] border-[1.5px] border-teal-400 "
3939 src = { src }
4040 alt = { alt }
4141 style = { { maxWidth : "100%" } }
@@ -45,34 +45,34 @@ const components: MDXComponents = {
4545 // FIXME: Figure out how to use next/image with MDX
4646 // eslint-disable-next-line @next/next/no-img-element
4747 < img
48- className = "mx-auto my-12 border-teal-400 border p-3 sm:p-6 rounded-sm "
48+ className = "mx-auto my-12 rounded-sm border border -teal-400 p-3 sm:p-6"
4949 src = { src }
5050 alt = { alt }
5151 style = { { maxWidth : "100%" } }
5252 />
5353 ) ,
5454 CalloutBox : ( { children } ) => (
55- < div className = "border-teal-400 border rounded-sm px-7 my-12 pb-6" >
55+ < div className = "my-12 rounded-sm border border-teal-400 px-7 pb-6" >
5656 { children }
5757 </ div >
5858 ) ,
5959 Testimonials : ( { children } ) => (
60- < div className = "flex flex-col gap-5 mt-8 " > { children } </ div >
60+ < div className = "mt-8 flex flex-col gap-5" > { children } </ div >
6161 ) ,
6262 Testimonial : ( { children, src, name, title, company } ) => (
63- < div className = "flex flex-col items-center bg- teal-100 dark: bg-teal-900 border border -teal-400 text -teal-700 dark:text-teal-300 p-3 sm:p-6 rounded-sm " >
64- < blockquote className = "mb-5 sm:mb-6 flex flex-col gap-4" >
63+ < div className = "flex flex-col items-center rounded-sm border border- teal-400 bg-teal-100 p-3 text -teal-700 dark:bg -teal-900 dark:text-teal-300 sm:p-6" >
64+ < blockquote className = "mb-5 flex flex-col gap-4 sm:mb-6 " >
6565 { children }
6666 </ blockquote >
6767 < div className = "flex items-center gap-4" >
6868 { /* eslint-disable-next-line @next/next/no-img-element */ }
6969 < img
70- className = "rounded-full w- [4.5em] h -[4.5em] border-teal-400 border dark:border-[0.5px]"
70+ className = "h- [4.5em] w -[4.5em] rounded-full border border -teal-400 dark:border-[0.5px]"
7171 src = { src }
7272 alt = { name }
7373 />
7474 < div className = "flex flex-col gap-[0.375rem]" >
75- < div className = "text-teal-800 dark:text-teal-200 font-semibold text-[1.2em] leading-none " >
75+ < div className = "text-[1.2em] font-semibold leading-none text- teal-800 dark:text-teal-200" >
7676 { name }
7777 </ div >
7878 < div className = "text-[0.9em] leading-none" > { title } </ div >
@@ -82,7 +82,7 @@ const components: MDXComponents = {
8282 </ div >
8383 ) ,
8484 Tiers : ( { children } ) => (
85- < div className = "my-8 font-medium tracking-[0.1em] text-[1.2em ]" >
85+ < div className = "my-8 text-[1.2em] font-medium tracking-[0.1em]" >
8686 { children }
8787 </ div >
8888 ) ,
@@ -118,12 +118,12 @@ export function Layout({ title, description, relativeUrl, children }: Props) {
118118 />
119119 </ Head >
120120 < MDXProvider components = { components } >
121- < main className = "text-salmon-900 dark:text-salmon-100 font-mono font-normal sm:dark:font-light px-4 pt-8 sm:pt-16 lg:pt-20 pb-8 tracking-[0.08em] leading-6 " >
122- < div className = "max-w-prose mx-auto " >
121+ < main className = "text-salmon-900 dark:text-salmon-100 px-4 pb-8 pt-8 font-mono font-normal leading-6 tracking-[0.08em] sm: pt-16 sm:dark:font-light lg:pt-20" >
122+ < div className = "mx-auto max-w-prose" >
123123 < Link href = "/" >
124124 < Logo
125125 title = "Logo"
126- className = "mx-auto align-middle w- [6.284em] h -[6.284em]"
126+ className = "mx-auto h- [6.284em] w -[6.284em] align-middle "
127127 />
128128 </ Link >
129129 { children }
0 commit comments