mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
fix: better resume
This commit is contained in:
@ -42,7 +42,11 @@ const BlogPostPage: NextPage<BlogPostPageProps> = (props) => {
|
||||
const { src, alt, ...props } = properties
|
||||
let source = src
|
||||
source = src?.replace('../public/', '/')
|
||||
return <img src={source} alt={alt} {...props} />
|
||||
return (
|
||||
<span className='flex flex-col items-center justify-center'>
|
||||
<img src={source} alt={alt} {...props} />
|
||||
</span>
|
||||
)
|
||||
},
|
||||
a: (props) => {
|
||||
if (props.href?.startsWith('#') ?? false) {
|
||||
|
Reference in New Issue
Block a user