diff --git a/astro.config.mjs b/astro.config.mjs index f89c995ba..ba90a30f0 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -35,6 +35,16 @@ export default defineConfig({ ], }, site: "https://ep2025.europython.eu", + redirects: { + "/c-api-summit/": "/programme/c-api-summit/", + "/programme/cfp/": "/programme/cfp/", + "/planning/": "https://forms.gle/riw6CvML8ck94A4V9", + "/reviewers/": "https://forms.gle/4GTJjwZ1nHBGetM18", + "/rust-summit/": "/programme/rust-summit/", + "/sponsor/": "/sponsorship/sponsor/", + "/voting/": "/programme/voting/", + "/wasm-summit/": "/programme/wasm-summit/", + }, integrations: [ mdx(), sitemap(), diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index dec387d94..c6d34ef19 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -19,9 +19,11 @@ const { title, description, image = "/social-card.png" } = Astro.props; - + + + @@ -32,19 +34,20 @@ const { title, description, image = "/social-card.png" } = Astro.props; + - - - - - + + + + + + - diff --git a/src/components/footer.astro b/src/components/footer.astro index 2d006689c..8d1f4efe5 100644 --- a/src/components/footer.astro +++ b/src/components/footer.astro @@ -15,7 +15,7 @@ const gitVersion = import.meta.env.GIT_VERSION;
@@ -36,7 +37,7 @@ const gitVersion = import.meta.env.GIT_VERSION; class="flex flex-col lg:flex-row self-center gap-8 lg:gap-12 justify-end" >
- +
diff --git a/src/components/header/header-button.astro b/src/components/header/header-button.astro index a1e44ecb2..81fa4b089 100644 --- a/src/components/header/header-button.astro +++ b/src/components/header/header-button.astro @@ -18,7 +18,9 @@ const { href, variant = "standard" } = Astro.props; "bg-red": variant === "live", }, ]} - href={href} + + role="button" + href={href || "#"} > diff --git a/src/components/nav-items/nav-items.tsx b/src/components/nav-items/nav-items.tsx index 195d94e8a..3a8078f17 100644 --- a/src/components/nav-items/nav-items.tsx +++ b/src/components/nav-items/nav-items.tsx @@ -27,7 +27,10 @@ export const NavItems = ({ items, inverted = false }: Props) => { )} > { > + + + + + + +
+ Skip to main content + +
+ +
+ +
+ +
+
+
+
+ diff --git a/src/pages/c-api-summit.astro b/src/pages/c-api-summit.astro deleted file mode 100644 index fd972ffdf..000000000 --- a/src/pages/c-api-summit.astro +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/cfp.astro b/src/pages/cfp.astro deleted file mode 100644 index a5e892aac..000000000 --- a/src/pages/cfp.astro +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/index.astro b/src/pages/index.astro index 6d67e4106..399371e50 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,7 +5,7 @@ import HeroWithCTA from "../components/hero-section/hero-with-cta.astro"; import { Fullbleed } from "../components/layout/fullbleed"; import Prose from "../components/prose/prose.astro"; import { Title } from "../components/typography/title"; -import Layout from "../layouts/Layout.astro"; +import Layout from "../layouts/HomePageLayout.astro"; import DeadlineCard from "../components/deadline-card.astro"; import { getCollection } from "astro:content"; import Accent from "../components/accent/accent.astro"; diff --git a/src/pages/planning.astro b/src/pages/planning.astro deleted file mode 100644 index b06d8d85d..000000000 --- a/src/pages/planning.astro +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/reviewers.astro b/src/pages/reviewers.astro deleted file mode 100644 index 238c1c1c4..000000000 --- a/src/pages/reviewers.astro +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/rust-summit.astro b/src/pages/rust-summit.astro deleted file mode 100644 index 82993a0a8..000000000 --- a/src/pages/rust-summit.astro +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/sponsor.astro b/src/pages/sponsor.astro deleted file mode 100644 index eae6734bc..000000000 --- a/src/pages/sponsor.astro +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/voting.astro b/src/pages/voting.astro deleted file mode 100644 index 3d8c4be84..000000000 --- a/src/pages/voting.astro +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/src/pages/wasm-summit.astro b/src/pages/wasm-summit.astro deleted file mode 100644 index 47c4a4f71..000000000 --- a/src/pages/wasm-summit.astro +++ /dev/null @@ -1,7 +0,0 @@ - - -