@@ -9,6 +9,7 @@ import styled from 'styled-components'
99const Post = styled . article `
1010 border-bottom: 1px solid rgba(214, 209, 230, 0.5);
1111 padding-bottom: 1.25rem;
12+ margin-bottom: 2rem;
1213`
1314
1415const ReadPost = styled ( Link ) `
@@ -37,7 +38,7 @@ const PostDate = styled.time`
3738`
3839
3940const PostHeader = styled . header `
40- padding: 1em 0;
41+ padding: 0em 0;
4142`
4243
4344const Excerpt = styled . p `
@@ -46,12 +47,18 @@ const Excerpt = styled.p`
4647`
4748
4849const PostTitleLink = styled ( Link ) `
50+ font-size: 1.6rem;
51+ font-weight: bold;
52+ font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
4953 &:hover {
5054 border-bottom: 1px dotted rgba(34, 34, 34, 0.8);
5155 }
5256`
5357const PostSubTitle = styled . p `
54- padding: 1em 0;
58+ padding: 0.8rem 0;
59+ font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
60+ font-style: italic;
61+ font-size: 1.2rem;
5562`
5663
5764class PostsListItem extends React . Component {
@@ -75,10 +82,11 @@ class PostsListItem extends React.Component {
7582 < TagList tags = { tags } icon = { true } />
7683 < PostDate > { date } </ PostDate >
7784 < AuthorList authors = { authors } />
78- < ReadPost to = { slug } > Read post ›</ ReadPost >
85+ { /* <ReadPost to={slug}>Read post ›</ReadPost> */ }
7986 </ footer >
8087 </ Post >
8188 )
8289 }
8390}
8491export default PostsListItem
92+
0 commit comments