aboutsummaryrefslogtreecommitdiff
path: root/src/Post.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-23 23:58:45 -0300
committerLibravatar Renard 2019-09-23 23:58:45 -0300
commit34bd6eb0abd851ac9704a08dd26466a758d216bc (patch)
tree177f9a3c5a4d6f465ad70347387b871c235193e0 /src/Post.js
parent8d7891a25bbf94d5c678b71379519453ed846e55 (diff)
downloadbai-client-34bd6eb0abd851ac9704a08dd26466a758d216bc.tar.gz
bai-client-34bd6eb0abd851ac9704a08dd26466a758d216bc.tar.xz
bai-client-34bd6eb0abd851ac9704a08dd26466a758d216bc.zip
Enlace a archivo adjunto
Diffstat (limited to 'src/Post.js')
-rw-r--r--src/Post.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Post.js b/src/Post.js
index ba3f6e8..438e0fd 100644
--- a/src/Post.js
+++ b/src/Post.js
@@ -200,7 +200,14 @@ const Post = ({ index, post, locked, threadId, currentBoard, nightMode }) => {
/>
}
/>
- {post.file} {post.image_width}x{post.image_height}{" "}
+ <a
+ target="_blank"
+ rel="noopener noreferrer"
+ href={`https://bienvenidoainternet.org/${currentBoard.dir}/src/${post.file}`}
+ >
+ {post.file}
+ </a>{" "}
+ {post.image_width}x{post.image_height}{" "}
{filesize(post.file_size, { bits: true })}
</div>
) : null}