git ssb

0+

Rômulo Alves / website



Tree: c93fc525cacb600afd7f77279a0dac001ee272b3

Files: c93fc525cacb600afd7f77279a0dac001ee272b3 / pages / talks.js

1156 bytesRaw
1import Page from '../components/page';
2import Header from '../components/header';
3import Container from '../components/container';
4import Section from '../components/section';
5
6import { Breadcrumbs, Crumb } from '../components/breadcrumbs';
7import PostLink from '../components/post-link';
8
9import talks from '../static/talks.json';
10
11export default () => (
12 <Page pageTitle="talks">
13 <Header />
14 <Container>
15 <Breadcrumbs>
16 <Crumb title="Home" href="/" />
17 <Crumb title="Talks" href="/talks" last />
18 </Breadcrumbs>
19 <Section title="Talks">
20 <ul>
21 {
22 talks.map(talk => (
23 <li key={ talk.id } className="talk">
24 <PostLink href={ talk.file }
25 date={ talk.date }
26 lang={ talk.lang }
27 download
28 filename={ talk.filename }>
29 { talk.title }
30 </PostLink>
31 </li>
32 ))
33 }
34 </ul>
35 </Section>
36 </Container>
37
38 <style jsx>{`
39 .talk {
40 list-style-type: none;
41 margin: 20px 0;
42 }
43 `}</style>
44 </Page>
45);

Built with git-ssb-web