Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/sponsors/apify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/sponsors/ataccama.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/sponsors/eps-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export const Header = () => (
>
<MenuLink href="#about">About 🍕</MenuLink>
<MenuLink href="#schedule">Schedule 📅</MenuLink>
<MenuLink href="#organizers">Organizers 👩🏻👨🏻🧑🏻</MenuLink>
<MenuLink href="#organizers">Organizers 👩🏻</MenuLink>
<MenuLink href="#venue">Venue 🏰</MenuLink>
{/* <MenuLink href="#sponsors">Sponsors 💕</MenuLink> */}
<MenuLink href="#sponsors">Sponsors 💛</MenuLink>
<MenuLink href="#coc">CoC 💂</MenuLink>
<MenuButton href="https://pretix.eu/pyconcz/prague.pizza/">Tickets 🎫</MenuButton>
</Flex>
Expand Down
23 changes: 23 additions & 0 deletions src/data/sponsors.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
export type Sponsor = {
name: string;
image: string;
link: string;
};

export const SPONSORS = [
{
name: "EuroPython Society",
image: "/sponsors/eps-text.png",
link: "https://www.europython-society.org",
},
{
name: "Ataccama",
image: "/sponsors/ataccama.svg",
link: "https://www.ataccama.com/",
},
{
name: "Apify",
image: "/sponsors/apify.svg",
link: "https://apify.com/",
},
]
17 changes: 4 additions & 13 deletions src/sections/sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { Container, Grid, Heading, jsx, Paragraph } from "theme-ui";
import { Container, Grid, Heading, jsx } from "theme-ui";

import { Image } from "~/components/image";
import { Sponsor, SPONSORS } from "~/data/sponsors";
Expand Down Expand Up @@ -29,19 +29,10 @@ export const SponsorItem: React.FC<SponsorProps> = ({ sponsor }) => (
export const Sponsors = () => (
<Container id="sponsors">
<Heading mb="primary">Sponsors</Heading>
<Paragraph>If you would like to sponsor us, please reach out to the Team via{" "}
<a
rel="noopener noreferrer"
target="_blank"
href="mailto: praguepythonpizza@gmail.com?subject=[Sponsorship]"
>
email.
</a>
</Paragraph>
{/* <Grid columns={[1, 2, 2, 3]} gap="primary">
<Grid columns={[1, 2, 2, 3]} gap="primary">
{SPONSORS.map((sponsor, index) => (
<SponsorItem key={index} sponsor={sponsor} />
))}
</Grid> */}
</Grid>
</Container>
);
);