Skip to content

Commit

Permalink
Merge pull request #510 from SStan-prog/scott-stanfel-patch-7
Browse files Browse the repository at this point in the history
add venue map
  • Loading branch information
martinheidegger authored Nov 20, 2024
2 parents 3f03fd6 + 5c70bba commit c0a41cf
Show file tree
Hide file tree
Showing 6 changed files with 1,271 additions and 0 deletions.
36 changes: 36 additions & 0 deletions 2024/src/components/VenueMap.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import React from "react"
import styled from "styled-components"
import { useTranslation } from "react-i18next"

import venueMap from "../images/venue-map.svg"

type Props = {
width: number
height: number
}

const MapContainer = styled.div`
width: 100%;
height: 100%;
display: flex;
justify-content: center;
margin-top: 30px;
`

const Img = styled.img`
width: 100%;
max-width: 940px;
height: 100%;
`

export const VenueMap = ({ width, height }: Props) => {
const { t } = useTranslation()

return (
<MapContainer>
<Img width={width} height={height} src={venueMap} alt={t("venue.map")} />
</MapContainer>
)
}

1 change: 1 addition & 0 deletions 2024/src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const en = {
comingSoon: "Coming soon",
venue: "Venue",
"venue.name": "KS Building Kudansakaue",
"venue.map": "Venue Map",
"venue.address": "〒102-0073 1-14-6 Kudankita Chiyoda-ku Tokyo",
"venue.accessBytrain": "ACCESS BY TRAIN",
"venue.accessBytrainRoute":
Expand Down
1 change: 1 addition & 0 deletions 2024/src/i18n/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const ja: {
"session.lang.spoken": "音声言語",
"session.lang.slides": "スライド言語",
venue: "会場アクセス",
"venue.map": "会場の地図",
"venue.name": "九段坂上KSビル",
"venue.address": "〒102-0073 東京都千代田区九段北1-14-6",
"venue.accessBytrain": "電車でのアクセス",
Expand Down
Loading

0 comments on commit c0a41cf

Please sign in to comment.