Skip to content

Commit 856542b

Browse files
Merge branch 'ep2025' into tickets-page-registration-open
2 parents bcd9572 + e6219c6 commit 856542b

25 files changed

+2375
-103
lines changed

astro.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ export default defineConfig({
3535
],
3636
},
3737
site: "https://ep2025.europython.eu",
38+
redirects: {
39+
"/c-api-summit/": "/programme/c-api-summit/",
40+
"/programme/cfp/": "/programme/cfp/",
41+
"/planning/": "https://forms.gle/riw6CvML8ck94A4V9",
42+
"/reviewers/": "https://forms.gle/4GTJjwZ1nHBGetM18",
43+
"/rust-summit/": "/programme/rust-summit/",
44+
"/sponsor/": "/sponsorship/sponsor/",
45+
"/voting/": "/programme/voting/",
46+
"/wasm-summit/": "/programme/wasm-summit/",
47+
},
3848
integrations: [
3949
mdx(),
4050
sitemap(),

public/icons/calendar.svg

Lines changed: 4 additions & 0 deletions
Loading

public/icons/pin.svg

Lines changed: 4 additions & 0 deletions
Loading

src/components/BaseHead.astro

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ const { title, description, image = "/social-card.png" } = Astro.props;
1919
<meta charset="utf-8" />
2020
<meta name="viewport" content="width=device-width,initial-scale=1" />
2121
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
22-
<meta name="generator" content={Astro.generator} />
22+
<meta name="generator" content="Astro" />
2323
<link rel="sitemap" href="/sitemap-index.xml" />
2424

25+
<meta name="referrer" content="no-referrer-when-downgrade" />
26+
2527
<!-- Canonical URL -->
2628
<link rel="canonical" href={canonicalURL} />
2729

@@ -32,19 +34,20 @@ const { title, description, image = "/social-card.png" } = Astro.props;
3234

3335
<!-- Open Graph / Facebook -->
3436
<meta property="og:type" content="website" />
37+
<meta property="og:site_name" content="EuroPython 2025" />
3538
<meta property="og:url" content={Astro.url} />
3639
<meta property="og:title" content={title} />
3740
<meta property="og:description" content={description} />
3841
<meta property="og:image" content={new URL(image, Astro.url)} />
3942

4043
<!-- Twitter -->
41-
<meta property="twitter:card" content="summary_large_image" />
42-
<meta property="twitter:url" content={Astro.url} />
43-
<meta property="twitter:title" content={title} />
44-
<meta property="twitter:description" content={description} />
45-
<meta property="twitter:image" content={new URL(image, Astro.url)} />
44+
<meta name="twitter:card" content="summary_large_image" />
45+
<meta name="twitter:url" content={Astro.url} />
46+
<meta name="twitter:title" content={title} />
47+
<meta name="twitter:description" content={description} />
48+
<meta name="twitter:image" content={new URL(image, Astro.url)} />
49+
<meta name="twitter:site" content="@europython" />
4650

47-
<!-- In remembrance -->
4851
<meta http-equiv="X-Clacks-Overhead" content="GNU John Pinner" />
4952
<meta http-equiv="X-Clacks-Overhead" content="GNU Rob Collins" />
5053
<meta http-equiv="X-Clacks-Overhead" content="GNU Oier Etxaniz" />

src/components/button-link/button-link.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const resolvedIsExternal = isExternal !== undefined ? isExternal : url?.startsWi
1515
---
1616

1717
<a
18-
class={`font-bold text-lg px-4 py-4 bg-button rounded-[60px] inline-block leading-4 hover:bg-button-hover not-prose
18+
class={`font-bold text-lg px-4 py-4 bg-button rounded-[10px] inline-block leading-4 hover:bg-button-hover not-prose
1919
${secondary || disabled ? "bg-primary text-white hover:bg-primary-hover" : "text-text-inverted"}
2020
${secondary ? "text-text" : ""}
2121
${className || ""}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const CardContainer = ({ children }: { children: React.ReactNode }) => (
2-
<section className="justify-around gap-12 flex flex-wrap px-6">
2+
<section className="justify-center gap-6 flex flex-wrap px-6">
33
{children}
44
</section>
55
);

src/components/card/card.astro

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,29 @@ export interface Props {
1313
const { title, subtitle, url, image } = Astro.props;
1414
---
1515

16-
<div class="block min-w-[250px] w-full md:w-[40%] lg:w-[30%] text-center">
16+
<div class="block min-w-[250px] w-full md:w-[40%] lg:w-[30%] p-4 bg-[#D5D6E6] rounded-2xl text-center flex flex-col">
1717
<a href={url} class="block">
1818
<div class="relative w-full mb-4">
1919
<Image
2020
src={image}
2121
width={600}
2222
height={375}
2323
alt=""
24-
class="rounded-2xl aspect-[3/2] w-full"
24+
class="rounded-xl aspect-[3/2] w-full"
2525
loading="lazy"
2626
/>
2727
</div>
28-
<h3 class="text-3xl font-bold mt-2 mb-4 text-primary">{title}</h3>
2928
</a>
30-
<ButtonLink
31-
url={url}
32-
className="mb-4"
33-
isExternal={false}
34-
>
35-
{subtitle}
36-
</ButtonLink>
37-
<p class="text-lg">
29+
<div class="flex items-center flex-col flex-grow mb-2">
30+
<a href={url} class="block hover:underline">
31+
<h3 class="text-2xl text-primary">{title}</h3>
32+
</a>
3833
<slot />
39-
</p>
34+
</div>
35+
<a class="text-xs px-2 py-1 mt-4 bg-[#141F36] text-white rounded-[10px] inline-block w-fit mx-auto leading-4 hover:bg-button-hover not-prose mt-auto" href="{url}">
36+
{subtitle}
37+
<span class="inline-block ml-1 font-system text-lg leading-4">
38+
39+
</span>
40+
</a>
4041
</div>

src/components/footer.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const gitVersion = import.meta.env.GIT_VERSION;
1515
<div>
1616
<nav class="mb-12">
1717
<h6 class="font-bold text-xl mb-6">Quicklinks</h6>
18-
18+
<ul>
1919
{
2020
links.footer.map((item) => (
2121
<li class="list-none">
@@ -29,14 +29,15 @@ const gitVersion = import.meta.env.GIT_VERSION;
2929
</li>
3030
))
3131
}
32+
</ul>
3233
</nav>
3334
</div>
3435

3536
<article
3637
class="flex flex-col lg:flex-row self-center gap-8 lg:gap-12 justify-end"
3738
>
3839
<div>
39-
<EPSLogo className="max-w-[200px] h-auto w-full" />
40+
<EPSLogo className="max-w-[100px] lg:max-w-[200px] h-auto w-full" />
4041
</div>
4142
<div>
4243
<address class="not-italic mb-4">

src/components/header/header-button.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const { href, variant = "standard" } = Astro.props;
1818
"bg-red": variant === "live",
1919
},
2020
]}
21-
href={href}
21+
22+
role="button"
23+
href={href || "#"}
2224
>
2325
<slot />
2426
</a>
121 KB
Loading

0 commit comments

Comments
 (0)