refact: rename the outer element of PageNavigation

This commit is contained in:
Jean-Philippe Sirois
2020-10-01 16:41:14 -04:00
parent 7ff4b4b9d0
commit acb4f06843
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ interface IPageContentProps {
export const PageNavigation: FC<IPageContentProps> = ({ previous, next }) => {
return (
<SC.Content>
<SC.PageNavigationWrapper>
{previous ? (
<SC.PageContent>
<SC.Text>Previous</SC.Text>
@@ -40,6 +40,6 @@ export const PageNavigation: FC<IPageContentProps> = ({ previous, next }) => {
) : (
<div> </div>
)}
</SC.Content>
</SC.PageNavigationWrapper>
)
}
+1 -1
View File
@@ -3,7 +3,7 @@ import { Link } from "gatsby"
import fontFamily from "../../design/typography"
import ArrowRight from "../../icons/arrow-right.svg"
export const Content = styled.div`
export const PageNavigationWrapper = styled.div`
display: flex;
justify-content: space-between;
align-content: center;