diff --git a/src/components/common/Page/index.tsx b/src/components/common/Page/index.tsx index cade326..45dd01f 100644 --- a/src/components/common/Page/index.tsx +++ b/src/components/common/Page/index.tsx @@ -1,8 +1,14 @@ import React from "react"; import "./style.scss"; +import { Helmet } from "react-helmet"; -const Page = ({ children }: React.HTMLAttributes) => { - return
{children}
; +const Page = ({ children, title }: React.HTMLAttributes & { title?: string }) => { + return ( +
+ + {children} +
+ ); }; export default Page; diff --git a/src/pages/PrivacyPolicy/index.tsx b/src/pages/PrivacyPolicy/index.tsx index 246bdc5..980ede2 100644 --- a/src/pages/PrivacyPolicy/index.tsx +++ b/src/pages/PrivacyPolicy/index.tsx @@ -12,7 +12,7 @@ const PrivacyPolicy = () => { if (language === "KOR") return ( - +

개인 정보 처리 방침

0. 개인 정보 처리 방침이란?

@@ -105,7 +105,7 @@ const PrivacyPolicy = () => { ); else return ( - +

Privacy Protection Policy

0. What is Privacy Protection Policy?

diff --git a/src/pages/TermsOfService/index.tsx b/src/pages/TermsOfService/index.tsx index 49e1188..daf6561 100644 --- a/src/pages/TermsOfService/index.tsx +++ b/src/pages/TermsOfService/index.tsx @@ -12,7 +12,7 @@ const TermsOfService = () => { if (language === "KOR") return ( - +

이용 약관

0. 목적

@@ -157,7 +157,7 @@ const TermsOfService = () => { ); else return ( - +

Terms of Service

0. Purpose

diff --git a/src/pages/Ticket/buy.tsx b/src/pages/Ticket/buy.tsx index 03d2a46..2d24079 100644 --- a/src/pages/Ticket/buy.tsx +++ b/src/pages/Ticket/buy.tsx @@ -1,7 +1,6 @@ import Page from "components/common/Page"; import React, { useState } from "react"; import styled from "styled-components"; -import { Helmet } from "react-helmet"; import { tickets } from "./tickets"; import Dialog from "components/common/Dialog"; import { Link } from "react-router-dom"; @@ -51,8 +50,7 @@ const BuyTicket = ({ onPaymentCompleted }: Props) => { }; return ( - - +

{ }, []); return ( - +

구매 내역

); diff --git a/src/pages/Ticket/paymentResult.tsx b/src/pages/Ticket/paymentResult.tsx index ed541f2..8162b1a 100644 --- a/src/pages/Ticket/paymentResult.tsx +++ b/src/pages/Ticket/paymentResult.tsx @@ -7,7 +7,7 @@ const PaymentResult = () => { TicketAPI.listPayments(); }, []); - return 구매가 완료되었습니다. 감사합니다.; + return 구매가 완료되었습니다. 감사합니다.; }; export default PaymentResult;