Skip to content

Commit 8d775ae

Browse files
committed
Lint it
1 parent 94b0454 commit 8d775ae

18 files changed

Lines changed: 257 additions & 213 deletions

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
"plugin:@typescript-eslint/recommended",
2424
"plugin:react/recommended",
2525
"plugin:react-hooks/recommended",
26-
"prettier/@typescript-eslint",
26+
"prettier",
2727
"plugin:prettier/recommended",
2828
],
2929
rules: {

src/components/header.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const MenuLink: React.FC<{ href: string }> = ({ href, children }) => {
2020
behavior: "smooth",
2121
});
2222
},
23-
[href]
23+
[href],
2424
);
2525

2626
return (
@@ -77,7 +77,10 @@ const MenuButton: React.FC<{ href: string }> = ({ children, href }) => (
7777
</Box>
7878
);
7979

80-
export const ContentButton: React.FC<{ href: string }> = ({ children, href }) => (
80+
export const ContentButton: React.FC<{ href: string }> = ({
81+
children,
82+
href,
83+
}) => (
8184
<Box
8285
sx={{
8386
perspective: "24rem",
@@ -148,7 +151,9 @@ export const Header = () => (
148151
<MenuLink href="#venue">Venue 🏰</MenuLink>
149152
<MenuLink href="#sponsors">Sponsors 💛</MenuLink>
150153
<MenuLink href="#coc">CoC 💂</MenuLink>
151-
<MenuButton href="https://pretix.eu/pyconcz/prague.pizza/">Tickets 🎫</MenuButton>
154+
<MenuButton href="https://pretix.eu/pyconcz/prague.pizza/">
155+
Tickets 🎫
156+
</MenuButton>
152157
</Flex>
153158
</Container>
154159
</Box>

src/data/generic.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export const genericInformation = {
2-
pageTitle: "Python Pizza Brno",
3-
socialDescription: "Python Pizza Brno",
4-
siteHeading: "Brno Python Pizza",
5-
subHeading: "Clubco Brno Vlněna, Vlněna 5",
6-
whenDatetime: "2025/02/22 10:00 AM UTC",
7-
whenFormat: "do MMMM Y",
2+
pageTitle: "Python Pizza Brno",
3+
socialDescription: "Python Pizza Brno",
4+
siteHeading: "Brno Python Pizza",
5+
subHeading: "Clubco Brno Vlněna, Vlněna 5",
6+
whenDatetime: "2025/02/22 10:00 AM UTC",
7+
whenFormat: "do MMMM Y",
88
};

src/data/schedule.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
export type Event = {
2-
label?: string;
3-
name?: string;
4-
title?: string;
5-
photo?: string;
6-
link?: string;
7-
when?: string;
2+
label?: string;
3+
name?: string;
4+
title?: string;
5+
photo?: string;
6+
link?: string;
7+
when?: string;
88
};
99

1010
export const SCHEDULE: Event[] = [
11-
{
12-
label: "Open Doors",
13-
when: "2025/02/22 9:30 AM UTC+1"
14-
},
15-
{
16-
label: "TBD",
17-
when: "2024/02/24 10:00 AM UTC+1"
18-
},
19-
{
20-
label: "Happy Hour & Networking 🍻",
21-
when: "2025/02/22 6:00 PM UTC+1"
22-
},
11+
{
12+
label: "Open Doors",
13+
when: "2025/02/22 9:30 AM UTC+1",
14+
},
15+
{
16+
label: "TBD",
17+
when: "2024/02/24 10:00 AM UTC+1",
18+
},
19+
{
20+
label: "Happy Hour & Networking 🍻",
21+
when: "2025/02/22 6:00 PM UTC+1",
22+
},
2323
];

src/data/sponsors.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
export type Sponsor = {
2-
name: string;
3-
image: string;
4-
link: string;
2+
name: string;
3+
image: string;
4+
link: string;
55
};
66

77
export const SPONSORS = [
8-
{
9-
name: "EuroPython Society",
10-
image: "/sponsors/eps-text.png",
11-
link: "https://www.europython-society.org",
12-
},
13-
{
14-
name: "Ataccama",
15-
image: "/sponsors/ataccama.svg",
16-
link: "https://www.ataccama.com/",
17-
},
18-
{
19-
name: "Python Software Foundation",
20-
image: "/sponsors/psf.png",
21-
link: "https://www.python.org/psf-landing/",
22-
},
23-
]
8+
{
9+
name: "EuroPython Society",
10+
image: "/sponsors/eps-text.png",
11+
link: "https://www.europython-society.org",
12+
},
13+
{
14+
name: "Ataccama",
15+
image: "/sponsors/ataccama.svg",
16+
link: "https://www.ataccama.com/",
17+
},
18+
{
19+
name: "Python Software Foundation",
20+
image: "/sponsors/psf.png",
21+
link: "https://www.python.org/psf-landing/",
22+
},
23+
];

src/pages/index.tsx

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ import { Footer } from "~/components/footer";
55
import { Header } from "~/components/header";
66
import { genericInformation } from "~/data/generic";
77
import { About } from "~/sections/about";
8-
9-
import { SpeakersSection } from "~/sections/speakers";
108
import { Coc } from "~/sections/coc";
11-
import { Schedule } from "~/sections/schedule";
129
import { Hero } from "~/sections/hero";
13-
import { Sponsors } from "~/sections/sponsors";
1410
import { OrganizerSection } from "~/sections/organizers";
11+
import { Schedule } from "~/sections/schedule";
12+
import { SpeakersSection } from "~/sections/speakers";
13+
import { Sponsors } from "~/sections/sponsors";
1514
import { Venue } from "~/sections/venue";
1615

1716
const Home = () => (
@@ -26,10 +25,7 @@ const Home = () => (
2625
<meta name="twitter:site" content="@pythonpizzaconf" />
2726
<meta property="og:image" content="/social-image.jpg" />
2827
<meta name="twitter:image:alt" content="Conference logo" />
29-
<meta
30-
name="twitter:title"
31-
content="Brno Python Pizza Conference!!"
32-
/>
28+
<meta name="twitter:title" content="Brno Python Pizza Conference!!" />
3329
<meta
3430
name="twitter:image"
3531
content="https://brno.python.pizza/social-image.jpg"
@@ -38,10 +34,7 @@ const Home = () => (
3834
name="twitter:description"
3935
content="Join the fun 🥳🎉🍕 on 22nd February 2025"
4036
/>
41-
<meta
42-
name="photo-attribution"
43-
content="Photo by --todo (--url todo)"
44-
/>
37+
<meta name="photo-attribution" content="Photo by --todo (--url todo)" />
4538
</Head>
4639
<Header />
4740
<Hero />
@@ -53,8 +46,18 @@ const Home = () => (
5346
<Venue />
5447
<Coc />
5548
<Footer />
56-
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
57-
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerPolicy="no-referrer-when-downgrade" /></noscript>
49+
<script
50+
async
51+
defer
52+
src="https://scripts.simpleanalyticscdn.com/latest.js"
53+
></script>
54+
<noscript>
55+
<img
56+
src="https://queue.simpleanalyticscdn.com/noscript.gif"
57+
alt=""
58+
referrerPolicy="no-referrer-when-downgrade"
59+
/>
60+
</noscript>
5861
</Box>
5962
);
6063

src/sections/about.tsx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,23 @@ export const About = () => (
44
<Container id="about" variant="smallContainer">
55
<Heading>Python Pizza is Coming to Brno!</Heading>
66
<Paragraph>
7-
<b>Python Pizza</b>, an annual micro conference originating from Naples in 2017, has made its mark in various cities in Germany, Italy, Cuba, as well as in remote formats. Now, after Prague, it's Brno's turn for Python Pizza to happen in Czechia.
7+
<b>Python Pizza</b>, an annual micro conference originating from Naples in
8+
2017, has made its mark in various cities in Germany, Italy, Cuba, as well
9+
as in remote formats. Now, after Prague, it's Brno's turn for Python Pizza
10+
to happen in Czechia.
811
</Paragraph>
912
<br />
10-
<Paragraph> Organized entirely by volunteers, we bring the Python Community together for some amazing original Pizza™ and Python Talks.
13+
<Paragraph>
14+
{" "}
15+
Organized entirely by volunteers, we bring the Python Community together
16+
for some amazing original Pizza™ and Python Talks.
1117
<br />
1218
</Paragraph>
1319
<br />
1420
<Paragraph>
15-
We believe in and encourage practical sessions, in which developers share their experiences and lessons learned from real-world projects. Each talk is 10 minutes long.
21+
We believe in and encourage practical sessions, in which developers share
22+
their experiences and lessons learned from real-world projects. Each talk
23+
is 10 minutes long.
1624
</Paragraph>
1725
<br />
1826
{/* <Paragraph> */}
@@ -22,7 +30,7 @@ export const About = () => (
2230
<br />
2331
<Paragraph>
2432
Check out the past editions:{" "}
25-
< a
33+
<a
2634
href="https://prague.python.pizza"
2735
target="_blank"
2836
rel="noopener noreferrer"
@@ -33,8 +41,8 @@ export const About = () => (
3341
<a href="https://python.pizza" target="_blank" rel="noopener noreferrer">
3442
Naples Python Pizza
3543
</a>
36-
, {" "}
37-
< a
44+
,{" "}
45+
<a
3846
href="https://berlin.python.pizza"
3947
target="_blank"
4048
rel="noopener noreferrer"
@@ -67,5 +75,5 @@ export const About = () => (
6775
</a>
6876
.{" "}
6977
</Paragraph>
70-
</Container >
78+
</Container>
7179
);

src/sections/announcements.tsx

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
import { Container, Heading, Paragraph } from "theme-ui";
2+
23
import { ContentButton } from "~/components/header";
34

45
export const Announcements = () => (
5-
<Container id="announcements" variant="smallContainer">
6-
<Heading>Sign up for important announcements</Heading>
7-
<Paragraph>
8-
If you're interested in receiving notifcations about our schedule or ticket sales, please fill in the linked form. You will receive only four emails from us:
9-
</Paragraph>
10-
11-
<ol style={{ textAlign: "left" }} >
12-
<li>Notification when the ticket sales starts.</li>
13-
<li>A reminder 24 hours prior to the Call for Proposals (CFP) closing, in case you'd like to submit a last-minute proposal</li>
14-
<li>Announcement of the event schedule</li>
15-
<li>A final reminder shortly before the event or when tickets are running low.</li>
16-
</ol>
6+
<Container id="announcements" variant="smallContainer">
7+
<Heading>Sign up for important announcements</Heading>
8+
<Paragraph>
9+
If you're interested in receiving notifcations about our schedule or
10+
ticket sales, please fill in the linked form. You will receive only four
11+
emails from us:
12+
</Paragraph>
1713

18-
<ContentButton href="#TODO">Sign up for the Announcements!</ContentButton>
14+
<ol style={{ textAlign: "left" }}>
15+
<li>Notification when the ticket sales starts.</li>
16+
<li>
17+
A reminder 24 hours prior to the Call for Proposals (CFP) closing, in
18+
case you'd like to submit a last-minute proposal
19+
</li>
20+
<li>Announcement of the event schedule</li>
21+
<li>
22+
A final reminder shortly before the event or when tickets are running
23+
low.
24+
</li>
25+
</ol>
1926

20-
</Container>
27+
<ContentButton href="#TODO">Sign up for the Announcements!</ContentButton>
28+
</Container>
2129
);

src/sections/cfp.tsx

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
import { Container, Heading } from "theme-ui";
22

33
export const CFP = () => (
4-
<Container id="cfp" variant="smallContainer">
4+
<Container id="cfp" variant="smallContainer">
55
<Heading>Call For Proposals until 20th December</Heading>
6-
<Paragraph>
7-
<a
8-
href="#TODO"
9-
target="_blank"
10-
rel="noopener noreferrer"
11-
>
12-
Share
13-
</a>{" "}
14-
with us your ideas! Each talk will be 10-minutes long. They can be given in person only. We will have a live stream of the event.
15-
The applications are reviewed on a rolling basis. Apply now to secure a spot and join the party 🎊.
16-
17-
</Paragraph>
18-
<Paragraph sx={{ p: "2rem" }}>
19-
If you're not sure which topic you would like to talk about – you can send multiple proposals :)
20-
</Paragraph>
21-
<Paragraph sx={{ p: "2rem" }}>
22-
We are looking for first-time speakers! It is a good opportunity to get started with public speaking
23-
with these mini 10-min talks! 🎤
24-
</Paragraph>
25-
<Paragraph sx={{ p: "2rem" }}>
26-
We are looking for experienced speakers! It is a great opportunity to inspire a new generation of 🐍 loving people!
27-
</Paragraph>
28-
29-
<Box sx={{ "m": "5rem" }}>
30-
<ContentButton href="#TODO">Click here to send your Proposal</ContentButton>
31-
</Box> </Container>
6+
<Paragraph>
7+
<a href="#TODO" target="_blank" rel="noopener noreferrer">
8+
Share
9+
</a>{" "}
10+
with us your ideas! Each talk will be 10-minutes long. They can be given
11+
in person only. We will have a live stream of the event. The applications
12+
are reviewed on a rolling basis. Apply now to secure a spot and join the
13+
party 🎊.
14+
</Paragraph>
15+
<Paragraph sx={{ p: "2rem" }}>
16+
If you're not sure which topic you would like to talk about – you can send
17+
multiple proposals :)
18+
</Paragraph>
19+
<Paragraph sx={{ p: "2rem" }}>
20+
We are looking for first-time speakers! It is a good opportunity to get
21+
started with public speaking with these mini 10-min talks! 🎤
22+
</Paragraph>
23+
<Paragraph sx={{ p: "2rem" }}>
24+
We are looking for experienced speakers! It is a great opportunity to
25+
inspire a new generation of 🐍 loving people!
26+
</Paragraph>
27+
<Box sx={{ m: "5rem" }}>
28+
<ContentButton href="#TODO">
29+
Click here to send your Proposal
30+
</ContentButton>
31+
</Box>{" "}
32+
</Container>
3233
);

src/sections/coc.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export const Coc = () => (
2121
</Heading>
2222
<CocHeading as="h2">Purpose</CocHeading>
2323
<Paragraph>
24-
Brno Python Pizza is dedicated to providing a harassment-free
25-
conference experience for everyone, regardless of gender, gender identity
26-
and expression, sexual orientation, disability, physical appearance, body
24+
Brno Python Pizza is dedicated to providing a harassment-free conference
25+
experience for everyone, regardless of gender, gender identity and
26+
expression, sexual orientation, disability, physical appearance, body
2727
size, race, age, religion or lack thereof.{" "}
2828
</Paragraph>
2929
<Paragraph>
@@ -146,8 +146,8 @@ export const Coc = () => (
146146
<CocHeading as="h2">Reporting steps</CocHeading>
147147
<Paragraph>
148148
The Brno Python Pizza Team is here to help attendees feel safe for the
149-
duration of Brno Python Pizza event. We value your participation. If
150-
you need to report an incident please reach out to the Team via{" "}
149+
duration of Brno Python Pizza event. We value your participation. If you
150+
need to report an incident please reach out to the Team via{" "}
151151
<a
152152
rel="noopener noreferrer"
153153
target="_blank"

0 commit comments

Comments
 (0)