@@ -106,10 +106,10 @@ export default async function PostPage({ params }: PostPageProps) {
106106
107107 return (
108108 < div className = "" >
109- < div className = "container w-full max-w-screen-2xl " >
109+ < div className = "container w-full max-w-7xl " >
110110 < div className = "flex items-center justify-center pt-16 pb-4 sm:pt-36 sm:pb-12" >
111111 < div className = "relative flex flex-col items-center justify-center w-full" >
112- < h1 className = "text-center h1 text-4xl sm:text-5xl lg:text-6xl " > { post . frontmatter . title } </ h1 >
112+ < h1 className = "text-center h1" > { post . frontmatter . title } </ h1 >
113113 < Image
114114 src = "/illustrations/underline.svg"
115115 alt = { locale === 'de' ? 'Unterstrich' : 'Underline' }
@@ -122,9 +122,9 @@ export default async function PostPage({ params }: PostPageProps) {
122122 </ div >
123123
124124 < div className = "lg:pb-48 sm:pb-32 pb-28" >
125- < div className = "container mt-12 w-full max-w-screen-2xl " >
126- < div className = "flex flex-col xl:flex-row gap-12 xl:gap-8" >
127- < div className = "flex-1 w-full space-y-8" >
125+ < div className = "container mt-12 w-full" >
126+ < div className = "flex flex-col-reverse xl:flex-row gap-12 xl:gap-8" >
127+ < div className = "space-y-8" >
128128 < div className = "space-y-6 sm:space-y-5" >
129129 < div className = "flex flex-wrap items-center gap-6 sm:gap-8" >
130130 < div className = "flex items-center gap-2 text-purple" >
@@ -135,9 +135,9 @@ export default async function PostPage({ params }: PostPageProps) {
135135 clipRule = "evenodd"
136136 />
137137 </ svg >
138- < time className = "text-lg font-medium" > { formattedDate } </ time >
138+ < time className = "text-base font-medium" > { formattedDate } </ time >
139139 </ div >
140- < div className = "flex items-center gap-2 text-purple" >
140+ < div className = "flex items-center gap-2 text-purple hover:text-purple-700 group " >
141141 < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 24 24" fill = "currentColor" className = "w-6 h-6" >
142142 < path
143143 fillRule = "evenodd"
@@ -146,15 +146,15 @@ export default async function PostPage({ params }: PostPageProps) {
146146 />
147147 </ svg >
148148 { author ?. link ? (
149- < Link href = { author . link } className = "text-lg font-medium text-blue hover:text-purple transition-colors" >
149+ < Link href = { author . link } className = "text-lg font-medium text-purple group- hover:text-purple-700 transition-colors" >
150150 { authorName }
151151 </ Link >
152152 ) : (
153- < span className = "text-lg font-medium" > { authorName } </ span >
153+ < span className = "text-base font-medium" > { authorName } </ span >
154154 ) }
155155 </ div >
156156 </ div >
157- < div className = "flex flex-wrap items-center gap-4 mt-4 text-sm sm:text-base sm:mt-3 text-purple" >
157+ < div className = "flex flex-wrap items-center gap-4 mt-4 text-sm sm:text-sm sm:mt-3 text-purple" >
158158 { post . frontmatter . categories ?. map ( ( category , index ) => (
159159 < p key = { index } > #{ category } </ p >
160160 ) ) }
@@ -176,8 +176,7 @@ export default async function PostPage({ params }: PostPageProps) {
176176 ) }
177177
178178 < div
179- className = "text-blue prose prose-lg prose-a:text-purple-700 prose-code:bg-yellow prose-p:text-lg prose-p:leading-8 prose-blockquote:border-l-0 prose-blockquote:bg-green-100 prose-blockquote:not-italic prose-blockquote:px-8 prose-blockquote:py-3 prose-blockquote:rounded-3xl relative"
180- style = { { maxWidth : '100%' } }
179+ className = "text-blue sm:prose-base prose prose-sm prose-pre:prose-code:text-sm prose-ul:marker:text-blue prose-a:text-purple-700 prose-pre:prose-code:bg-transparent prose-code:bg-yellow prose-p:sm:leading-7 prose-blockquote:border-l-0 prose-blockquote:bg-green-100 prose-blockquote:not-italic prose-blockquote:px-8 prose-blockquote:py-3 prose-blockquote:rounded-3xl relative"
181180 dangerouslySetInnerHTML = { { __html : post . contentHtml || '' } }
182181 />
183182 </ div >
@@ -186,18 +185,17 @@ export default async function PostPage({ params }: PostPageProps) {
186185 < aside className = "w-full xl:max-w-sm shrink-0" >
187186 < div className = "rounded-[30px] w-full shadow-4 bg-white xl:p-5 p-4 xl:block md:flex lg:items-center" >
188187 { author . picture && (
189- < div className = "relative lg:w -40 md:w-48 sm:w-40 w -28 h-28 md:h-auto lg:h-40 shrink-0 overflow-hidden rounded-3xl bg-gray-100 xl:float-left md:float-none float-left xl:mr-6 mr-4" >
188+ < div className = "relative lg:size -40 md:size-44 sm:size-36 size -28 shrink-0 overflow-hidden rounded-3xl bg-gray-100 xl:float-left md:float-none float-left xl:mr-6 mr-4" >
190189 < Image
191190 src = { author . picture }
192191 alt = { authorName }
193192 fill
194- sizes = "(max-width: 640px) 112px, (max-width: 1024px) 160px, 192px"
195- className = "object-cover"
193+ className = "object-cover sm:size-28 xl:size-40 md:size-56"
196194 />
197195 </ div >
198196 ) }
199197 < div >
200- < h4 className = "mb-2 text-xl font-bold" >
198+ < h4 className = "mb-2 text-lg font-bold" >
201199 { author . link ? (
202200 < Link href = { author . link } className = "hover:text-purple transition-colors" >
203201 { authorName }
@@ -207,7 +205,7 @@ export default async function PostPage({ params }: PostPageProps) {
207205 ) }
208206 </ h4 >
209207 { author . bio && (
210- < p className = "text-base leading-7 " >
208+ < p className = "text-sm leading-6 text-blue " >
211209 { author . bio }
212210 </ p >
213211 ) }
0 commit comments