-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 파비콘 적용 * refactor: 불필요한 cdn 제거 * feat: title, description, keyword SEO 적용 * chore: react-helmet-async 설치 * rename: favicon 디렉토리 위치 변경 * feat: og image, locale, url, type, site_name 적용 title과 description은 helmet을 활용하여 동적 적용한다. * feat: SEO meta 데이터 동적 삽입 컴포넌트 구현 * refactor: 필수 props 에 기본값 제거 * feat: FeedDetailPage Helmet 적용 * chore: react-helmet-async install yarn.lock 반영 * rename: HelmetMeta -> SEOMeta로 네이밍 변경 * refactor: og title, description 은 React Helmet을 통해 동적 생성 * feat: SEO Meta 태그 각 페이지별로 적용
- Loading branch information
1 parent
2ba78fa
commit 86096d6
Showing
18 changed files
with
573 additions
and
447 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<html lang="ko"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/public/assets/favicon.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>컨셉비 - 당신의 상상이 현실로!</title> | ||
<meta | ||
name="description" | ||
content="아이디어 기반의 안전하고 자유로운 팀원 찾기 플랫폼 (창업, 유튜브, 콘텐츠, 사이드프로젝트, 공모전, 스터디)" | ||
/> | ||
<meta name="keyword" content="팀원, 모집, 리크루팅, 플랫폼, 유튜브, 사이드프로젝트, 취미, 공모전, IT" /> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<link href="https://cdn.jsdelivr.net/gh/sunn-us/SUIT/fonts/variable/woff2/SUIT-Variable.css" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React + TS</title> | ||
</head> | ||
<meta property="og:image" content="/assets/conceptbe_og_image.png" /> | ||
<meta property="og:locale" content="ko_KR" /> | ||
<meta property="og:url" content="http://conceptbe.kr/" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:site_name" content="컨셉비" /> | ||
</head> | ||
|
||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
|
||
</html> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Helmet } from 'react-helmet-async'; | ||
|
||
interface Props { | ||
title: string; | ||
description: string; | ||
} | ||
|
||
const SEOMeta = ({ title, description }: Props) => { | ||
return ( | ||
<Helmet> | ||
<title>{title}</title> | ||
<meta property="og:title" content={title} /> | ||
<meta property="og:description" content={description} /> | ||
</Helmet> | ||
); | ||
}; | ||
|
||
export default SEOMeta; |
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
Oops, something went wrong.