feat: make author clickable

This commit is contained in:
2023-08-12 18:32:56 +02:00
parent d2a02fcf34
commit 2b4173d759
27 changed files with 257 additions and 174 deletions

View File

@@ -36,6 +36,7 @@ const Image = (
src: string;
alt?: string;
thumbnail?: string;
fill?: boolean;
width?: number | string;
height?: number | string;
style?: CSS.HtmlAttributes;
@@ -48,10 +49,10 @@ const Image = (
return (
<span
style={{
position: "absolute",
width: "100%",
height: "100%",
zIndex: -1,
position: props.fill ? "absolute" : "",
width: props.fill ? "100%" : "",
height: props.fill ? "100%" : "",
zIndex: props.fill ? -1 : "",
}}
data-thumb={props.thumbnail}
>