This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
269ef76
commit 4eed7f7
Showing
6 changed files
with
201 additions
and
77 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,33 @@ | ||
import React from 'react'; | ||
import chunk from 'lodash/chunk'; | ||
|
||
import Layout from 'components/Layout'; | ||
import MdViewer from 'components/MdViewer'; | ||
|
||
import { projects } from '../profile'; | ||
|
||
const projectsGrouped = chunk(projects, 2); | ||
|
||
const Projects = ({ route: { title } }) => { | ||
return ( | ||
<Layout title={title} needLogin={false}> | ||
<MdViewer source='# Projects' /> | ||
|
||
{projectsGrouped.map((group, i) => { | ||
return ( | ||
<div className='row' key={i}> | ||
{group.map((item, j) => { | ||
return ( | ||
<div className='col col-12 col-md-6' key={j}> | ||
<MdViewer source={item.source.trim()} /> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
); | ||
})} | ||
</Layout> | ||
); | ||
}; | ||
|
||
export default Projects; |
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,7 @@ | ||
.btn__more { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-size: 1.5em; | ||
color: var(--primary__text); | ||
} |
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