Skip to content

Commit 11dd3fa

Browse files
feat: add Netcompany sponsor
1 parent 899be37 commit 11dd3fa

4 files changed

Lines changed: 14 additions & 16 deletions

File tree

52.4 KB
Loading

src/data/sponsors.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ export const SPONSORS: Sponsor[] = [
1010
image: "/sponsors/eps-text.png",
1111
link: "https://www.europython-society.org/",
1212
},
13+
{
14+
name: "Netcompany",
15+
image: "/sponsors/netcompany-logotype-black-RGB.png",
16+
link: "https://www.netcompany.com/",
17+
},
1318
];

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ const Home = () => (
8585
<Hero />
8686
<About />
8787
{/*<SpeakersSection />*/}
88+
<Sponsors />
8889
<Schedule />
8990
<OrganizerSection />
90-
<Sponsors />
9191
<CFP_Closed />
9292
<Venue />
9393
<Coc />

src/sections/sponsors.tsx

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Container, Grid, Paragraph, jsx } from "theme-ui";
1+
import { Container, Grid, jsx } from "theme-ui";
22

33
import { AnchorHeading } from "~/components/anchor-heading";
44
import { Image } from "~/components/image";
@@ -13,10 +13,15 @@ export const SponsorItem: React.FC<SponsorProps> = ({ sponsor }) => (
1313
href={sponsor.link}
1414
rel="noopener noreferrer"
1515
target="_blank"
16-
sx={{ position: "relative", justifySelf: "center" }}
16+
sx={{
17+
position: "relative",
18+
justifySelf: "center",
19+
width: ["calc(100vw - 4rem)", "24rem", "28rem"],
20+
maxWidth: "100%",
21+
}}
1722
>
1823
<Image
19-
width="14rem"
24+
width="100%"
2025
height="auto"
2126
objectFit="contain"
2227
src={sponsor.image}
@@ -44,17 +49,5 @@ export const Sponsors = () => (
4449
<SponsorItem key={sponsor.name} sponsor={sponsor} />
4550
))}
4651
</Grid>
47-
<Paragraph sx={{ fontSize: "smallBody", mt: "secondary" }}>
48-
We are looking for sponsors for Warsaw Python Pizza! If you are
49-
interested, please{" "}
50-
<a
51-
rel="noopener noreferrer"
52-
target="_blank"
53-
href="mailto:warsawpythonpizza@gmail.com?subject=[Sponsoring Warsaw Python Pizza]"
54-
>
55-
contact us!
56-
</a>
57-
.
58-
</Paragraph>
5952
</Container>
6053
);

0 commit comments

Comments
 (0)