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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
},
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.8.3",
"@astrojs/mdx": "^3.1.9",
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.5",
"@astrojs/react": "^4.1.4",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.4",
"@fontsource-variable/inter": "^5.1.1",
"@tailwindcss/typography": "^0.5.16",
"@types/react": "^19.0.7",
"@types/react-dom": "^18.3.5",
"astro": "^4.16.18",
"astro": "^5.1.6",
"astro-meta-tags": "^0.3.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
Expand Down
532 changes: 273 additions & 259 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ const { title, description, image = "/social-card.png" } = Astro.props;
<meta http-equiv="X-Clacks-Overhead" content="GNU Oier Etxaniz" />
<meta http-equiv="X-Clacks-Overhead" content="GNU Russel Winder" />

<script defer data-domain="ep2025.europython.eu" src="https://plausible.io/js/script.js"></script>
<script defer is:inline data-domain="ep2025.europython.eu" src="https://plausible.io/js/script.js"></script>
1 change: 0 additions & 1 deletion src/components/footer.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import { Fullbleed } from "./layout/fullbleed";

import { LogoExtended } from "./logo/logo-extended";
import links from "../data/links.json";
import { EPSLogo } from "./logo/eps-logo";
---
Expand Down
1 change: 0 additions & 1 deletion src/components/header/header-logo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ interface Props {
inverted?: boolean;
}

const { inverted } = Astro.props;
---

<a href="/">
Expand Down
1 change: 0 additions & 1 deletion src/components/hero-section/prague.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import Prose from "../prose/prose.astro";
import { ButtonLink } from "../button-link";
import { Link } from "../link/link";
import { Title } from "../typography/title";
import { Image } from "astro:assets";

Expand Down
5 changes: 2 additions & 3 deletions src/components/session-speakers.astro
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
import type { ValidContentEntrySlug } from "astro:content";
import { getEntries } from "astro:content";

interface Props {
speakers: Array<{
slug: ValidContentEntrySlug<"speakers">;
slug: string;
collection: "speakers";
}>;
}

const { speakers: speakersEntries } = Astro.props;

const speakers = await getEntries(speakersEntries);
const speakers = await getEntries(speakersEntries.map(entry => ({ collection: entry.collection, id: entry.slug })));
---

{
Expand Down
3 changes: 1 addition & 2 deletions src/components/sessions/list-sessions.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ const { sessions } = Astro.props;
import Prose from "../prose/prose.astro";
import { Tag } from "../tag/tag";
import SessionSpeakers from "../session-speakers.astro";
import type { ValidContentEntrySlug } from "astro:content";

type Session = {
data: {
title: string;
speakers: Array<{
collection: "speakers";
slug: ValidContentEntrySlug<"speakers">;
slug: string;
}>;
session_type: string;
track: string;
Expand Down
1 change: 1 addition & 0 deletions src/components/typography/title.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import clsx from "clsx";
import type { JSX } from "react/jsx-runtime";

export const Title = ({
children,
Expand Down
3 changes: 0 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import { ButtonLink } from "../components/button-link";
import { CardContainer } from "../components/card/card-container";
import Hero from "../components/hero/hero.astro";
import HeroWithCTA from "../components/hero-section/hero-with-cta.astro";
Expand All @@ -9,10 +8,8 @@ import { Title } from "../components/typography/title";
import Layout from "../layouts/Layout.astro";
import DeadlineCard from "../components/deadline-card.astro";
import { getCollection } from "astro:content";
import Sponsors from "../components/sponsors/sponsors.astro";
import Accent from "../components/accent/accent.astro";
import Prague from "../components/hero-section/prague.astro";
import Keynoters from "../components/keynoters/keynoters.astro";

import * as intro from "../data/home/intro.md";
import * as venue from "../data/home/prague.mdx";
Expand Down
4 changes: 2 additions & 2 deletions src/pages/schedule/[day].astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getStaticPaths = async () => {
const days = await getCollection("days");
const day = await getEntry("days", Astro.params.day);

const ROOMS = day.data.rooms
const ROOMS = (day?.data.rooms ?? [])
.filter((room) => room.toLowerCase() !== "exhibit hall")
.sort();

Expand All @@ -53,7 +53,7 @@ type ScheduleSession = {
// hack for posters :)
const posters: Array<ScheduleSession> = [];

const sessions = day.data.events
const sessions = day?.data.events
.map((event) => {
const start = parseISO(event.start);
const startTime = format(start, "HH:mm");
Expand Down