-
Notifications
You must be signed in to change notification settings - Fork 15
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
e300048
commit bb97d8d
Showing
11 changed files
with
268 additions
and
43 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,47 @@ | ||
import Link from 'next/link'; | ||
import { PlusSquare } from 'react-feather'; | ||
|
||
const AddButton = () => ( | ||
<div style={{textAlign: 'center'}}> | ||
<div className="right-navbar"> | ||
<ul> | ||
<li><a href="https://twitter.com/dailyhacknotes" target="_blank"><PlusSquare color={'#4618B1'} size={18} /> <span>Any Tricks?</span></a></li> | ||
</ul> | ||
</div> | ||
<style jsx> | ||
{` | ||
.right-navbar ul{ | ||
text-align: center; | ||
display: inline-block; | ||
padding: 0; | ||
margin: 0 0 80px 0px; | ||
border-radius: 4px; | ||
color: #24292e; | ||
border: 1px solid rgba(27,31,35,.2); | ||
} | ||
.right-navbar ul li{ | ||
padding: 10px; | ||
-moz-box-align: center; | ||
align-items: center; | ||
list-style: none; | ||
padding: 8px 15px; | ||
background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%); | ||
} | ||
.right-navbar ul li a{ | ||
display: flex; | ||
text-decoration: none; | ||
color: #707070 | ||
} | ||
.right-navbar ul li span { | ||
padding: 0px 5px; | ||
} | ||
`} | ||
</style> | ||
|
||
</div> | ||
) | ||
|
||
export default AddButton; |
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
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,33 @@ | ||
function PaginationBox(props){ | ||
const paginationArray = Array.from(Array(props.total_issues).keys()) | ||
const activePage = props.active_page | ||
return( | ||
<div className="pagination"> | ||
<ul> | ||
{paginationArray.map(number => { | ||
return( | ||
<li key={number}>{number+1}</li> | ||
) | ||
})} | ||
</ul> | ||
<style jsx> | ||
{` | ||
.pagination ul{ | ||
padding: 0; | ||
margin: 20px 0px 100px 0px; | ||
text-align: center; | ||
list-style-type: none; | ||
} | ||
.pagination ul li { | ||
display: inline-block; | ||
padding: 5px; | ||
} | ||
`} | ||
</style> | ||
</div> | ||
) | ||
} | ||
|
||
export default PaginationBox; |
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,14 @@ | ||
import {Fragment} from 'react'; | ||
import Layout from '../components/Layout'; | ||
|
||
function Contributors(props){ | ||
return( | ||
<Fragment> | ||
<Layout title="Daily Hack: A community of Makers and Geeks" {...props}> | ||
We are makers | ||
</Layout> | ||
</Fragment> | ||
) | ||
} | ||
|
||
export default Contributors; |
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.