From 9c71d82b4655f9c788ec5956dbce4d85de027b03 Mon Sep 17 00:00:00 2001 From: lydiacho Date: Fri, 16 Aug 2024 02:16:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20&&=20=EC=97=B0=EC=82=B0=EC=9E=90=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 -- src/common/components/Layout/index.tsx | 10 +++++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index a2dc2198..5ff8016a 100644 --- a/index.html +++ b/index.html @@ -17,8 +17,6 @@ - - diff --git a/src/common/components/Layout/index.tsx b/src/common/components/Layout/index.tsx index acda4e33..96bc09d5 100644 --- a/src/common/components/Layout/index.tsx +++ b/src/common/components/Layout/index.tsx @@ -15,13 +15,15 @@ const Head = () => { const TOUCH_ICON = isMakers ? '/makers-touch-icon.png' : '/apple-touch-icon.png'; const ICON = isMakers ? '/makersIcon.svg' : '/icon.svg'; const FAVICON = isMakers ? '/makersFavicon.ico' : '/favicon.ico'; - const SITE_NAME = isMakers === undefined ? 'SOPT 리크루팅' : `SOPT ${isMakers && 'makers '}리크루팅`; - const TITLE = season === undefined ? 'SOPT 모집 지원하기' : `SOPT ${isMakers && 'makers '}${season}기 모집 지원하기`; + const SITE_NAME = isMakers === undefined ? 'SOPT 리크루팅' : `SOPT ${isMakers ? 'makers ' : ''}리크루팅`; + const TITLE = + season === undefined ? 'SOPT 모집 지원하기' : `SOPT ${isMakers ? 'makers ' : ''}${season}기 모집 지원하기`; const IMAGE = isMakers ? '/makersOg.png' : '/imgOg.png'; const DESCRIPTION = isMakers === undefined ? `SOPT의 신입 기수 모집페이지입니다.` - : `SOPT${isMakers && ' makers'}의 신입 기수 모집페이지입니다.`; + : `SOPT${isMakers ? ' makers' : ''}의 신입 기수 모집페이지입니다.`; + const URL = isMakers ? 'https://recruiting.sopt.org' : 'https://recruit.sopt.org'; return ( @@ -34,6 +36,7 @@ const Head = () => { + @@ -45,6 +48,7 @@ const Head = () => { + {TITLE}