|
2 | 2 | import Button from "@ui/Button.astro"; |
3 | 3 | import { Title } from "@components/typography/title"; |
4 | 4 | import { Image } from "astro:assets"; |
5 | | -import pragueImage from "@assets/prague.png"; |
| 5 | +import pragueImage from "@assets/prague2.jpg"; |
6 | 6 | import Logo from "@assets/prague.svg"; |
| 7 | +import Headline from "@ui/Headline.astro"; |
7 | 8 | --- |
8 | 9 |
|
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="keynoters" title="Prague & Venue" /> |
40 | 12 | </div> |
41 | 13 |
|
| 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> |
| 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 | + |
42 | 41 | <div class="city full-bleed" id="one"> |
43 | 42 | <Logo /> |
44 | 43 | </div> |
45 | 44 |
|
46 | 45 | <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 | + |
63 | 66 | </style> |
0 commit comments