Skip to content

Commit c24fda1

Browse files
committed
chore: seo
1 parent 6fbdbad commit c24fda1

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

pages/_document.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ export default function Document() {
2222
<meta property="og:title" content="SouP" />
2323
<meta
2424
property="og:description"
25+
key="og:description"
2526
content="한눈에 보는 스터디와 프로젝트"
2627
/>
2728
<meta
2829
property="og:image"
2930
content={`${process.env.NEXT_PUBLIC_SITE_URL}/opengraph-image.png`}
3031
/>
3132
<meta property="og:url" content={process.env.NEXT_PUBLIC_SITE_URL} />
33+
<meta property="og:locale" content="ko_KR" />
3234
</Head>
3335
<body>
3436
<div id="portal" />

pages/index.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,18 @@ import { frontFeaturedQueryContext } from "lib/queries";
1515
import { css } from "@emotion/react";
1616
import Link from "next/link";
1717
import { MdOutlineSearch } from "react-icons/md";
18+
import Head from "next/head";
1819

1920
const Home: CustomNextPage = () => {
2021
return (
2122
<>
23+
<Head>
24+
<meta name="title" content="SouP | 한눈에 보는 스터디와 프로젝트" />
25+
<meta
26+
name="description"
27+
content="흩어져 있는 스터디와 프로젝트 모집, 이젠 SouP에서 편하게 모아보세요. 관심 있는 프로젝트를 쉽게 찾고 간편하게 지원할 수 있어요."
28+
/>
29+
</Head>
2230
<BannerView />
2331
<Section bleed css={{ borderTop: "0px" }}>
2432
<Media at="sm">

views/post/PostView/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ const PostView = () => {
2222
<>
2323
<Head>
2424
<title>SouP | {data.postName}</title>
25-
<meta property="og:description" content={data.postName} />
25+
<meta
26+
property="og:description"
27+
key="og:description"
28+
content={data.postName}
29+
/>
2630
</Head>
2731
<Box
2832
responsive

0 commit comments

Comments
 (0)