Skip to content

Commit 08ed80e

Browse files
refactor(venue): improve layout and left-align travel info
1 parent 4dec6d7 commit 08ed80e

File tree

1 file changed

+42
-4
lines changed

1 file changed

+42
-4
lines changed

src/sections/venue.tsx

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Container, Grid, Heading, Paragraph } from "theme-ui";
1+
import { Box, Container, Grid, Heading, Paragraph } from "theme-ui";
22

33
import { Image } from "~/components/image";
44

@@ -12,11 +12,49 @@ const venuePhotos = [
1212
];
1313

1414
export const Venue = () => (
15-
<Container id="venue" variant="smallContainer">
16-
<Heading>Venue</Heading>
15+
<Container id="venue" variant="smallContainer" sx={{ textAlign: "left" }}>
16+
<Heading sx={{ textAlign: "left" }}>Venue</Heading>
17+
1718
<Paragraph>
18-
📍 PJAIT building A, Auditorium, Koszykowa 86, Warsaw, Poland
19+
📍 <b>PJAIT building A, Auditorium</b>
20+
<br />
21+
Koszykowa 86, Warsaw, Poland
22+
<br />
23+
<a
24+
href="https://maps.google.com/?q=Koszykowa+86,+Warsaw"
25+
target="_blank"
26+
rel="noopener noreferrer"
27+
>
28+
Open in Google Maps
29+
</a>
30+
</Paragraph>
31+
32+
<Paragraph sx={{ mb: 2 }}>
33+
<b>How to get there (Warsaw public transport)</b>
34+
</Paragraph>
35+
<Box as="ul" sx={{ mt: 0, mb: "secondary", pl: "2.4rem" }}>
36+
<Box as="li" sx={{ mb: 2 }}>
37+
For route planning and live directions, use the Google Maps link above.
38+
</Box>
39+
<Box as="li" sx={{ mb: 2 }}>
40+
About <b>22 minutes on foot</b> from <b>Metro Politechnika</b>.
41+
</Box>
42+
<Box as="li">
43+
About <b>17 minutes on foot</b> from <b>Metro Rondo Daszyńskiego</b>.
44+
</Box>
45+
</Box>
46+
47+
<Paragraph sx={{ mb: 2 }}>
48+
<b>Arriving by train from other cities</b>
1949
</Paragraph>
50+
<Box as="ul" sx={{ mt: 0, mb: "secondary", pl: "2.4rem" }}>
51+
<Box as="li" sx={{ mb: 2 }}>
52+
Best arrival station: <b>Warszawa Centralna</b> (main station).
53+
</Box>
54+
<Box as="li">
55+
Also convenient: <b>Warszawa Śródmieście</b>.
56+
</Box>
57+
</Box>
2058

2159
<Grid columns={1} gap={3} sx={{ mt: "secondary" }}>
2260
{venuePhotos.map((photo, index) => (

0 commit comments

Comments
 (0)