Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
87 additions
and
576 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from 'react' | ||
import styled from 'styled-components' | ||
import ListPosts from './ListPostsSquareOffset' | ||
import AllCategories from './ListCategories' | ||
|
||
const Posts = styled.section` | ||
grid-column: 3 / 15; | ||
grid-row: 4 / 5; | ||
@media screen and (min-width: 48em) { | ||
display: grid; | ||
grid-template-columns: 2fr 8fr; | ||
padding:6.250em 0; | ||
} | ||
@media screen and (min-width: 75em) { | ||
padding:9.375em 0 6.250em 0; | ||
} | ||
.heading { | ||
font-size: var(--font-size); | ||
font-weight: 200;; | ||
text-transform: uppercase; | ||
position: relative; | ||
padding-left: 1.5em; | ||
&:after { | ||
border: 0; | ||
@media screen and (min-width: 48em) { | ||
border-bottom:1px solid var(--color-borders); | ||
} | ||
} | ||
@media screen and (min-width: 48em) { | ||
font-weight: 800; | ||
padding-left:0; | ||
} | ||
} | ||
` | ||
|
||
const PreviousNotes = (props) => ( | ||
<Posts> | ||
<AllCategories tags={props.tags} /> | ||
<ListPosts notes={props.notes} total={props.tot} isTags={props.isTags} /> | ||
</Posts> | ||
) | ||
|
||
export default PreviousNotes; |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.