added basic series posts
This commit is contained in:
parent
8d6347d6ca
commit
a6ac1b4b34
5 changed files with 189 additions and 45 deletions
|
@ -69,13 +69,17 @@ export default class PostCard extends React.Component<PostCardProps> {
|
|||
</StyledTitle>
|
||||
<small>
|
||||
<table>
|
||||
{this.props.postData.tags.map((tag) => {
|
||||
return (
|
||||
<td key={this.props.postData.title + tag}>
|
||||
<Tag text={tag} />
|
||||
</td>
|
||||
)
|
||||
})}
|
||||
{this.props.postData.tags ? (
|
||||
this.props.postData.tags.map((tag) => {
|
||||
return (
|
||||
<td key={this.props.postData.title + tag}>
|
||||
<Tag text={tag} />
|
||||
</td>
|
||||
)
|
||||
})
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</table>
|
||||
Published on{" "}
|
||||
{this.props.postData?.date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue