git ssb

0+

Rômulo Alves / website



Tree: 5bb525da770fe1c598313238d544b389e0fabaaf

Files: 5bb525da770fe1c598313238d544b389e0fabaaf / pages / talks.js

1057 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 } date={ talk.date } lang={ talk.lang } download>
25 { talk.title }
26 </PostLink>
27 </li>
28 ))
29 }
30 </ul>
31 </Section>
32 </Container>
33
34 <style jsx>{`
35 .talk {
36 list-style-type: none;
37 margin: 20px 0;
38 }
39 `}</style>
40 </Page>
41);

Built with git-ssb-web