Skip to content

Commit bf29a30

Browse files
committed
Fix imports, unused and file locations.
1 parent 47faa14 commit bf29a30

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

src/components/social/SocialSubscribe.astro renamed to src/components/sections/subscribe.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const socialLinks = [
99
];
1010
---
1111

12+
<div class="full-bleed w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-08 px-4 text-center">
1213
<div class="w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-20 px-4 text-center relative z-10">
1314
<h1 class="text-4xl md:text-6xl font-bold mb-10 leading-tight text-[#17223A]">
1415
Follow us<br />for updates
@@ -59,6 +60,7 @@ const socialLinks = [
5960
Please check your email to confirm. 📬
6061
</p>
6162
</div>
63+
</div>
6264

6365
<script>
6466
const form = document.getElementById("subscribeForm");

src/pages/index.astro

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,29 @@
11
---
2-
import Hero from "../components/hero2/hero.astro";
3-
import Layout from "../layouts/HomePageLayout.astro";
4-
import DeadlineCard from "../components/deadline-card.astro";
52
import { getCollection } from "astro:content";
6-
import Accent from "../components/accent/accent.astro";
7-
import Prague from "../components/hero-section/prague.astro";
8-
import SocialSubscribe from '../components/social/SocialSubscribe.astro';
93
10-
import * as intro from "../data/home/intro.md";
11-
import * as venue from "../data/home/prague.mdx";
4+
import Layout from "@layouts/HomePageLayout.astro";
5+
import Hero from "@components/hero2/hero.astro";
6+
import Keynoters from "@components/keynoters/keynoters.astro";
7+
import Updates from "@sections/updates.astro";
8+
import Prague from "@sections/prague.astro";
9+
import Sponsors from "@components/sponsors/sponsors.astro";
10+
import Subscribe from "@sections/subscribe.astro";
1211
1312
let deadlines = await getCollection("deadlines");
1413
deadlines = deadlines
1514
.sort((a, b) => a.slug.localeCompare(b.slug))
1615
.reverse()
1716
.slice(0, 3);
18-
import Sponsors from "../components/sponsors/sponsors.astro";
19-
import KeynotersComponent from "../components/keynoters/keynoters.astro";
20-
import Updates from "@sections/updates.astro";
21-
import Prague from "@sections/prague.astro";
2217
---
2318

2419
<Layout
2520
title="EuroPython 2025 | July 14th-20th 2025 | Prague, Czech Republic & Remote"
2621
description="EuroPython is the largest Python conference in Europe. We are looking forward to seeing you in Prague, Czech Republic & Remote from July 14th-20th 2025."
2722
>
2823
<Hero />
29-
3024
<Updates />
31-
32-
<KeynotersComponent />
25+
<Keynoters />
3326
<Prague />
34-
35-
<Fullbleed>
36-
<div class="mt-32 w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-08 px-4 text-center">
37-
<SocialSubscribe />
38-
</div>
39-
</Fullbleed>
40-
4127
<Sponsors />
28+
<Subscribe />
4229
</Layout>

0 commit comments

Comments
 (0)