Skip to content

Commit

Permalink
3층 표기 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
MU-Software committed Oct 25, 2024
1 parent ee0b8ab commit 15b0775
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/locale/English/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ const EnglishTranslation = {
"결제 일시": "Payment date",
금액: "Price",
변경일: "Updated at",
수원컨벤션센터: "Suwon Convention Center",
"수원컨벤션센터": "Suwon Convention Center",
"수원컨벤션센터 3층": "Suwon Convention Center, 3rd Floor",
"2024.10.26": "October 26, 2024",
"2024.10.27": "October 27, 2024",
"10번째 파이콘 한국에": "Join us",
Expand Down
12 changes: 6 additions & 6 deletions src/pages/About/howToGetThere.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Page from "components/common/Page";
import React from "react";
import styled from "styled-components";
import Page from "components/common/Page"
import React from "react"
import styled from "styled-components"

import useTranslation from "utils/hooks/useTranslation";
import useTranslation from "utils/hooks/useTranslation"

const KAKAO_MAP_URL = "https://map.kakao.com/link/map/1946823368";
const NAVER_MAP_URL = "https://naver.me/Goz5cKSr";
Expand All @@ -27,7 +27,7 @@ export const HowToGetThere: React.FC = () => {
React.useEffect(() => {
if (!(window.kakao && window.kakao.maps && kakaoMapRef.current)) return;

const content = `<a href="${KAKAO_MAP_URL}"><div style="width:250px;text-align:center;">${t("수원컨벤션센터")}</div></a>`;
const content = `<a href="${KAKAO_MAP_URL}"><div style="width:250px;text-align:center;">${t("수원컨벤션센터 3층")}</div></a>`;
const position = new window.kakao.maps.LatLng(37.285818093062026, 127.05950558082746);
const map = new window.kakao.maps.Map(kakaoMapRef.current, { center: position, level: 3 });
new kakao.maps.InfoWindow({ content }).open(map, new kakao.maps.Marker({ map, position }));
Expand All @@ -45,7 +45,7 @@ export const HowToGetThere: React.FC = () => {
<Page title="장소 안내">
<div style={{ width: "100%", maxWidth: "1200px" }}>
<h1>{t("장소 안내")}</h1>
<h2>{t("수원컨벤션센터")}</h2>
<h2>{t("수원컨벤션센터 3층")}</h2>
<div>
<div style={{ ...flexBoxStyle }}>
<MapSelectTabBtn
Expand Down

0 comments on commit 15b0775

Please sign in to comment.