1
1
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:
Divlo
2022-11-19 20:24:13 +01:00
parent 014044573a
commit c88887a322
14 changed files with 1429 additions and 2348 deletions

View File

@ -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) {