File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,13 +69,16 @@ export default async function PostPage({ params }: { params: Promise<{ slug: str
6969 < article className = "mt-8" >
7070 < MDXContent source = { post . source } />
7171 </ article >
72- < div className = "border-color mt-8 flex w-full flex-row justify-between gap-6 border-t pt-8" >
73- < Link href = "/posts" className = { cn ( buttonVariants ( { variant : 'outline' } ) , 'w-full ' ) } >
72+ < div className = "border-color mt-8 flex w-full flex-row justify-center gap-4 border-t pt-8" >
73+ < Link href = "/posts" className = { cn ( buttonVariants ( { variant : 'outline' } ) , 'w-2/5 md:w-1/2 ' ) } >
7474 < ChevronLeft width = { 16 } height = { 16 } />
7575 All posts
7676 </ Link >
7777 { ! ! previousPost && (
78- < Link href = { `/posts/${ previousPost . slug } ` } className = { cn ( buttonVariants ( { variant : 'outline' } ) , 'w-full' ) } >
78+ < Link
79+ href = { `/posts/${ previousPost . slug } ` }
80+ className = { cn ( buttonVariants ( { variant : 'outline' } ) , 'w-2/5 md:w-1/2' ) }
81+ >
7982 < ChevronRight width = { 16 } height = { 16 } />
8083 Next
8184 </ Link >
You can’t perform that action at this time.
0 commit comments