forked from roadmapsh/deprecated-version
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
72f155d
commit acec5d6
Showing
9 changed files
with
437 additions
and
20 deletions.
There are no files selected for viewing
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,18 @@ | ||
import { AuthorImage, GuideAuthor, GuideDate, GuideMeta, GuideSubtitle, GuideTitle, HeaderWrap } from './style'; | ||
|
||
const GuideHeader = (props) => ( | ||
<HeaderWrap className="border-bottom"> | ||
<GuideMeta> | ||
<GuideAuthor href="https://github.com/kamranahmedse" target="_blank"> | ||
<AuthorImage src="/static/authors/kamranahmedse.jpeg" /> | ||
Kamran Ahmed | ||
</GuideAuthor> | ||
· | ||
<GuideDate>Wednesday, October 9th 2019</GuideDate> | ||
</GuideMeta> | ||
<GuideTitle>Design Patterns for Humans</GuideTitle> | ||
<GuideSubtitle>An ultra-simplified explanation to design patterns</GuideSubtitle> | ||
</HeaderWrap> | ||
); | ||
|
||
export default GuideHeader; |
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,44 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const HeaderWrap = styled.div` | ||
padding: 80px 15px 45px; | ||
text-align: center; | ||
`; | ||
|
||
export const GuideTitle = styled.h1` | ||
font-weight: 700; | ||
font-size: 46px; | ||
margin: 12px 0; | ||
`; | ||
|
||
export const GuideSubtitle = styled.p` | ||
margin-bottom: 0; | ||
font-size: 16px; | ||
color: #444; | ||
`; | ||
|
||
export const GuideMeta = styled.p` | ||
margin-bottom: 0; | ||
color: #757575; | ||
font-size: 13px; | ||
font-weight: 400; | ||
`; | ||
|
||
export const GuideDate = styled.span` | ||
margin-left: 7px; | ||
`; | ||
export const GuideAuthor = styled.a` | ||
margin-right: 7px; | ||
font-weight: 500; | ||
color: #101010; | ||
&:hover { | ||
color: #101010; | ||
} | ||
`; | ||
export const AuthorImage = styled.img` | ||
width: 22px; | ||
height: 22px; | ||
border-radius: 100%; | ||
margin-right: 10px; | ||
`; |
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,3 @@ | ||
const MdxComponents = {}; | ||
|
||
export default MdxComponents; |
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
Oops, something went wrong.