Skip to content

Commit bc79db3

Browse files
committed
Adjust Prague component on the homepage
1 parent 0255c0e commit bc79db3

File tree

11 files changed

+46
-44
lines changed

11 files changed

+46
-44
lines changed

src/assets/prague2.jpg

1.17 MB
Loading
-257 KB
Binary file not shown.
-105 KB
Binary file not shown.

src/components/sections/prague.astro

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,42 @@
22
import Button from "@ui/Button.astro";
33
import { Title } from "@components/typography/title";
44
import { Image } from "astro:assets";
5-
import pragueImage from "@assets/prague.png";
5+
import pragueImage from "@assets/prague2.jpg";
66
import Logo from "@assets/prague.svg";
7+
import Headline from "@ui/Headline.astro";
78
---
89

9-
<div class="mt-12 px-6 pb-32 overflow-visible">
10-
<article class="lg:grid gap-12 grid-cols-2">
11-
<div class="relative hidden lg:block">
12-
<Image
13-
src={pragueImage}
14-
class="w-full h-auto border-4 border-white rounded-lg shadow-lg"
15-
alt="Beautiful view of Prague"
16-
width={1200}
17-
height={900}
18-
/>
19-
</div>
20-
<div class="flex flex-col justify-center">
21-
<Title level={2}>Prague</Title>
22-
<div
23-
class:list={[
24-
"mb-4 prose prose-xl",
25-
"prose-h1:text-text prose-headings:font-title",
26-
"prose-headings:text-text",
27-
]}
28-
>
29-
While we are getting the conference ready for you,
30-
why don't you take a look at the beautiful city of Prague?
31-
</div>
32-
<div class="space-x-4 mb-5">
33-
<Button url="/where"> Where is EuroPython? </Button>
34-
</div>
35-
<div class="space-x-12">
36-
<Button url="/explore"> Explore Prague </Button>
37-
</div>
38-
</div>
39-
</article>
10+
<div class="mt-12">
11+
<Headline id="prague" title="Prague & Venue" />
4012
</div>
4113

14+
<article class="lg:grid gap-12 grid-cols-2 items-center">
15+
<div class="relative hidden lg:block">
16+
<Image
17+
src={pragueImage}
18+
class="w-full h-auto border-4 border-white rounded-lg shadow-lg"
19+
alt="Beautiful view of Prague"
20+
width={1200}
21+
height={900}
22+
/>
23+
</div>
24+
25+
<div class="mx-auto px-4 sm:px-6 lg:px-8 max-w-3xl">
26+
<p class="mt-4 mb-8">
27+
EuroPython 2025 returns to one of Europe’s most picturesque cities!
28+
Join us at the Prague Congress Centre, just steps away from the
29+
historic Vyšehrad Castle and its scenic views of the city.
30+
</p>
31+
32+
<div class="flex w-full justify-evenly items-center">
33+
<Button url="/explore">About Prague</Button>
34+
<Button url="/where">About Venue</Button>
35+
</div>
36+
37+
</div>
38+
</article>
39+
40+
4241
<div class="city full-bleed" id="one">
4342
<Logo />
4443
</div>
@@ -48,16 +47,19 @@ import Logo from "@assets/prague.svg";
4847
position: relative;
4948
top: 20vh;
5049
margin-top: -20vh;
50+
z-index: 10;
5151
}
52+
5253
.city {
5354
position: relative;
54-
top:0;
55+
top: 0;
5556
width: 100vw;
5657
}
58+
5759
.city svg {
5860
width: 100vw;
5961
position: relative;
6062
bottom: -4px;
61-
z-index: -1;
63+
z-index: -1;
6264
}
6365
</style>

src/content/pages/prague.mdx renamed to src/content/pages/explore.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ subtitle: Everything you need to know about traveling to, getting around, and en
44
---
55

66
import { Image } from "astro:assets";
7-
import venueImage from "./images/prague.jpg";
7+
import venueImage from "./images/prague3.jpg";
88

9-
# Prague Exploration Tips
9+
# Prague Tips
1010

1111
<Image src={venueImage} width="1200" alt="" />
1212

src/content/pages/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ subtitle: Frequently Asked Questions about EuroPython
3838

3939
The conference will return to **Prague, Czech Republic**, with the main conference hosted at the [Prague Congress Centre (PCC)](https://www.praguecc.cz/en/homepage).
4040

41-
Need help getting around? Check out [how to navigate Prague](/prague) and our volunteer-curated [Prague exploration tips](/explore).
41+
Need help getting around? Check out [how to navigate Prague](/where) and our volunteer-curated [Prague exploration tips](/explore).
4242

4343
</Accordion>
4444

1.58 MB
Loading

src/content/pages/test.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Barking up the right tree
241241
<img src="/img/eps-logo.png" alt="Logo of the EuroPython Society" width="400"/>
242242
</a>
243243

244-
<a href="/prague" target="_blank">
244+
<a href="/where" target="_blank">
245245
This image is internal, in /src, so import is needed
246246
<Image src={pragueImage} alt="A bird sitting on a nest of eggs." width="400" class="h-auto border-4 border-white rounded-lg shadow-lg"/>
247247
</a>

src/content/pages/tickets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Discover the latest Python trends, learn from 180+ expert speakers, network with
1818

1919

2020
## Where and When?
21-
🏛️ <a href="/venue" class="text-primary hover:text-primary-hover underline">Prague Congress Centre (PCC)</a>, Czech Republic
21+
🏛️ <a href="/where" class="text-primary hover:text-primary-hover underline">Prague Congress Centre (PCC)</a>, Czech Republic
2222

2323
<div class="bg-white text-black p-6 rounded-lg shadow-md w-full">
2424
<p class="font-bold text-xl mb-4">A week of all things Python:</p>
File renamed without changes.

0 commit comments

Comments
 (0)