Skip to content

Commit 0703ac5

Browse files
author
Caio Henrique Konyosi Miyashiro
authored
Merge pull request #10 from pythonpizza/caio_draft_2020
Python Pizza Berlin 2020
2 parents 604422c + f9c7b75 commit 0703ac5

File tree

9 files changed

+50
-51
lines changed

9 files changed

+50
-51
lines changed

index.ejs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
<title>Berlin Python Pizza Night 🌃</title>
8+
<title>Berlin Python Pizza 🌃</title>
99
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=2" />
1010
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=2" />
1111
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=2" />
@@ -47,4 +47,4 @@
4747
</script>
4848
</body>
4949

50-
</html>
50+
</html>

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "berlin.python.pizza",
3-
"version": "2019",
3+
"version": "2020",
44
"main": "src/index.js",
55
"license": "MIT",
66
"scripts": {
@@ -35,4 +35,4 @@
3535
"typescript-eslint-parser": "16.0.0",
3636
"yarn": "^1.17.3"
3737
}
38-
}
38+
}

src/Components/Header/index.tsx

+10-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,16 @@ export default class Header extends React.Component {
5151
</li>
5252
<li>
5353
<a
54-
href="https://ti.to/pythonpizza/berlin-python-pizza-2"
54+
href="https://forms.gle/um1jAQXWrGpM7qwg6"
55+
target="_blank"
56+
rel="noopener noreferrer"
57+
>
58+
Call for Proposals
59+
</a>
60+
</li>
61+
<li>
62+
<a
63+
href="https://ti.to/pythonpizza/berlin-python-pizza-2020"
5564
target="_blank"
5665
rel="noopener noreferrer"
5766
>

src/Components/Hero/index.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ export default class Hero extends React.Component {
99
return (
1010
<div className="hero">
1111
<div className="hero--info">
12-
<h1>Python Pizza Night</h1>
12+
<h1>Python Pizza</h1>
1313
<h2>
14-
<a target="_blank" rel="noopener noreferrer">
15-
Berlin @ Wooga
14+
Berlin @ Wooga <br />
15+
<a href="https://goo.gl/maps/mkQP66yAnXGHdK9w6" target="_blank">
16+
Saarbrücker Str. 38, 10405 Berlin
1617
</a>
1718
</h2>
18-
<h2>23 August 2019</h2>
19-
<h2>17:00 - 00:30</h2>
19+
<h2>Saturday 16 May 2020</h2>
20+
<h2>10:00 - 17:30</h2>
2021
</div>
2122

2223
<Wave />

src/Components/Home/Sections/Schedule.tsx

+7-4
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,24 @@ export default class Schedule extends React.Component {
88
render() {
99
return (
1010
<section id="schedule" className="schedule">
11-
<Container size={Sizes.large}>
11+
<Container size={Sizes.medium}>
1212
<Container size={Sizes.small}>
1313
<h1>Schedule</h1>
1414
</Container>
15-
<ul>
15+
{/* <ul>
1616
{SCHEDULE.map(schedule => (
1717
<ScheduleItem
1818
key={schedule.order}
1919
schedule={schedule}
2020
speaker={typeof schedule.speaker !== 'undefined' ? SPEAKERS[schedule.speaker] : null}
2121
/>
2222
))}
23-
</ul>
23+
</ul> */}
24+
<p>Coming soon! </p><br />
25+
<p>If you’re interested in giving a talk yourself, please apply through the Call for Proposals.</p>
26+
<p>Each talk will be 10 minutes long and we would love to have many first time speakers!</p>
2427
</Container>
25-
</section>
28+
</section >
2629
);
2730
}
2831
}

src/Components/Home/Sections/Speakers.tsx

+9-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33
import Container, { Sizes } from '@/Components/Container';
44
import Grid from '@/Components/Grid';
55
import SpeakerCard from '@/Components/SpeakerCard';
6-
import { SPEAKERS } from '@/dataset';
6+
import { KEYSPEAKERS } from '@/dataset';
77
import Speaker from '@/Types/Speaker';
88

99
export default class Speakers extends React.Component {
@@ -16,17 +16,15 @@ export default class Speakers extends React.Component {
1616
<section id="speakers" className="speakers">
1717
<Container size={Sizes.large}>
1818
<Container size={Sizes.small}>
19-
<h1>Speakers</h1>
20-
<p>The <a
21-
href="https://forms.gle/9QsFLmB3ntcwfnhV9"
22-
target="_blank"
23-
rel="noopener noreferrer"
24-
>
25-
CFP
26-
</a> is open and you have until 4th August to apply!<br />
27-
Each talk will be 10 minutes long and we would love to have many first time speakers!!</p>
19+
<h1>Keynotes</h1>
2820
</Container>
29-
21+
{
22+
<Grid>
23+
{this.shuffleArray(KEYSPEAKERS).map((speaker, i) => (
24+
<SpeakerCard key={i} speaker={speaker} />
25+
))}
26+
</Grid>
27+
}
3028
</Container>
3129
</section>
3230
);

src/Components/Home/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Hero from '@/Components/Hero';
66

77
import About from './Sections/About';
88
import Schedule from './Sections/Schedule';
9+
import Speakers from './Sections/Speakers';
910
import Sponsors from './Sections/Sponsors';
1011
import Coc from './Sections/Coc';
1112

@@ -15,6 +16,7 @@ export default class Home extends React.Component {
1516
<div className="home">
1617
<Hero />
1718
<About />
19+
{/* <Speakers /> */}
1820
<Schedule />
1921
<Sponsors />
2022
<Coc />

src/Types/Speaker.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ export default interface Speaker {
33
photo: string;
44
job?: string;
55
social?: string;
6+
title?: string
67
}

src/dataset.ts

+11-26
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ const ANASTASIIA_TYMOSHCHUK = 17
2323
const DANIEL_KRAVETZ = 18
2424
const MIKE_MÜLLER = 19
2525

26+
export const KEYSPEAKERS: Speaker[] = [
27+
{
28+
name: 'TBD',
29+
photo: 'https://familytransitionplace.ca/wp-content/uploads/2019/05/photodune-12348343-anonymous-female-profile-picture-m.jpg',
30+
},
31+
{
32+
name: 'TBD',
33+
photo: 'https://thumbs.dreamstime.com/b/anonymous-business-man-profile-picture-white-background-57594793.jpg',
34+
},
35+
];
36+
2637
export const SPEAKERS: Speaker[] = [
2738
{
2839
name: 'Chiara Mezzavilla',
@@ -160,33 +171,7 @@ export const SPONSORS: Sponsor[][] = [
160171
photo: require('Assets/sponsors/wooga_pride_logo.png'),
161172
link: 'https://www.wooga.com/',
162173
},
163-
{
164-
id: 'infarm',
165-
name: 'imfarm',
166-
photo: require('Assets/sponsors/infarm.png'),
167-
link: 'https://www.infarm.com/',
168-
},
169174
],
170-
/* [
171-
{
172-
id: 'pythonitalia',
173-
name: 'TBA',
174-
photo: 'https://via.placeholder.com/150',
175-
link: 'https://pycon.it/',
176-
},
177-
{
178-
id: 'psf',
179-
name: 'TBA',
180-
photo: 'https://via.placeholder.com/150',
181-
link: 'https://www.012factory.it/',
182-
},
183-
{
184-
id: 'f012actory',
185-
name: 'TBA',
186-
photo: 'https://via.placeholder.com/150',
187-
link: 'https://www.012factory.it/',
188-
},
189-
],*/
190175
];
191176

192177
export const SCHEDULE: Schedule[] = [

0 commit comments

Comments
 (0)