summaryrefslogtreecommitdiff
path: root/src/pages/cv.js
blob: 0888c5488c952fff156620550edfbc4d161c22af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React from 'react'

import Layout from '../components/layout'
import { Project } from '../components/project'

import { projects } from './projects'
import { workHistory } from './work'
import { skills, tools } from './about'

const cleanProjectForCv = ({ desc, imgUrl, ...rest }) => rest

const cvProjects = projects.filter(k => k.showOnCv).map(cleanProjectForCv)

export default () => (
  <Layout>
    <h2>Work</h2>
    {workHistory.map(k => (
      <Project {...k} key={k.name} />
    ))}
    <h2>Projects</h2>
    {cvProjects.map(k => (
      <Project {...k} key={k.name} />
    ))}
    <h2>Teaching</h2>
    <h2>Skills</h2>
    <ul>
      {skills.map(k => (
        <li key={k}>{k}</li>
      ))}
    </ul>
    <h2>Tools</h2>
    <ul>
      {tools.map(k => (
        <li key={k}>{k}</li>
      ))}
    </ul>
  </Layout>
)