mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
14 lines
No EOL
362 B
JavaScript
14 lines
No EOL
362 B
JavaScript
import React from 'react';
|
|
|
|
const PostsThumbnail = ({post}) => {
|
|
return (
|
|
<a className="posts-thumbnail" href={Posts.getLink(post)} target={Posts.getLinkTarget(post)}>
|
|
<span><img src={Posts.getThumbnailUrl(post)} /></span>
|
|
</a>
|
|
)
|
|
}
|
|
|
|
PostsThumbnail.displayName = "PostsThumbnail";
|
|
|
|
module.exports = PostsThumbnail;
|
|
export default PostsThumbnail; |