mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
New post - more css changes (date)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import {Link} from 'react-router';
|
||||
|
||||
import '../../assets/scss/Preview.scss';
|
||||
import '../../assets/scss/Content.scss';
|
||||
|
||||
export default class Preview extends React.Component{
|
||||
|
||||
@@ -17,7 +17,7 @@ export default class Preview extends React.Component{
|
||||
<p>{posts[i].intro.toString()}</p>
|
||||
<p>
|
||||
<Link class="link" to={`/post/${posts[i].category}/${posts[i].filename}`}>
|
||||
continue reading...
|
||||
continue reading <i class="fa fa-caret-right" aria-hidden="true"></i>
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
@@ -31,7 +31,7 @@ export default class Preview extends React.Component{
|
||||
const posts = this.props.posts;
|
||||
|
||||
return (
|
||||
<div class="Preview">
|
||||
<div class="Content">
|
||||
{posts.length > 0 ? this.insertPosts(posts): ""}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user