mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
10 lines
No EOL
259 B
JavaScript
10 lines
No EOL
259 B
JavaScript
const PostThumbnail = ({post}) => {
|
|
return (
|
|
<a className="post-thumbnail" href={Posts.getLink(post)} target={Posts.getLinkTarget(post)}>
|
|
<img src={post.thumbnailUrl} />
|
|
</a>
|
|
)
|
|
}
|
|
|
|
module.exports = PostThumbnail;
|
|
export default PostThumbnail; |