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