Skip to content

Commit de540af

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

File tree

10 files changed

+60
-57
lines changed

10 files changed

+60
-57
lines changed

Diff for: src/assets/prague2.jpg

1.17 MB
Loading

Diff for: src/components/hero-section/prague2.jpg

-257 KB
Binary file not shown.

Diff for: src/components/hero-section/prague3.jpg

-105 KB
Binary file not shown.

Diff for: src/components/sections/prague.astro

+51-48
Original file line numberDiff line numberDiff line change
@@ -2,62 +2,65 @@
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>
4544

4645
<style>
47-
article {
48-
position: relative;
49-
top: 20vh;
50-
margin-top: -20vh;
51-
}
52-
.city {
53-
position: relative;
54-
top:0;
55-
width: 100vw;
56-
}
57-
.city svg {
58-
width: 100vw;
59-
position: relative;
60-
bottom: -4px;
61-
z-index: -1;
62-
}
46+
article {
47+
position: relative;
48+
top: 20vh;
49+
margin-top: -20vh;
50+
z-index: 10;
51+
}
52+
53+
.city {
54+
position: relative;
55+
top: 0;
56+
width: 100vw;
57+
}
58+
59+
.city svg {
60+
width: 100vw;
61+
position: relative;
62+
bottom: -4px;
63+
z-index: -1;
64+
}
65+
6366
</style>

Diff for: src/content/pages/prague.mdx renamed to src/content/pages/explore.mdx

+2-2
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

Diff for: src/content/pages/faq.mdx

+1-1
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

Diff for: src/content/pages/images/prague3.jpg

1.58 MB
Loading

Diff for: src/content/pages/test.mdx

+1-1
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>
File renamed without changes.

Diff for: src/data/links.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@
3838
]
3939
},
4040
{
41-
"name": "Venue & Prague",
41+
"name": "Prague & Venue",
4242
"items": [
4343
{
44-
"name": "Venue",
45-
"path": "/venue"
44+
"name": "Prague",
45+
"path": "/explore"
4646
},
4747
{
48-
"name": "Prague",
49-
"path": "/prague"
48+
"name": "Venue",
49+
"path": "/where"
5050
}
5151
]
5252
},

0 commit comments

Comments
 (0)