-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: DEPLOYMENT_URL 컨스턴트 추가 * fix: sitemap.xml에 url 수정 * fix: robots.txt url 수정 * fix: metadata에 metadataBase url 수정 * fix: 네비게이션 스키마의 url 수정 * fix: 환경변수에 NEXT_DEPLOYMENT_URL 추가 및 적용 * fix: NEXT_DEPLOYMENT_URL을 NEXT_PUBLIC_PRODUCTION_URL로 수정 * fix: NEXT_PUBLIC_PRODUCTION_URL을 NEXT_PRODUCTION_URL로 수정 * fix: NEXT_PUBLIC_PRODUCTION_URL으로 롤백
- Loading branch information
Showing
7 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
const baseUrl = new URL(`${process.env.NEXT_HOST}`); | ||
|
||
export const navigationSchemaItems = [ | ||
{ | ||
'@type': 'SiteNavigationElement', | ||
position: 1, | ||
name: '북카이브', | ||
description: | ||
'같은 직군인 유저들의 책장과 인기 도서를 추천받고 인사이트를 넓혀보세요', | ||
url: `${baseUrl}bookarchive`, | ||
url: `${process.env.NEXT_PUBLIC_PRODUCTION_URL}/bookarchive`, | ||
}, | ||
{ | ||
'@type': 'SiteNavigationElement', | ||
position: 2, | ||
name: '도서검색', | ||
description: | ||
'평소에 궁금했거나 함께 이야기 나누고 싶은 도서를 검색해보세요', | ||
url: `${baseUrl}book/search`, | ||
url: `${process.env.NEXT_PUBLIC_PRODUCTION_URL}/book/search`, | ||
}, | ||
{ | ||
'@type': 'SiteNavigationElement', | ||
position: 3, | ||
name: '독서모임', | ||
description: | ||
'읽고 싶은 책을 선정하고 모임에 참여하여 멤버들과 이야기를 나눠보세요', | ||
url: `${baseUrl}group`, | ||
url: `${process.env.NEXT_PUBLIC_PRODUCTION_URL}/group`, | ||
}, | ||
{ | ||
'@type': 'SiteNavigationElement', | ||
position: 4, | ||
name: '내프로필', | ||
description: '내 책장을 관리하고 참여한 독서 모임들을 확인해보세요', | ||
url: `${baseUrl}profile/me`, | ||
url: `${process.env.NEXT_PUBLIC_PRODUCTION_URL}/profile/me`, | ||
}, | ||
]; |