Skip to content

Commit d6b9440

Browse files
committed
More lint
1 parent 5239a00 commit d6b9440

9 files changed

Lines changed: 17 additions & 15 deletions

File tree

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
"@typescript-eslint/no-unused-vars": ["error"],
4040
"@typescript-eslint/explicit-function-return-type": "off",
4141
"@typescript-eslint/explicit-module-boundary-types": "off",
42+
"react/no-unknown-property": ['error', { ignore: ['sx'] }],
4243
},
4344
},
4445
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
},
2020
"scripts": {
2121
"dev": "next dev",
22+
"lint-fix": "prettier ./src --write && eslint ./src --fix",
2223
"build": "next build && next export",
2324
"start": "next start"
2425
},

src/components/header.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,15 @@ export const Header = () => (
146146
as="nav"
147147
>
148148
<MenuLink href="#about">About 🍕</MenuLink>
149+
<MenuLink href="#cfp">CFP 🙋🏻‍♀️</MenuLink>
150+
149151
<MenuLink href="#schedule">Schedule 📅</MenuLink>
152+
150153
<MenuLink href="#organizers">Organizers 👩🏻</MenuLink>
151154
<MenuLink href="#venue">Venue 🏰</MenuLink>
152155
<MenuLink href="#sponsors">Sponsors 💛</MenuLink>
153156
<MenuLink href="#coc">CoC 💂</MenuLink>
154-
<MenuButton href="https://pretix.eu/pyconcz/prague.pizza/">
155-
Tickets 🎫
156-
</MenuButton>
157+
<MenuButton href="#TODO-pretix-link">Tickets 🎫</MenuButton>
157158
</Flex>
158159
</Container>
159160
</Box>

src/pages/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import { Footer } from "~/components/footer";
55
import { Header } from "~/components/header";
66
import { genericInformation } from "~/data/generic";
77
import { About } from "~/sections/about";
8+
import { CFP } from "~/sections/cfp";
89
import { Coc } from "~/sections/coc";
910
import { Hero } from "~/sections/hero";
1011
import { OrganizerSection } from "~/sections/organizers";
1112
import { Schedule } from "~/sections/schedule";
12-
import { SpeakersSection } from "~/sections/speakers";
13-
import { CFP } from "~/sections/cfp";
1413
import { Sponsors } from "~/sections/sponsors";
1514
import { Venue } from "~/sections/venue";
1615

src/sections/about.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export const About = () => (
66
<Paragraph>
77
<b>Python Pizza</b>, an annual micro conference originating from Naples in
88
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.
9+
as in remote formats. Now, after Prague, it&apos;s Brno&apos;s turn for
10+
Python Pizza to happen in Czechia.
1111
</Paragraph>
1212
<br />
1313
<Paragraph>

src/sections/announcements.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const Announcements = () => (
66
<Container id="announcements" variant="smallContainer">
77
<Heading>Sign up for important announcements</Heading>
88
<Paragraph>
9-
If you're interested in receiving notifcations about our schedule or
9+
If you&apos;re interested in receiving notifications about our schedule or
1010
ticket sales, please fill in the linked form. You will receive only four
1111
emails from us:
1212
</Paragraph>
@@ -15,7 +15,7 @@ export const Announcements = () => (
1515
<li>Notification when the ticket sales starts.</li>
1616
<li>
1717
A reminder 24 hours prior to the Call for Proposals (CFP) closing, in
18-
case you'd like to submit a last-minute proposal
18+
case you&apos;d like to submit a last-minute proposal
1919
</li>
2020
<li>Announcement of the event schedule</li>
2121
<li>

src/sections/cfp.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { Container, Heading, Paragraph, Box } from "theme-ui";
2-
import {ContentButton} from "~/components/header";
1+
import { Box, Container, Heading, Paragraph } from "theme-ui";
2+
3+
import { ContentButton } from "~/components/header";
34

45
export const CFP = () => (
56
<Container id="cfp" variant="smallContainer">
@@ -14,8 +15,8 @@ export const CFP = () => (
1415
party 🎊.
1516
</Paragraph>
1617
<Paragraph sx={{ p: "2rem" }}>
17-
If you're not sure which topic you would like to talk about – you can send
18-
multiple proposals :)
18+
If you&apos;re not sure which topic you would like to talk about – you can
19+
send multiple proposals :)
1920
</Paragraph>
2021
<Paragraph sx={{ p: "2rem" }}>
2122
We are looking for first-time speakers! It is a good opportunity to get

src/sections/coc.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @jsxRuntime classic */
22
/** @jsx jsx */
33

4-
import React, { ElementType } from "react";
54
import { Container, Heading, Paragraph } from "theme-ui";
65
import { jsx } from "theme-ui";
76

src/sections/schedule.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Container, Heading, Paragraph } from "theme-ui";
1+
import { Container, Heading } from "theme-ui";
22

33
import { ScheduleCard } from "~/components/schedule-card";
44
import { SCHEDULE } from "~/data/schedule";

0 commit comments

Comments
 (0)